[IGSTK-Users] IGSTK 4.2 + MicronTracker

Vincent Gratsac vincent.gratsac at irisa.fr
Thu Jul 9 09:15:10 EDT 2009


Hi all,

I encountered some small problems when trying to compile IGSTK 4.2 with 
Micron Tracker support :

- I am using GCC 4.3 compiler, and I get this compilation error :
> Igstk/4.2/Utilities/MicronTracker/src/Cameras.cpp: In destructor 
> ‘Cameras::~Cameras()’:
> Igstk/4.2/Utilities/MicronTracker/src/Cameras.cpp:77: error: ‘free’ 
> was not declared in this scope
> Igstk/4.2/Utilities/MicronTracker/src/Cameras.cpp:81: error: ‘free’ 
> was not declared in this scope
> Igstk/4.2/Utilities/MicronTracker/src/Cameras.cpp:83: error: ‘free’ 
> was not declared in this scope
> Igstk/4.2/Utilities/MicronTracker/src/Cameras.cpp: In member function 
> ‘int Cameras::getMTHome(char*, int)’:
> Igstk/4.2/Utilities/MicronTracker/src/Cameras.cpp:261: error: ‘getenv’ 
> was not declared in this scope
> Igstk/4.2/Utilities/MicronTracker/src/Cameras.cpp:265: error: 
> ‘strncpy’ was not declared in this scope
The following includes should be added to the MCamera.h file to correct 
the problem :
> #include <stdlib.h>
> #include <string.h>

- The MTC library version that I use (3.0) do not provide a 
libdc1394_control library file, but libdc1394.
I have to modify the IGSTK CMakeLists.txt file in order to correct the 
linking error, but I don't how it could work for both versions... Maybe 
by getting the MTC library version ?

Best regards,

Vincent




More information about the IGSTK-Users mailing list