I am primarily a Linux wxWidgets / C++ developer but am currently porting my application to macOS. I have compiled wxWidgets 3.1.2 on macOS High Sierra and have successfully compiled many wxWidgets samples, all of which seem to work very well.
I then moved on to setting up Eclipse 4.11 on macOS and am able to compile simple wxWidgets applications. However, I cannot get code lookup to work. I have done exactly what I usually do when setting up Eclipse on Linux. That is;
- Added wx-config --cflags to GCC C++ Miscellaneous
- Added wx-config --libs to GCC C++ Linker Miscellaneous
- Added /usr/local/wx-mac/include/wx-3.1 to include paths
- Added /usr/local/wx-macos/lib/wx/include/osx_cocoa-unicode-static-3.1 to include paths
- Enabled the indexer in the usual way
- The include paths are correct in C/C++ General / Paths and Symbols
- Multiple rebuilds of the Eclipse Indexer
As detailed above, using the exact same procedure works for Eclipse 4.11 on Linux but not for macOS. Does anybody have any idea why I am having this problem.
Many thanks
Amanda