Go Back   EQEmulator Home > EQEmulator Forums > General > General::General Discussion

General::General Discussion General discussion about EverQuest(tm), EQEMu, and related topics.
Do not post support topics here.

Reply
 
Thread Tools Display Modes
  #16  
Old 09-26-2013, 07:03 PM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,165
Default

Our current min compiler targets are VS2010 and GCC 4.5 if I recall correctly. If OSX doesn't support GCC 4.5 you're shit out of luck. (Actually the main reason we chose that version is because of nullptr, but that can be fixed with a define since older GCCs had the same feature defined as something else, but no one has gotten around to fixing that)
Reply With Quote
  #17  
Old 09-27-2013, 11:34 AM
Corysia
Fire Beetle
 
Join Date: Jul 2007
Location: Pacific Northwest
Posts: 22
Default

Quote:
Originally Posted by Vexyl View Post
I think it's time to update your compiler.
Unlike Linux and Cygwin under Windows, Apple is slow to adopt. This system is actually "up to date" as far as Apple is concerned.

I can update it using Mac Ports to get to libgcc @4.8.1_3 or even libgcc-devel @4.9-20130915, but I hesitate to do so. It complicates the steps to the guide.

On the other hand, the audience for this isn't my normal one. I usually have to write software in such a way I think my mom can install without having to call me and then I spend an hour walking her thru it over the phone.
Reply With Quote
  #18  
Old 09-27-2013, 01:18 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,743
Default

clang should be relatively up to date depending on which version of Xcode you have installed.
Reply With Quote
  #19  
Old 09-27-2013, 01:38 PM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,165
Default

Running export CXX="clang++" then the normal cmake stuff and make should set the compiler to clang, but this fails to compile, so at the moment it's impossible to build EQEmu with clang (although the errors it spit out seem fixable so far)

edit: nevermind, the errors seem to be in PERL header files, not that easy :P

edit: also fails with just LUA in the LUA header files, there might be a flag to ignore those errors maybe?
Reply With Quote
  #20  
Old 09-27-2013, 02:23 PM
Corysia
Fire Beetle
 
Join Date: Jul 2007
Location: Pacific Northwest
Posts: 22
Default

Quote:
Originally Posted by lerxst2112 View Post
clang should be relatively up to date depending on which version of Xcode you have installed.
This has Xcode 5 on it.

I've gone ahead and installed the Mac Ports version of gcc 4.8. After configuring cmake to point to the right dylibs for mysql and pointing the compilers to /opt/local, things chug along nicely up to shared_memory with only one source change. I needed to redefine MSG_NOSIGNAL to SO_NOSIGPIPE in common/TCPConnection.cpp (just like the FREEBSD change to map it to 0).

Shared memory is asking for librt.a, which Macs don't have. I've fixed that by adding an OS test in the CMakeList.txt files.

At this point, these compile:
common
shared_memory
world
zone
ucs
queryserv
eqlaunch
azone_common
awater
azone
listobj
cppunit
tests


loginserver needs libEQEmuAuthCrypto.a, which I don't know where to find the source for.

luabind doesn't compile with a long list of errors I haven't looked at yet.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 08:59 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3