Transfer Code from Ubuntu to Windows
Hi,
I am going to be working in collaboration with someone who uses ubuntu. My question is can i edit the code in OpenCv for Windows, even if he has done it in OpenCV for Ubuntu? Or will I need some other software to be installed or should I shift to ubuntu as well?
yes, the code should be the same. (the building process might differ)
I have done this (but reverse: Windows to Ubuntu), the only differences were the installing of OpenCV, the paths (Win style using
\\
and Linux stype using/
) and the things about CMake (used to build the application). On the other hand, if you work in collaboration, I would suggest you to pass to Ubuntu, because there may be code parts that should change, or for certain the linking and building parts will make some trouble.true, reducing it to a common problem is definitely better than havin 2 seperate ones ;)
on the other hand, if one is on ubuntu, and one on win, you'll quickly learn to code platform-independant, since any problem with that will show up instantly.