News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

How to compile a program with wxWidgets AUI in CB

Started by kagi3624, October 19, 2021, 11:57:43 AM

Previous topic - Next topic

kagi3624

I can compile my wxWidget program from terminal with
g++ myprog.cpp `wx-config --cxxflags --libs std,aui` -o prog

How and where can I edit code::blocks so I can add std,aui to the linker?

Side note: I can compile a wxWidgets project as long as I don't use AUI with code::blocks

Miguel Gimenez

You can add this to the linker options:
`wx-config --libs std,aui`


Miguel Gimenez


stahta01

Quote from: Miguel Gimenez on October 19, 2021, 02:22:53 PM
Add the --cxxflags part also, I missed it.

Remember this part need to be in the compiler section.
I think under other or extra; been to long since I opened CB.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]