Msvc wine build x64 architecture (#3669)
* COMPILE-linux: clarified the issues description * qt-wine: delete deprecated workaround * COMPILE-linux: restyle * COMPILE-linux: add the instruction for build x64 architecture * readme: add reference to linux compile * Revert "readme: add reference to linux compile" This reverts commit 56dbeb1f448ae11d1f79c5c99cc9dfb1b9b84cb1.
This commit is contained in:
parent
79539ee416
commit
dc3b0a6540
|
|
@ -27,7 +27,3 @@ qt5_host_tool(moc)
|
|||
qt5_host_tool(rcc)
|
||||
qt5_host_tool(uic)
|
||||
|
||||
# FIX: -external:I not found system includes
|
||||
set(CMAKE_INCLUDE_SYSTEM_FLAG_C "-I")
|
||||
set(CMAKE_INCLUDE_SYSTEM_FLAG_CXX "-I")
|
||||
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ cd msvc-wine
|
|||
```
|
||||
|
||||
## Build
|
||||
x86
|
||||
```sh
|
||||
cd x64dbg
|
||||
export MSVC_BIN_DIR=~/opt/msvc/bin/x86
|
||||
|
|
@ -21,8 +22,16 @@ cmake -B build32 -DCMAKE_TOOLCHAIN_FILE=cmake/msvc-wine.cmake -G Ninja
|
|||
cmake --build build32 -j4
|
||||
```
|
||||
|
||||
x64
|
||||
```sh
|
||||
cd x64dbg
|
||||
export MSVC_BIN_DIR=~/opt/msvc/bin/x64
|
||||
export QT_BIN_DIR=~/src/x64dbg/build64/_deps/qt5-src/bin
|
||||
cmake -B build64 -DCMAKE_TOOLCHAIN_FILE=cmake/msvc-wine.cmake -G Ninja
|
||||
cmake --build build64 -j4
|
||||
```
|
||||
|
||||
## Issues
|
||||
```LINK : fatal error LNK1158: cannot run 'rc.exe'```
|
||||
|
||||
Fix: winecfg -> Drives -> Remove non default drives (stay only: C and Z drives).
|
||||
- ```LINK : fatal error LNK1158: cannot run 'rc.exe'```
|
||||
> Fix: winecfg -> Drives -> Remove drives with alternative path to x64dbg src (like: E: -> ~/src)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue