Mechanized Assault & eXploration Reloaded



#1 Sep 12, 2008 9:19 am
shaktazuki Offline
Mitglied
Registered since: Apr 30, 2008
Posts: 123


Subject: Code alterations from unix to win32
What are the necessary changes one needs to make to port a unix application / source code to Win32? Is there an easy way to deal with path delimiters ( automatically changing all #include "header_dir / header" to #include "header_dir \ header" and the like)?
↑  ↓

#2 Sep 12, 2008 11:32 am
Eiko Eiko Offline
Moderator, Developer
Registered since: Aug 03, 2007
Posts: 604


Subject: Re: Code alterations from unix to win32
The path delimiter in the #include directive should always be a '/' . Although on win32.

In general, to port an application you have to make sure, that the code only uses functions and librarys that are available on the target platform.
↑  ↓

#3 Sep 14, 2008 12:30 am
shaktazuki Offline
Mitglied
Registered since: Apr 30, 2008
Posts: 123


Subject: Re: Code alterations from unix to win32
I'm just having a severe problem; I'm using VC++ 2008 express, and even though I've included all of the project directories in the project, the compiler isn't finding the files listed in the #includes, even though they are right where the #includes say they are. I can't figure out why that's happening, much less finding out what other functions or header files the darn thing needs...
↑  ↓

Pages (1): 1


All times are GMT +02:00. Current time: 8:38 am.