| View previous topic :: View next topic |
| Author |
Message |
ARNAUD Distributor
Joined: 23 Jan 2009 Posts: 235 Location: FRANCE
|
Posted: Thu Dec 08, 2011 9:29 am Post subject: Compilation error |
|
|
Dear Support
A customer encounters diffuclties to recompile Snap example for X5-210M
They are using QtCreator to recompile the project.Snap compiling fails because some Innovative librairies are not found.
You can find below errors:
| Quote: | Configuration inchangée, étape QMake sautée.
Débute : "/usr/bin/make" -w
make: entrant dans le répertoire « /usr/Innovative/X5-210M-1.1/Examples/Snap/Console »
g++ -m64 -Wl,-O1 -Wl,-rpath,/opt/QtSDK/Desktop/Qt/474/gcc/lib -o Release/Snap Release/main.o Release/ApplicationIo.o Release/ModuleIo.o Release/ConsoleInterface.o -L/opt/QtSDK/Desktop/Qt/474/gcc/lib -L/usr/local/MalibuCommon/Lib/Gcc -L/usr/local/MalibuCommon/Lib/Gcc/Debug -L/usr/local/MalibuCommon/Lib/Gcc/Release -lOs_Mb -lApplication_Mb -lAnalysis_Mb -lUtility_Mb -lFramework_Con -lFramework_Mb -lHardware_Mb -lPci_Mb -lFicl_Mb -lFiclExtensions_Mb -lwdapi -lippac -lippcc -lippch -lippcore -lippcv -lippdc -lippi -lippj -lippm -lippr -lipps -lippsc -lippsr -lippvc -lippvm -lQtCore -lpthread
Release/main.o: In function `main':
main.cpp:(.text+0x3e): undefined reference to `Innovative::SetCommandLineArguments(int, char**)'
main.cpp:(.text+0x88): undefined reference to `Innovative::Sleep(unsigned int)'
Release/ApplicationIo.o: In function `ApplicationIo::DioConfig(unsigned int)':
ApplicationIo.cpp:(.text+0xbb): undefined reference to `Innovative::X5_210M::Dio()'
Release/ApplicationIo.o: In function `ApplicationIo::DioData()':
ApplicationIo.cpp:(.text+0xdc): undefined reference to `Innovative::X5_210M::Dio()'
Release/ApplicationIo.o: In function `ApplicationIo::DioData(unsigned int)':
ApplicationIo.cpp:(.text+0x10b): undefined reference to `Innovative::X5_210M::Dio()'
Release/ApplicationIo.o: In function `ApplicationIo::HandleTimer(OpenWire::NotifyEvent&)':
ApplicationIo.cpp:(.text+0x192): undefined reference to `Innovative::X5_210M::Input()'
Release/ApplicationIo.o: In function `ApplicationIo::Temperature()':
ApplicationIo.cpp:(.text+0x1ec): undefined reference to `Innovative::X5_210M::Thermal()'
Release/ApplicationIo.o: In function `ApplicationIo::Close()':
ApplicationIo.cpp:(.text+0x240): undefined reference to `Innovative::PacketStream::Disconnect()'
ApplicationIo.cpp:(.text+0x253): undefined reference to `Innovative::X5_210M::Close()'
Release/ApplicationIo.o: In function `ApplicationIo::BoardCount()':
ApplicationIo.cpp:(.text+0x2bc): undefined reference to `Innovative::X5_210M::BoardCount()'
Release/ApplicationIo.o: In function `ApplicationIo::HandlePipProcessing(Innovative::PacketImageParserImageAvailable&)':
ApplicationIo.cpp:(.text+0x396): undefined reference to `Innovative::Buffer::Buffer()'
ApplicationIo.cpp:(.text+0x3a2): undefined reference to `Innovative::PacketImage::CopyDataTo(Innovative::Buffer&) const' | They are working with Scientific Linux 6.1 (kernel 2.6.32-131 ...)
What do you think about this issue?
Note: the customer has intalled X5-210M without any problems. Without recompiling, Snap works fine _________________ Best Regards,
Arnaud |
|
| Back to top |
|
 |
ollie Site Admin
Joined: 20 Feb 2009 Posts: 138
|
Posted: Fri Dec 09, 2011 12:04 pm Post subject: |
|
|
X5-210M-1.1 Looks to be a slightly older beta version of our software. Please download the latest software from our website here:
http://www.innovative-dsp.com/support/installfromwebLinux.htm
I have just tested the latest versions of our software which contain all the latest fixes and updates and the X5-210M compiles correctly. If you obtain the latest Malibu libraries as well as example code, that should resolve the issue. |
|
| Back to top |
|
 |
ARNAUD Distributor
Joined: 23 Jan 2009 Posts: 235 Location: FRANCE
|
Posted: Wed Dec 14, 2011 1:05 am Post subject: |
|
|
Dear Ollie,
The customer is Linux 64-Bit.
He has downloaded and installed the last Beta version .
The last package for X5-210M (64-Bit) is 1.1
If he tries to recompile, he has following errors:
| Quote: | Configuration inchangée, étape QMake sautée.
Débute : "/usr/bin/make" -w
make: entrant dans le répertoire « /usr/Innovative/X5-210M-1.1/Examples/Snap/Console »
g++ -m64 -Wl,-O1 -Wl,-rpath,/opt/QtSDK/Desktop/Qt/474/gcc/lib -o Release/Snap Release/main.o Release/ApplicationIo.o Release/ModuleIo.o Release/ConsoleInterface.o -L/opt/QtSDK/Desktop/Qt/474/gcc/lib -L/usr/local/MalibuCommon/Lib/Gcc -L/usr/local/MalibuCommon/Lib/Gcc/Debug -L/usr/local/MalibuCommon/Lib/Gcc/Release -lOs_Mb -lApplication_Mb -lAnalysis_Mb -lUtility_Mb -lFramework_Con -lFramework_Mb -lHardware_Mb -lPci_Mb -lFicl_Mb -lFiclExtensions_Mb -lwdapi -lippac -lippcc -lippch -lippcore -lippcv -lippdc -lippi -lippj -lippm -lippr -lipps -lippsc -lippsr -lippvc -lippvm -lQtCore -lpthread
Release/main.o: In function `main':
main.cpp:(.text+0x3e): undefined reference to `Innovative::SetCommandLineArguments(int, char**)'
main.cpp:(.text+0x88): undefined reference to `Innovative::Sleep(unsigned int)'
Release/ApplicationIo.o: In function `ApplicationIo::DioConfig(unsigned int)':
ApplicationIo.cpp:(.text+0xbb): undefined reference to `Innovative::X5_210M::Dio()'
Release/ApplicationIo.o: In function `ApplicationIo::DioData()':
ApplicationIo.cpp:(.text+0xdc): undefined reference to `Innovative::X5_210M::Dio()'
Release/ApplicationIo.o: In function `ApplicationIo::DioData(unsigned int)':
ApplicationIo.cpp:(.text+0x10b): undefined reference to `Innovative::X5_210M::Dio()'
Release/ApplicationIo.o: In function `ApplicationIo::HandleTimer(OpenWire::NotifyEvent&)':
ApplicationIo.cpp:(.text+0x192): undefined reference to `Innovative::X5_210M::Input()'
Release/ApplicationIo.o: In function `ApplicationIo::Temperature()':
ApplicationIo.cpp:(.text+0x1ec): undefined reference to `Innovative::X5_210M::Thermal()'
Release/ApplicationIo.o: In function `ApplicationIo::Close()':
ApplicationIo.cpp:(.text+0x240): undefined reference to `Innovative::PacketStream::Disconnect()'
ApplicationIo.cpp:(.text+0x253): undefined reference to `Innovative::X5_210M::Close()'
Release/ApplicationIo.o: In function `ApplicationIo::BoardCount()':
ApplicationIo.cpp:(.text+0x2bc): undefined reference to `Innovative::X5_210M::BoardCount()'
Release/ApplicationIo.o: In function `ApplicationIo::HandlePipProcessing(Innovative::PacketImageParserImageAvailable&)':
ApplicationIo.cpp:(.text+0x396): undefined reference to `Innovative::Buffer::Buffer()'
ApplicationIo.cpp:(.text+0x3a2): undefined reference to `Innovative::PacketImage::CopyDataTo(Innovative::Buffer&) const' |
Thanks for your help _________________ Best Regards,
Arnaud |
|
| Back to top |
|
 |
ollie Site Admin
Joined: 20 Feb 2009 Posts: 138
|
Posted: Thu Dec 15, 2011 12:59 pm Post subject: |
|
|
| I have just tested the 64 bit linux on a virgin machine and ran into no problems running or compiling. Is it possible to get a run down of the steps used to install the software and the driver on that machine. I suspect that there is a step missing. Did the customer use the LinuxNotes.pdf? |
|
| Back to top |
|
 |
|