You are not logged in.

#1 2010-07-20 16:25:20

dozerismydogsname
Member
Registered: 2010-02-11
Posts: 65

makefiles from .vcproj

I've working with a friend on a c++ project. The only problem i'm having is that i use linux whereas he uses windows. This means that we have to use visual studios for it, and i have no idea how to compile it on linux.

Does anyone know any tools that i could use to convert the project to a makefile, so i could compile it on my computer?

edit: Taken a look at the .vcproj file, it seems to be nothing more then a .xml file, however i have no idea what the next step is.

Last edited by dozerismydogsname (2010-07-20 16:28:38)

Offline

#2 2010-07-20 16:32:41

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: makefiles from .vcproj

Maybe you can run it in wine?

Edit: Or maybe not http://appdb.winehq.org/objectManager.p … on&iId=892

Last edited by karol (2010-07-20 16:35:39)

Offline

#3 2010-07-20 20:51:16

MadCat_X
Member
Registered: 2009-10-08
Posts: 189

Re: makefiles from .vcproj

Unless you're working on something that relies on Windows API, I see no reason why your windows friend couldn't use some Windows IDE that uses GCC as a compiler. Code::Blocks or NetBeans are both pretty convenient multiplatform IDE's. I don't think there is an easy way how to convert .vcproj to a Makefile as usage of MSVS pretty much implies usage of Win API which you won't get to compile under linux anyway.

Offline

#4 2010-07-20 21:58:37

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: makefiles from .vcproj

The simplest thing to do would be to use Code::Blocks both under Windows and Linux. Your explanation "I use Linux and he uses Windows so we have to use Visual Studio" makes no sense at all... On the contrary, that's a good reason NOT to use Visual Studio. However, it shouldn't be very hard to duplicate the project on your side, adding/removing files when needed. Creating a new project in Code::Blocks is quite easy; you just give it all your source files, select a few options (libraries...) and that's it.

Last edited by stqn (2010-07-20 22:01:14)

Offline

#5 2010-07-20 23:34:19

user_none
Member
Registered: 2010-03-25
Posts: 10

Re: makefiles from .vcproj

Monodevelop supports .vcproj projects.

Offline

Board footer

Powered by FluxBB