Hi All,
Been doing alot of googling and searching and every time I get a step closer but I'm stuck at the final end probably overlooking something utterly dumb.
Yes I'm new to code::blocks, forgive me:)
Anyway I've downloaded wxWidgets 3.0.0 and compiled from source. I'm going down the route of creating a static library for wxWidgets and compiling against that and ignoring xcode for as much as I can. In a nutshell, created a build folder, using configure to set up my build, then make, and finally make install. Also compiled the samples and they all work so I'm pretty sure wxWidgets is up and running.
Booted up code::blocks, used the wizard to create an empty wxWidgets project, pretty much default settings for 3.0.0. Tried to compile and hit the first road block. Couldn't find several wxWidgets include files...
Even though I used make install I think I'm missing something there, the files got nicely installed into /usr/local but alas. I left that alone and instead concentrated on my source tree.
Opened up build options and setup search directories manually.
Compiler search directories are set up as:
../wxWidgets/include
../wxWidgets/build-cocoa/lib/wx/include/osx_cocoa-unicode-static-3.0
Linker search directories are set up as:
../wxWidgets/build-cocoa/lib
Tried compiling again, got a little further, now it started to complaining about missing targets and such with the message wx-setup should be run
Again, opening up build options, noticed the inclusion of wx-setup in the compilers "other options" and "other linker options" under the linker settings
All I did here is complete the path, again I think this is the same issue as above that wxWidgets didn't get installed in the right location for code::blocks to find it.
Compiling now compiles all the sources correctly and attempts to link everything correctly however I'm left with two linker issues:
ld: warning: option -s is obsolete and being ignored
ld: internal error: atom not found in symbolIndex(__ZN8wxString7ImplStrEPKcRK8wxMBConv) for architecture x86_64
I have no clue here
Cheers,
Bastiaan Olij