Fresh CodeLite Install on Windows, Errors on Build
Posted: Mon Jan 22, 2024 2:04 am
Hi,
I have an issue where I'd like to know how to fix my compiler to build on my windows machine:
Code: Select all
"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/Build/vcvarsall.bat" x64 > nul && nmake.exe /nologo /e /f Makefile
"----------Building project:[ Default - Debug ]----------"
[color=#000000] link.exe /nologo /OUT:C:\Work\C++\Udemy\UdemyCpp\Default @"Default.txt" /LIBPATH:"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\lib\x64" /LIBPATH:"C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x64" /LIBPATH:"C:\Program Files (x86)\Windows Kits\10\lib\10.0.22621.0\ucrt\x64" /LIBPATH:"C:\Program Files (x86)\Windows Kits\10\\lib\10.0.22621.0\\um\x64" /LIBPATH:. -static[/color]
[color=#FF0080]LINK : warning LNK4044: unrecognized option '/static'; ignored
LINK : fatal error LNK1104: cannot open file 'C:\Work\C++\Udemy\UdemyCpp\Default'[/color]
[color=#FF4040]NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\bin\HostX64\x64\link.exe"' : return code '0x450'[/color]
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
==== build ended with errors (3 errors, 0 warnings) ===
Please help me with configuring CodeLite to compile correctly on my machine!
Thanks!