Open World Soccer Forum Index Open World Soccer
Community Forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

compiling with visual studio 2008?

 
Post new topic   Reply to topic    Open World Soccer Forum Index -> Programming
View previous topic :: View next topic  
Author Message
sensible



Joined: 17 Dec 2009
Posts: 1

PostPosted: Thu Dec 17, 2009 2:59 pm    Post subject: compiling with visual studio 2008? Reply with quote

Hi,
I was able to compile with the provided instructions for mingw. I have never used linux before and I am not familiar with makefiles etc...

I want to work it out with visual studio 2008. I know how to setup a project with includes, libraries linked... I can build sdl projects without a problem.

I've setup a project like i do with a new sdl project and added the ows0.1 sources to the project.

With ows0.1 I get meaningless compile errors.

Quote:

1>Compiling...
1>common.cpp
1>c:\users\bar\documents\visual studio 2008\projects\ows1\ows1\include\graphics.h(7) : error C2146: syntax error : missing ';' before identifier 'texture_id'
1>c:\users\bar\documents\visual studio 2008\projects\ows1\ows1\include\graphics.h(7) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\bar\documents\visual studio 2008\projects\ows1\ows1\include\graphics.h(7) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\bar\documents\visual studio 2008\projects\ows1\ows1\include\graphics.h(17) : error C2146: syntax error : missing ';' before identifier 'load_texture'
1>c:\users\bar\documents\visual studio 2008\projects\ows1\ows1\include\graphics.h(17) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\bar\documents\visual studio 2008\projects\ows1\ows1\include\graphics.h(17) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\bar\documents\visual studio 2008\projects\ows1\ows1\include\graphics.h(1Cool : error C2146: syntax error : missing ')' before identifier 'texture'



Is it possible to compile in vs2008? Are there any modifications i have to make in code? Any help will be appreciated.
Thanks for your interest.

Newer releases need also additional libraries like boost i guess. It's gonna be messier. Crying or Very sad Smile

Thanks for your interest.
Back to top
View user's profile Send private message
Massimo32
Site Admin


Joined: 11 Nov 2007
Posts: 177
Location: Bolzano, Italy

PostPosted: Thu Dec 17, 2009 9:11 pm    Post subject: Re: compiling with visual studio 2008? Reply with quote

I have no experience with Visual Studio. But since OWS also needs OpenGL, I suspect that an "sdl" project is not enough.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Open World Soccer Forum Index -> Programming All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Get Open World Soccer at SourceForge.net. Fast, secure and Free Open Source software downloads