my application crashes after ORO_main returned with "return 0".
But only when I link against the deployer by using "orocos_use_package(ocl-deployment)". The strange thing is that I don't create any instance of the deployer, at least no on my own.
I have copiled ororcos with corba (tao) support, but don't use corba for this app, again at least not on my own.
The linker call for me is:
/usr/bin/c++ CMakeFiles/MyPack_Test.dir/MyPack_Test.cpp.o CMakeFiles/MyPack_Test.dir/__/src/MyPack-Implementation.cpp.o CMakeFiles/MyPack_Test.dir/__/src/MyPack-component.cpp.o -o MyPack_Test -rdynamic /opt/orocos/install/lib/orocos/gnulinux/plugins/librtt-scripting-gnulinux.so /opt/orocos/install/lib/liborocos-ocl-deployment-gnulinux.so /opt/orocos/install/lib/liborocos-ocl-deployment-corba-gnulinux.so /opt/orocos/install/lib/liborocos-rtt-gnulinux.so -lpthread -lrt /opt/orocos/install/lib/liborocos-rtt-gnulinux.so.2.4.0 -lQtGui -lQtCore -lboost_filesystem-mt -lboost_system-mt -lboost_serialization-mt -lxerces-c -lpthread -lrt -ldl -Wl,-rpath, /opt/orocos/install/lib/orocos/gnulinux/plugins:/opt/orocos/install/libI have created package template for my Application, based on orocreate-pkg, thats attached. (needs QT installed) To reproduce the fault, just unpack in any directory and call in "Template" the script "MachineControl-create-pkg MyPack". Than go into the new directory "MyPack" and call "make test"
The test will fail.
To make the test work again edit the file "MyPack/test/CMakeLists.txt" and comment out the line "orocos_use_package(ocl-deployment)". Than call "make clean" and "make test" and it should run successful . .. .
This crash is quite annoying as my test will be marked as failed even if all cases where executed right..
Any ideas what could causing it??