eLynx SDK
v3.0.1 C++ image processing API reference |
Main steps to build the projects:
If you have problems building project feel free to contact us.
Send us informations about your os and error messages you are dealing with.
We CAN NOT use VC6, VC7 or VC7.1 due to compiler limitations with templates.
Before trying to build, make sure to have at least Visual Studio 2005 (VC8 or VC9 compiler).
You can use the free Visual Express Edition.
Download wxWidgets for windows vith version 2.8.10: wxMSW-2.8.10.zip.
If the link fails (because the world is changing) go to the web site http://www.wxwidgets.org/ and search manually for it.
Build the wxWidgets library:
Set an environment variable WXWIN to the wxWidget location:
This is used in eLynx lab project.
Note that for that if you locate accumulators folder in E:\dev\boost\accumulators you must declare BOOST=E:\dev and not BOOST=E:\dev\boost.
There are several applications (targets) you can build:
Go to the building place depending on your compiler version:
Select one of these projects:
For each you just need to go main menu, Build->Build Solution.
Note that commands are based on Ubuntu 6.10, a Debian distribution.
Please adapt them to your distribution.
Before trying to build make sure to have a good compiler version:
To install all tools and dependencies, run:
$ sudo apt-get install build-essential $ sudo apt-get install gcc $ sudo apt-get install xlibs-static-dev $ sudo apt-get install scons $ sudo apt-get install libwxgtk2.8-dev $ sudo apt-get install libboost $ sudo apt-get install pkgconfig
$ cvs -z3 -d:pserver:anonymous@elynx.cvs.sourceforge.net:/cvsroot/elynx co -P eLynxAfter the command has been run, a new path eLynx has been created. It contains all sources and some datas for testing.
We do not use usual autoconf/automake tools.
eLynx projects are built using SCons.
Targets are built by invoking scons command in the main eLynx directory.
It's the directory which contains SConscript file.
Here are some examples of using scons command:
$ scons
$ scons release=1
$ scons release=1 sdkV2
$ scons -c
Be prepared, that compilation to build sdk takes a 'long' time (about 10 min).
All binaries are created in subdirectories:
For now, to load image plugins correctly, you have to execute binaries from that directory. There is no installation to some system location, like /usr/local at the moment.
In case you have any problem, post them preferably through the eLynx_sdk forum. Don't forget to mention your linux distribution, gcc version and wxWidgets version (should be 2.8.9).
There are several applications (targets) you can build:
$ scons sdkV2For running executable:
$ cd bin/sconsd $ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./ $ ./sdkV2_debug
$ scons release=1 eLynxFor running executable:
$ cd bin/scons $ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./ $ ./eLynx_release