I had tried to use the sample for datalayer in the sdk. I was able to connect to virtual core and do some stuff. After that i want to use it in my own application.
But it didn't work: I get the Assertion, shown in the picture below. I try it on the same virtual machine, connected to the same virtual core with the same connection string.
When i try in the meantime to connect with the adapted datalayer example it works. But not with my aplication.
Has Anybody an idea or Solution?
Solved! Go to Solution.
I had stripped down my program to few files.
Steps to reproduction:
1.) Copy file in your ubuntu and extract it and go to folder
2.) Adjust location of sdk in ./CMake/CntrlX/CMakeLists.txt (line 11: "set (BASE_DIR_SDK ~/com.boschrexroth.sdk.control-1.4.2/public)")
3.) cd CMake
4.) mkdir build
5.) cd build
6.) cmake ..
8.) cd CntrlX
9.) export LD_LIBRARY_PATH=/home/dev/com.boschrexroth.sdk.control-1.4.2/public/bin/zmq/linux-gcc-x64/release:/home/dev/com.boschrexroth.sdk.control-1.4.2/public/bin/comm.datalayer/linux-gcc-x64/release (!!! when neccessary adjust path)
11.) you got the error
* find out which device file has to be used
ERROR: no file /sys/class/uio/uio0/name found
Connection string 'tcp://boschrexroth:firstname.lastname@example.org:2069'
Assertion failed: rc == 0 (/var/jenkins/workspace/oss.zmq/src/socket_poller.cpp:311)
Abgebrochen (Speicherabzug geschrieben)