Hi all,
I am using wxwidgets and CB for the first time, so please be patient with me. I installed CB, then mingw compiler, than wxwidgets 3.1.2 and build wxwidgets (command from
http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef). Here (
https://wiki.wxwidgets.org/CodeBlocks_Setup_Guide), under Setting up CB it says to add and use some flags. I followed the tutorial and then created Hello world application. When I build and run the project, I get error Unrecognized command line option '--cxxflags'. While if I build and run project with flags turned off, the project builds and runs just fine.
My settings for: Project -> build options -> search directories:
-compiler: $(#wx)\include
-linker: (nothing)
-recource compiler: $(#wx)\include
Is it important to have the flags ON? How do I fix the problem? BTW, why are there (at least) 2 different guides to set up wxwidgets? (I pasted links to both)
If you need any additional details let me know.