Compiler error while building a ROS2 code
I have installed ROS2 from binary on Windows.
I have also installed all the dependencies.
I can run the demo nodes.
Now I created an overlay workspace.
When I try to build it using ament build
or ament build --symlink-install
, it starts to compile but it does not find any compiler. The exact error is :
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:3 (project):
No CMAKE_C_COMPILER could be found.
CMake Error at CMakeLists.txt:3 (project):
No CMAKE_CXX_COMPILER could be found.
Do I need to install some other dependencies ? I have installed VS2015 and I am running the commands from a VS command prompt.
Do all builds using CMake have the same error? Here's an example to see if any cmake build works: http://derekmolloy.ie/hello-world-int...
@sloretz : This works...I can generate the
.sln
project by usingcmake .
. Although I have not tried to build it. Shall I try that as well ?msbuild hello.sln
fails