------------------------------------------------------------------------------------ WINDOWS SOURCES INSTALLATION FOR IOT (WITH VISUAL STUDIO 2010 INTEGRATION) - ENGLISH ------------------------------------------------------------------------------------ DEPENDENCIES - CMake (version 2.6 minimum required) - Python (version 2.7 required) - pywin32 (for python 2.7, build 216 usually used) - PyQT (for python 2.7, version 4.9-1 usually used) - pyinstaller (version 1.5.1 usually used) -> unzip the archive and rename it into "pyinstaller" -> run "Configure.py" - Qt : http://qt.nokia.com/downloads/sdk-windows-cpp-offline -> choose the apropriate version for you compiler (visual studio or mingw) - doxygen : http://ftp.stack.nl/pub/users/dimitri/doxygen-1.7.5.1-setup.exe - VRPN library (version 07.30 usually used) - opencv (2.4.3 used) You can use mingw if you don't want tu use Visual Studio. -> choose "use pre-packaged repository catalogues" and "add C++ compiler" during the isntallationi ENVIRONMENT VARIABLES Now set the following PATH environment variables : - {qt PATH}\msvc2008\bin; - {python PATH}; - {python PATH}\Lib\site-packages\PyQt4; - {cmake PATH}\bin; - {doxygen PATH}\bin; If mingw is used : - {mingw PATH}\bin; INSTALLATION - create an empty folder where you want to compile the sources - lauch cmake (cmake-gui.exe) - select the ceg (trunk/ceg) directory in "Where is the source code" - select the compilation folder in "Where to build the binaries" - clic on configure and select "Visual Studio 10" in "Specify the generator for this project" if you are using Visual Studio to build a VS solution - clic on "Finish" - when the message "Configuring done" appears, clic on "Generate" - when the message "Generate done" appears, go inside the compilation folder and open the VS solution - copy the VRPN library directory into the CEG generation directory (which contains the headers files) - copy the VRPN library into a lib directory inside the CEG generation directory - copy the opencv lib fils into this lib directory - copy the opencv dlls inside the build folder of Visual Studio - compile the all solution inside Visual Studio BUILDER UTILISATION - go in the IOT sources repository and launch "static.bat" - launch "builder.py" NEEDED LIBRARIES FOR STANDALONE UTILISATION - QtCored4.dll - QtGuid4.dll - QtNetworkd4.dll - QtXmld4.dll - QtXmlPatternsd4.dll - vrpn.lib -------------------------------------------------------------------------------------------------- INSTALLATION DES SOURCES POUR IOT SOUS WINDOWS (AVEC INTEGRATION DE VISUAL STUDIO 2010) - FRANCAIS -------------------------------------------------------------------------------------------------- DEPENDENCES - CMake (version 2.6 minimum requise) - Python (version 2.7 requise) - pywin32 (pour python 2.7, la build 216 est habituellement utilisée) - PyQT (pour python 2.7, la version 4.9-1 est habituellement utilisée) - pyinstaller (la version 1.5.1 est habituellement utilisée) -> dézipper l'archive et la renommer en "pyinstaller" -> lancer "Configure.py" - Qt : http://qt.nokia.com/downloads/sdk-windows-cpp-offline -> choisir la version appropriée pour votre compilateur (visual studio ou mingw) - doxygen : http://ftp.stack.nl/pub/users/dimitri/doxygen-1.7.5.1-setup.exe - VRPN library (la version 07.30 est habituellement utilisée) Vous pouvez utiliser mingw si vous ne désirez pas utiliser Visual Studio. -> choisir "use pre-packaged repository catalogues" et "add C++ compiler" durant l'installation VARIABLES D'ENVIRONNEMENT ajouter les chemins suivant à la variable d'environnement PATH : - {qt PATH}\msvc2008\bin; - {python PATH}; - {python PATH}\Lib\site-packages\PyQt4; - {cmake PATH}\bin; - {doxygen PATH}\bin; Si mingw est utilisé : - {qt PATH}\mingw\bin; - {mingw PATH}\bin; INSTALLATION - créer un dossier vide pour la compilation des sources - lancer cmake (cmake-gui.exe) - sélectionner le répertoire du CEG (trunk/ceg) dans "Where is the source code" - sélectionner le répertoire de compilation dans "Where to build the binaries" - cliquer sur "configure" et sélectionner "Visual Studio 10" dans "Specify the generator for this project" si vous utilisez Visual Studio - cliquer sur "Finish" - quand le message "Configuring done" apparait, cliquer sur "Generate" - quand le message "Generate done" apparait, aller dans le dossier de compilation et ouvrir la solution VS - copier le répertoire contenant les fichiers en-tête de la librarie VRPN dans le dossier de compilation du CEG - copier le fichier de librairie VRPN (vrpn.lib) dans un dossier "lib" dans le dossier de compilation du CEG - compiler la solution dans Visual Studio UTILISATION DU BUILDER - aller dans le répertoire des sources d'IOT et lancer "static.bat" - lancer "builder.py" LIBRAIRIES NECESSAIRES POUR UNE ITILISATION SPONTANEE - QtCored4.dll - QtGuid4.dll - QtNetworkd4.dll - QtXmld4.dll - QtXmlPatternsd4.dll - vrpn.lib