It is currently Wed Sep 08, 2010 8:28 am

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Linux? (OSX, FreeBSD...)
PostPosted: Fri Mar 05, 2010 1:31 pm 
Offline

Joined: Fri Mar 05, 2010 1:23 pm
Posts: 4
Location: Berlin, Germany
Hello,

I was wondering: What do the developers think of making Evidyon run natively on Linux and/or other UNIX-like operating systems? I assume that all use Windows, or else there would be a discussion about other OS already.

Thanks.


Top
 Profile  
 
 Post subject: Re: Linux? (OSX, FreeBSD...)
PostPosted: Sat Mar 13, 2010 8:01 pm 
Offline
Site Admin

Joined: Fri Jan 08, 2010 12:21 pm
Posts: 73
Sounds like a great idea! It actually wouldn't be hugely difficult; Evidyon's graphics run purely through the Fixed-Function shader pipeline that could be ported to OpenGL. Additionally, the networking library ENet wraps everything nicely, and rewriting its functions to drop Windows sockets shouldn't be hard. In fact, someone might have already done it.


Top
 Profile Send private message  
 
 Post subject: Re: Linux? (OSX, FreeBSD...)
PostPosted: Mon Mar 29, 2010 5:05 pm 
Offline

Joined: Fri Mar 05, 2010 1:23 pm
Posts: 4
Location: Berlin, Germany
That's great to hear! Unfortunately I cannot do any programming to make this port happen, so I mentioned the need for a porter in a blog post.

Regarding enet: I only know that the cross-platform http://sauerbraten.org/ uses enet.


Top
 Profile  
 
 Post subject: Re: Linux? (OSX, FreeBSD...)
PostPosted: Sat Apr 03, 2010 10:46 am 
Offline
Site Admin

Joined: Fri Jan 08, 2010 12:21 pm
Posts: 73
I really hope someone comes through and can do a port, I'd love to see Evidyon run on Linux. Where abouts did you make this post?


Top
 Profile Send private message  
 
 Post subject: Re: Linux? (OSX, FreeBSD...)
PostPosted: Mon Apr 12, 2010 7:05 am 
Offline

Joined: Fri Mar 05, 2010 1:23 pm
Posts: 4
Location: Berlin, Germany
Posted here.


Top
 Profile  
 
 Post subject: Re: Linux? (OSX, FreeBSD...)
PostPosted: Wed Apr 14, 2010 9:41 pm 
Offline

Joined: Wed Apr 14, 2010 12:59 am
Posts: 3
Trying to compile the server on FreeBSD 8 with gcc 4.2.1 these are the problems I have met so far.

Source/common/kg/array.h|53|error: there are no arguments to '_CRT_WIDE' that depend on a template parameter, so a declaration of '_CRT_WIDE' must be available|

Source/shared/client-server/evidyonpacketserializer.h|50|error: pasting "READPACKET" and "(" does not give a valid preprocessing token|
Source/shared/client-server/evidyonpacketserializer.h|50|error: pasting "READPACKET" and "(" does not give a valid preprocessing token|
Source/shared/client-server/evidyonpacketserializer.h|50|error: pasting "READPACKET" and "(" does not give a valid preprocessing token|
Source/shared/client-server/evidyonpacketserializer.h|50|error: pasting "READPACKET" and "(" does not give a valid preprocessing token|
Source/shared/client-server/evidyonpacketserializer.h|50|error: pasting "READPACKET" and "(" does not give a valid preprocessing token|
Source/shared/client-server/evidyonpacketserializer.h|50|error: pasting "READPACKET" and "(" does not give a valid preprocessing token|
Source/shared/client-server/evidyonpacketserializer.h|50|error: pasting "READPACKET" and "(" does not give a valid preprocessing token|
Source/shared/client-server/evidyonpacketserializer.h|50|error: pasting "READPACKET" and "(" does not give a valid preprocessing token|

Source/shared/actor/actorsyncflags.h|39|error: 'Evidyon::Actor::ActorSyncFlags::PARAMETER_BITS' may not be static because it is a member of a union|
Source/shared/actor/actorsyncflags.h|40|error: 'Evidyon::Actor::ActorSyncFlags::MINIMUM_DURATION' may not be static because it is a member of a union|
Source/shared/actor/actorsyncflags.h|41|error: 'Evidyon::Actor::ActorSyncFlags::MAXIMUM_DURATION' may not be static because it is a member of a union|

Source/server/encodepackets.h|40|error: use of enum 'ActorState' without previous declaration|
Source/server/encodepackets.h|47|error: use of enum 'RequestActionResult' without previous declaration|

--
trapdoor


Top
 Profile Send private message  
 
 Post subject: Re: Linux? (OSX, FreeBSD...)
PostPosted: Sun Apr 18, 2010 1:40 am 
Offline

Joined: Wed Apr 14, 2010 12:59 am
Posts: 3
Some more errors:

Source/server/globaldatabasemanager.cpp||In member function 'bool Evidyon::GlobalDatabaseManager::create(const char*)':|
Source/server/globaldatabasemanager.cpp|432|error: template argument for 'template<class _T1, class _T2> struct std::pair' uses local type 'Evidyon::GlobalDatabaseManager::create(const char*)::Field'|
Source/server/globaldatabasemanager.cpp|432|error: trying to instantiate 'template<class _T1, class _T2> struct std::pair'|
Source/server/globaldatabasemanager.cpp|432|error: template argument 4 is invalid|
Source/server/globaldatabasemanager.cpp|432|error: invalid type in declaration before ';' token|

Majority of the work so far has been fixing the use of non-standard (ie Microsoft) functions such as strcpy_s and sprintf_s. Not even sure why C strings are even being used so widely on a cpp project.

I am making progress but it is slow going.

--
trapdoor


Top
 Profile Send private message  
 
 Post subject: Re: Linux? (OSX, FreeBSD...)
PostPosted: Sun Apr 18, 2010 9:40 pm 
Offline
Site Admin

Joined: Fri Jan 08, 2010 12:21 pm
Posts: 73
Great! Sorry it's taking so long, and good luck.


Top
 Profile Send private message  
 
 Post subject: Re: Linux? (OSX, FreeBSD...)
PostPosted: Wed Apr 21, 2010 10:19 am 
Offline

Joined: Wed Apr 14, 2010 12:59 am
Posts: 3
Working on porting the threading on the server now.

Also started porting some of the client to OpenGL.

--
trapdoor


Top
 Profile Send private message  
 
 Post subject: Re: Linux? (OSX, FreeBSD...)
PostPosted: Mon Jul 19, 2010 10:49 am 
Offline

Joined: Mon Jul 19, 2010 10:46 am
Posts: 1
Trapdoor, any luck on progressing this further? I was going to attempt his feat myself before I stumbled upon this thread. Do you want/need any help? I'm far from a 3d graphics programmer, but I may be able to help.


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group