Hello,
I would like to create my own function block, so I installed the required software given in
I use
Robotino View 3.3.1
Visual Studio 2017
Windows 10
What I have done
(1) I used robview3_functionblockmanager.exe givn in Robotino View 3.3.1 to create my own function block:
C:\Users\xxx\Festo\RobotinoView3\units\MyFunctionB locks\testblock.unit
(2) I used cmake-gui and selected source code folder:
C:/Users/xxx/Festo/RobotinoView3/units/MyFunctionBlocks/testblock.unit/plugin
and did the following link:
Then, I got some errors about path in CMakeLists.txt:
CMake Error at CMakeLists.txt:6 (INCLUDE): include could not find load file:
STRING( REPLACE "\" "/" ROBVIEWAPIDIR "$ENV{ROBOTINOVIEW3_API_DIR}" )
INCLUDE( "${ROBVIEWAPIDIR}/cmake/unit_plugin.cmake" )
So I changed “ROBOTINOVIEW3_API_DIR” to ROBOTINOAPI2_64_DIR which is "C:\Program Files\REC GmbH\robotino\api2".
But there is no "cmake/unit_plugin.cmake" in that folder. I found only FindRobotinoAPI2.cmake.
I do not know how I can solve this problem. I found someone that got the same problem:
But I cannot find " Robotino View API" anywhere. It already disappeared.
Kiattisin
I would like to create my own function block, so I installed the required software given in
I use
Robotino View 3.3.1
Visual Studio 2017
Windows 10
What I have done
(1) I used robview3_functionblockmanager.exe givn in Robotino View 3.3.1 to create my own function block:
C:\Users\xxx\Festo\RobotinoView3\units\MyFunctionB locks\testblock.unit
(2) I used cmake-gui and selected source code folder:
C:/Users/xxx/Festo/RobotinoView3/units/MyFunctionBlocks/testblock.unit/plugin
and did the following link:
Then, I got some errors about path in CMakeLists.txt:
CMake Error at CMakeLists.txt:6 (INCLUDE): include could not find load file:
STRING( REPLACE "\" "/" ROBVIEWAPIDIR "$ENV{ROBOTINOVIEW3_API_DIR}" )
INCLUDE( "${ROBVIEWAPIDIR}/cmake/unit_plugin.cmake" )
So I changed “ROBOTINOVIEW3_API_DIR” to ROBOTINOAPI2_64_DIR which is "C:\Program Files\REC GmbH\robotino\api2".
But there is no "cmake/unit_plugin.cmake" in that folder. I found only FindRobotinoAPI2.cmake.
I do not know how I can solve this problem. I found someone that got the same problem:
But I cannot find " Robotino View API" anywhere. It already disappeared.
Kiattisin
Comment