This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Convert project to c/c++

Hey at all,

I wrote a project with the ccs. The main function is the use of the qei. But the program should be used on a computer wich only has visual studio 2013 installed.

So I first tried to convert the project in a c/c++ project with the tab in new-> convert project to... But there are some errors showing up :

gcc / g++ not found in path

sh -c "autoreconf -i".

I also tried to import this project to visual studio in a c++ project. Therefore I changed the string.h in cstring header and the stdlib.h in cstdlib header. But there are so much syntax errors so that the biulding is canceld. How to fix this ?

Regards,

christian

  • Christian Schipp said:

    So I first tried to convert the project in a c/c++ project with the tab in new-> convert project to... But there are some errors showing up :

    gcc / g++ not found in path

    sh -c "autoreconf -i".

    I've never tried using the "Convert to C/C++ project" menu item, so I cannot comment on how it is supposed to work.

    The better approach may be to create a new project in Visual Studio and just add/copy the C/C++ source and header files over. However, every development tool has its own nuances (different compiler implementations, linker syntax, runtime libraries supported etc)  so those are additional areas to pay attention to when moving from one development tool or another.