Fresh CodeLite Install on Windows, Errors on Build

CodeLite installation/troubleshooting forum
SoSoMaster
CodeLite Curious
Posts: 3
Joined: Mon Jan 22, 2024 2:01 am
Genuine User: Yes
IDE Question: C++
Contact:

Fresh CodeLite Install on Windows, Errors on Build

Post by SoSoMaster »

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!

SoSoMaster
CodeLite Curious
Posts: 3
Joined: Mon Jan 22, 2024 2:01 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Fresh CodeLite Install on Windows, Errors on Build

Post by SoSoMaster »

Hi all,

The problem was that I've had the compiler set to VS Community 11, I've switched to gcc++ and it somewhat run OK.
The code compiles, but there is nothing and there is an exit code: 32766 and a 000:00:000 time elapsed which means that there was no compile time at all. Please Help?
Image

You do not have the required permissions to view the files attached to this post.
SoSoMaster
CodeLite Curious
Posts: 3
Joined: Mon Jan 22, 2024 2:01 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Fresh CodeLite Install on Windows, Errors on Build

Post by SoSoMaster »

Hi all,
By uninstalling and keeping the old settings, then performing a fresh install has fixed the issue on my end.

Cheers!

Post Reply