News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Configuring project compilation (example Dislin library)

Started by tuchin, March 14, 2024, 08:56:46 PM

Previous topic - Next topic

tuchin

After the project settings, the compilation lines look like:g++.exe -Wall -m64 -fexceptions -std=c++20 -g -Wall  -c N:\MyProgramming\Dislin\exa_cpp.cpp -o obj\Debug\exa_cpp.o
g++.exe  -o bin\Debug\Dislin.exe obj\Debug\exa_cpp.o  -m64 -lopengl32  N:\MyProgramming\Dislin\discpp.a

I need to rearrange in a row -lopengl32 and N:\MyProgramming\Dislin\discpp.a:N:\MyProgramming\Dislin\discpp.a -lopengl32
Can you tell me how to do this? The project https://disk.yandex.ru/d/kc0-onWyk-Tr5g

Grit Clef

In that project's Build Options, use the up and down arrows in Linker Settings->Link Libraries to change their sequence.
-Windows 7, 32-bit
-CodeBlocks r13542, gcc 14.2.0, debug version

tuchin