User forums > Using Code::Blocks

Linking Nested Dependent Libraries/Sources [SOLVED]

<< < (2/2)

Guy:
I was thinking along those lines when I created an SDL project through the cb wizard and saw `sdl-config --cflags` under "Compiler settings" and `sdl-config --libs` under "Linker settings".  I think this might be the way to go... it seems promising.  Thanks for that tip!

Guy:
@stahta01: you rock.  I used the cb GTK+ template to get the compiler and linker configuration tools and simply copied and pasted those into the project.  Just for reference, the strings were:

Compiler settings -> Other options -> `pkg-config gtk+-2.0 --cflags`
Linker settings -> Other linker options -> `pkg-config gtk+-2.0 --libs`

Again, thank you stahta01!

Navigation

[0] Message Index

[*] Previous page

Go to full version