User forums > Using Code::Blocks
How to compile a program with wxWidgets AUI in CB
(1/1)
kagi3624:
I can compile my wxWidget program from terminal with
--- Code: ---g++ myprog.cpp `wx-config --cxxflags --libs std,aui` -o prog
--- End code ---
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:
--- Code: ---`wx-config --libs std,aui`
--- End code ---
kagi3624:
thx!
Miguel Gimenez:
Add the
--- Code: -----cxxflags
--- End code ---
part also, I missed it.
stahta01:
--- Quote from: Miguel Gimenez on October 19, 2021, 02:22:53 pm ---Add the
--- Code: -----cxxflags
--- End code ---
part also, I missed it.
--- End quote ---
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.
Navigation
[0] Message Index
Go to full version