I am having a problem getting the decomp building under wine on Linux. I have installed CMake into my prefix, but when I run the build command, cmd complains about the commands not existing:
Code: Select all
Microsoft Windows 10.0.18362
Z:\home\user\dev\isle>call ..\msvc420\bin\VCVARS32.BAT x86
Setting environment for building x86 target
cd build
cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -G "NMake Makefiles"
-- The CXX compiler identification is MSVC 10.20
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: Z:/home/user/dev/MSVC420/bin/CL.EXE
-- Check for working CXX compiler: Z:/home/user/dev/MSVC420/bin/CL.EXE - broken
CMake Error at C:/Program Files/CMake/share/cmake-3.28/Modules/CMakeTestCXXCompiler.cmake:60 (message):
The C++ compiler
"Z:/home/user/dev/MSVC420/bin/CL.EXE"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: 'Z:/home/user/dev/isle/build/CMakeFiles/CMakeScratch/TryCompile-l1z869'
Run Build Command(s): "C:/Program Files/CMake/bin/cmake.exe" -E env VERBOSE=1 nmake -f Makefile /nologo cmTC_2478d\fast
NMAKE -f CMakeFiles\cmTC_2478d.dir\build.make /nologo -L CMakeFiles\cmTC_2478d.dir\build
Can't recognise 'C:\Program Files\CMake\bin\cmake.exe" -E cmake_echo_color "--switch=" --progress-dir=Z:\home\user\dev\isle
\build\CMakeFiles\CMakeScratch\TryCompile-l1z869\CMakeFiles --progress-num=1 "Building CXX object CMakeFiles/cmTC_2478d.dir/testC
XXCompiler.cxx.obj' as an internal or external command, or batch script.
NMAKE : fatal error U1077: '"C:\Program Files\CMake\bin\cmake.exe"' : return code '0x2331'
Stop.
NMAKE : fatal error U1077: 'Z:\home\user\dev\MSVC420\bin\NMAKE.EXE' : return code '0x2'
Stop.
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
-- Configuring incomplete, errors occurred!
Also, weirdly after running the VSCARS32.bat file my prompt disappears
Wine version: 8.18