Transfer Code from Ubuntu to Windows

asked 2014-09-21 21:30:29 -0600

AMd gravatar image

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?

edit retag flag offensive close merge delete

Comments

2

yes, the code should be the same. (the building process might differ)

berak gravatar imageberak ( 2014-09-22 00:22:02 -0600 )edit
1

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.

thdrksdfthmn gravatar imagethdrksdfthmn ( 2014-09-22 06:23:59 -0600 )edit
2

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.

berak gravatar imageberak ( 2014-09-22 06:29:11 -0600 )edit