Author Topic: Compiling with Visual Studio 2005  (Read 4811 times)

Coldmoon

  • Guest
Compiling with Visual Studio 2005
« on: 2007-04-02 09:51:35 »
Hi all :),

I have been watching and testing the QGears Project for quite some time now and made a new clean set of Visual Studio Project Files that you might want to try out.
You can get them here.
(Tested and fully working in Visual Studio 2005)

There is a Solution for the whole thing and within a Project for each single part of QGears (Common, FFT, FFVII, Xeno).
The Common part is compiled separately as Static Library and linked into the games, makes for less compile time for each.
I've also included the Win32 Lib and Header files of IConv, SDL, libxml2 and zlib to get started faster without having to worry about those.

Simply extract the whole thing to "trunk\projects\" and it should compile right away.
I would love to help out some more with the Project but so far i rarely had time for anything except compiling the new versions and admiring the progress you've done ;). However if you like i can maintain the Visual Studio part since I'm working with that all the time anyway.

~Coldmoon

G

  • *
  • Posts: 104
  • , kupo.
    • View Profile
Re: Compiling with Visual Studio 2005
« Reply #1 on: 2007-04-02 18:10:03 »
It would be great if you will maintain them.
Your files added (except 3rdParty - these headers and libraries changes too frequently and size isn't suitable for svn)
maybe we need some kind of "README" about where to download them and  how to make things work in VS2005...

Coldmoon

  • Guest
Re: Compiling with Visual Studio 2005
« Reply #2 on: 2007-04-03 14:40:23 »
I think this should pretty much cover the README part:

Code: [Select]
In order to compile QGears you have to download 4 Dependency's and place them within the 3rdParty Folder.

- SDL Win32 Development Librarys
http://www.libsdl.org/download-1.2.php
(z.b.: SDL-devel-1.2.11-VC6.zip)

- libxml2 Win32 Development Librarys
ftp://xmlsoft.org/libxml2/win32/
(z.b.: libxml2-2.6.23.win32.zip)

- iconv Win32 Development Librarys
ftp://xmlsoft.org/libxml2/win32/
(z.b.: iconv-1.9.1.win32.zip)

- zlib Win32 Development Librarys
ftp://xmlsoft.org/libxml2/win32/
(z.b.: zlib-1.2.3.win32.zip)


After extracting those you need to have the following Librarys (together with some include directories)
3rdParty\iconv\lib\iconv.lib
3rdParty\libxml2\lib\libxml2.lib
3rdParty\SDL\lib\SDL.lib
3rdParty\SDL\lib\SDLmain.lib
3rdParty\zlib\lib\zlib.lib


The Last step is to create a Subfolder for the SDL Includes, since the win32 Version is layed out like this: "3rdParty\SDL\Include\*.*" and within the Sources it's always linked as "SDL\SDL_*.h".

For that reason we have to make a new Subfolder within Include and put everything there:
3rdParty\SDL\Include\*.* --> 3rdParty\SDL\Include\SDL\*.*


Now everything should compile without errors.

:)

G

  • *
  • Posts: 104
  • , kupo.
    • View Profile
Re: Compiling with Visual Studio 2005
« Reply #3 on: 2007-04-03 17:22:33 »
Readme added - good work!  :-D

gigaherz

  • *
  • Posts: 105
    • View Profile
    • gigaherz's shitty stuff
Re: Compiling with Visual Studio 2005
« Reply #4 on: 2007-04-04 08:57:42 »
Nice... :) I have been too busy/lazy to maintain them lately. :|