The final post in this series, allowing you to develop your OpenEye applications using Eclipse.
First off you will need to ensure the CDT plugin is installed, or download Eclipse for C++ developers.
Now we are set to go. Create a new C++ Project (Executable > Hello World). Edit/Add C++ files to the source folder. Next we need to inform the project about OpenEye.
- Open your project properties (Project > Properties).
- Pick C/C++ Build > Settings
- Edit [ All Configurations ] (by default Debug and Release)
- Set include paths (-I) under GCC C++ Compiler > Directories > Include paths
- Add $OE_DIR/toolkits/include
- Set library paths (-L) under GCC C++ Linker > Libraries > Library search path
- Add $OE_DIR/toolkits/lib
- Set specific libraries (-l) under GCC C++ Linker > Libraries > Libraries
- Add oeplatform, oesystem, oechem, m, z, pthread
- You can set further Makefile details from this panel (optimisation etc)
Between C++/Java/Python you should be able to code away happily within Eclipse.