0

Basically I am wondering if I need to go through the trouble of using Microsoft Visual Studio or Eclipse for C++ programming in linux and windows. I've found those to be rather bulky, and would appreciate just using a simple text editor like Atom and then compiling it through terminal. The code would of course require open CV packages.

I don't know exactly what I would use for windows, but I'm mostly focusing on Linux for this question.

Thanks

Miki
  • 40,887
  • 13
  • 123
  • 202
Jacob Whitten
  • 29
  • 1
  • 1
  • 6

1 Answers1

0

Definitely not.

MS Visual Studio and Eclipse are just tools that abstract away the building process. In reality, they run the same commands you can run using a simple terminal. You just need to tell your compiler (gcc, for example) where the libraries are and how to link them.

To further simplfy this process, there are build tools, such as Make or CMake (CMake is used by CLion, for example).

Paul92
  • 8,827
  • 1
  • 23
  • 37
  • Here the command line the IDE generates for one of my projects: `cl /MP /FR"Release\" /GS- /Zc:rvalueCast /GL /analyze- /W4 /Gy /Zc:wchar_t /Zi /Gm- /Ox /Ob2 /Fd"Release\vc141.pdb" /Zc:inline /fp:precise /D "_UNICODE" /D "UNICODE" /errorReport:prompt /GF /WX /Zc:forScope /Gd /Oy /Oi /MD /Fa"Release\" /EHsc /nologo /Fo"Release\" /Ot /Fp"Release\Test BoPs.pch" /diagnostics:classic /std:c++latest` Do you think it is good or bad to abstract that away? :-) – Bo Persson Jan 23 '18 at 23:28
  • That's very, very subjective :D. Honestly, I prefer to write up all that stuff in a make/cmake and run it from the terminal. – Paul92 Jan 23 '18 at 23:35