How to build c++ code in RTC.
Accepted answer
Hi,
please see general examples in https://jazz.net/wiki/bin/view/Main/BuildExamples and the C++ example in https://jazz.net/wiki/bin/view/Main/CppBuild
If this answers your question please mark this answer accepted.
- Arne
Comments
Hi Ulf Arne Bister,
Jyoti,
generally to build a c++ project you need to <make> and then to <compile> the source code. Eclipse as the editor will allow you to tie in make tools such as cmake and compiler such as gcc (which on windows requires e.g. mingw in addition). All this is well outside the scope of RTC which is language agnostic.
You might want to use http://www.codeguru.com/cpp/cpp/getting-started-with-c-for-eclipse.html or similar as a primer.
Hi Ulf Arne Bister,
Jyoti,
you have to make sure that the make executable (as well as compiler) are installed and in the system path where the build engine is running. Does making and compiling work manually on the build machine (e.g. outside of Eclipse or from Eclipse)? Do your PATH environment variables contain the path to the executables? Which make / cc are you using and what OS does your build machine have?
Hi Ulf Arne Bister,