ArcEmu: Compiling - Cmake Error - Snow Leopard - ArcEmu

Jump to content

Toggle shoutbox Lastest Announcements

dfighter  : (07 December 2014 - 12:06 PM) Arcemu is in hibernation mode, please read http://arcemu.org/fo...showtopic=26903
dfighter  : (01 January 2013 - 05:56 PM) Arcemu wishes you all a happy new year!
Hasbro  : (12 September 2012 - 10:01 AM) Please excuse our outage from the web! Our web host had a major malfunction!
dfighter  : (01 September 2012 - 04:05 PM) Since the spam bots just don't want to stop, I've enabled admin verification when registering.
dfighter  : (23 January 2012 - 09:56 PM) Please note that from now on you will need to confirm your email on the wiki in order to edit it!
Hasbro  : (31 December 2011 - 12:50 PM) Happy New Years all!
Navid  : (26 December 2011 - 04:09 AM) Merry Christmas !!!!!! Happy holidays all :)
WAmadeus  : (24 December 2011 - 03:54 PM) Merry Christmas to all!
dfighter  : (24 December 2011 - 11:05 AM) The Arcemu team wishes y'all a Merry Christmukkah!
Hasbro  : (05 October 2011 - 12:53 PM) Looking for web designers for upcoming web related project. If you're interested in designing user interfaces contact me
dfighter  : (02 September 2011 - 03:47 PM) So who here wants vehicles in Arcemu? :P http://arcemu.org/fo...showtopic=25440
Hasbro  : (14 August 2011 - 03:25 PM) Join us on irc, grab an irc client and connect to irc.freenode.net join channel #arcemu /server irc.freenode.net:6667 /join #arcemu
jackpoz  : (03 August 2011 - 05:33 AM) to all Lua Engine (old one) users: please check http://arcemu.org/fo...showtopic=25274
Hasbro  : (20 May 2011 - 05:27 PM) Looking for people experienced with CMake configuration and setup! Contact me asap
Hasbro  : (15 May 2011 - 05:03 PM) ArcEmu is recruiting C++ programmers, contact Hasbro if interested.
paroxysm  : (03 May 2011 - 06:26 PM) Updated luabridge gossip example to describe the whole gossip creation process rather than just how to create menu. Gossip tutorial
paroxysm  : (23 April 2011 - 11:35 AM) Lua writers can refer to the Luabridge Tutorials section in the Wiki to learn how to write gossip code correctly.
Hasbro  : (20 April 2011 - 05:22 PM) Thank you for your continuous contribution of bug reports, we are working on them.
Hasbro  : (17 April 2011 - 03:20 AM) Please consider donating to support our bills. Donations can be sent using PayPal to donations@arcemu.org - Thank you for your support.
paroxysm  : (10 April 2011 - 12:43 AM) Refer to the Luabridge Tutorials section in the Wiki to learn the new syntax of luabridge.
Resize Shouts Area

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Compiling - Cmake Error - Snow Leopard

#1 User is offline   xspence 

  • Member
  • Pip
  • Group: Members
  • Posts: 13
  • Joined: 05-May 09
  • Gender:Male
  • Location:California, USA
  • Interests:Music, Recording, Digital Music, Coding, Web Design, Mac/Unix development

Posted 14 April 2011 - 06:39 PM

Here's the log. Everything works except it hits a roadblock when compiling via CMake. Might I be doing something wrong, or is there an error.

Last login: Wed Apr 13 20:48:37 on ttys000
Xspences-MacBook:~ xspence$ mv trunk trunk1
Xspences-MacBook:~ xspence$ svn co https://arcemu.svn.sourceforge.net/svnroot/arcemu/trunk
...[removed]...
Checked out revision 4149.
Xspences-MacBook:~ xspence$ cd trunk
Xspences-MacBook:trunk xspence$ /Applications/CMake\ 2.8-4.app/Contents/bin/cmake .. /Users/xspence/trunk/cmake/CMakeLists.txt 
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
1
-- Found ZLIB: /usr/include (found version "1.2.3")
-- Found PCRE: /usr/local/lib/libpcre.dylib 
-- Found OpenSSL: /usr/lib/libssl.dylib;/usr/lib/libcrypto.dylib 
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- Found MySQL: /usr/local/mysql/lib/libmysqlclient.dylib
WARNING,BUILD_ARCEMUSCRIPTS option is set to false. Script libraries will not be built.
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/xspence/trunk/cmake
Xspences-MacBook:trunk xspence$ mkdir build
Xspences-MacBook:trunk xspence$ cd build
Xspences-MacBook:build xspence$ /Applications/CMake\ 2.8-4.app/Contents/bin/cmake .. /Users/xspence/trunk/cmake/CMakeLists.txt 
1
WARNING,BUILD_ARCEMUSCRIPTS option is set to false. Script libraries will not be built.
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/xspence/trunk/cmake
Xspences-MacBook:trunk xspence$ cd cmake
Xspences-MacBook:cmake xspence$ make -j2
Scanning dependencies of target shared
Scanning dependencies of target g3dlite
[  0%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/AABox.cpp.o
[  0%] Building CXX object shared/CMakeFiles/shared.dir/Users/xspence/trunk/src/arcemu-shared/CThreads.cpp.o
[  1%] Building CXX object shared/CMakeFiles/shared.dir/Users/xspence/trunk/src/arcemu-shared/CrashHandler.cpp.o
[  1%] Building CXX object shared/CMakeFiles/shared.dir/Users/xspence/trunk/src/arcemu-shared/Log.cpp.o
[  2%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/Any.cpp.o
[  3%] Building CXX object shared/CMakeFiles/shared.dir/Users/xspence/trunk/src/arcemu-shared/MersenneTwister.cpp.o
[  3%] Building CXX object shared/CMakeFiles/shared.dir/Users/xspence/trunk/src/arcemu-shared/printStackTrace.cpp.o
[  3%] Building CXX object shared/CMakeFiles/shared.dir/Users/xspence/trunk/src/arcemu-shared/Util.cpp.o
[  3%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/BinaryFormat.cpp.o
[  4%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/BinaryInput.cpp.o
[  5%] Building CXX object shared/CMakeFiles/shared.dir/Users/xspence/trunk/src/arcemu-shared/crc32.cpp.o
[  5%] Building CXX object shared/CMakeFiles/shared.dir/Users/xspence/trunk/src/arcemu-shared/MapFile.cpp.o
[  6%] Building CXX object shared/CMakeFiles/shared.dir/Users/xspence/trunk/src/arcemu-shared/MapFileEntry.cpp.o
[  6%] Building CXX object shared/CMakeFiles/shared.dir/Users/xspence/trunk/src/arcemu-shared/TextFile.cpp.o
[  7%] Building CXX object shared/CMakeFiles/shared.dir/Users/xspence/trunk/src/arcemu-shared/Threading/Mutex.cpp.o
[  7%] Building CXX object shared/CMakeFiles/shared.dir/Users/xspence/trunk/src/arcemu-shared/Threading/ThreadPool.cpp.o
[  7%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/BinaryOutput.cpp.o
[  7%] Building CXX object shared/CMakeFiles/shared.dir/Users/xspence/trunk/src/arcemu-shared/Threading/AtomicULong.cpp.o
[  8%] Building CXX object shared/CMakeFiles/shared.dir/Users/xspence/trunk/src/arcemu-shared/Threading/AtomicFloat.cpp.o
[  9%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/Box.cpp.o
[  9%] Building CXX object shared/CMakeFiles/shared.dir/Users/xspence/trunk/src/arcemu-shared/Threading/AtomicCounter.cpp.o
[ 10%] Building CXX object shared/CMakeFiles/shared.dir/Users/xspence/trunk/src/arcemu-shared/Threading/AtomicBoolean.cpp.o
[ 10%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/Capsule.cpp.o
[ 10%] Building CXX object shared/CMakeFiles/shared.dir/Users/xspence/trunk/src/arcemu-shared/arcemu_getopt.cpp.o
[ 11%] Building CXX object shared/CMakeFiles/shared.dir/Users/xspence/trunk/src/arcemu-shared/Auth/BigNumber.cpp.o
[ 11%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/CollisionDetection.cpp.o
[ 11%] Building CXX object shared/CMakeFiles/shared.dir/Users/xspence/trunk/src/arcemu-shared/Auth/MD5.cpp.o
[ 12%] Building CXX object shared/CMakeFiles/shared.dir/Users/xspence/trunk/src/arcemu-shared/Auth/Sha1.cpp.o
[ 12%] Building CXX object shared/CMakeFiles/shared.dir/Users/xspence/trunk/src/arcemu-shared/Auth/WowCrypt.cpp.o
[ 13%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/CoordinateFrame.cpp.o
[ 13%] Building CXX object shared/CMakeFiles/shared.dir/Users/xspence/trunk/src/arcemu-shared/Config/Config.cpp.o
[ 13%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/Crypto.cpp.o
[ 14%] Building CXX object shared/CMakeFiles/shared.dir/Users/xspence/trunk/src/arcemu-shared/Database/DBC.cpp.o
[ 15%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/Cylinder.cpp.o
[ 15%] Building CXX object shared/CMakeFiles/shared.dir/Users/xspence/trunk/src/arcemu-shared/Database/Database.cpp.o
[ 15%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/debugAssert.cpp.o
[ 16%] Building CXX object shared/CMakeFiles/shared.dir/Users/xspence/trunk/src/arcemu-shared/Database/DBCStores.cpp.o
[ 17%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/fileutils.cpp.o
[ 17%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/format.cpp.o
[ 17%] Building CXX object shared/CMakeFiles/shared.dir/Users/xspence/trunk/src/arcemu-shared/Database/dbcfile.cpp.o
[ 18%] Building CXX object shared/CMakeFiles/shared.dir/Users/xspence/trunk/src/arcemu-shared/Database/MySQLDatabase.cpp.o
[ 18%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/g3dfnmatch.cpp.o
[ 19%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/g3dmath.cpp.o
[ 19%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/Line.cpp.o
[ 19%] Building CXX object shared/CMakeFiles/shared.dir/Users/xspence/trunk/src/arcemu-shared/Database/CreateInterface.cpp.o
[ 19%] Building CXX object shared/CMakeFiles/shared.dir/Users/xspence/trunk/src/arcemu-shared/Network/CircularBuffer.cpp.o
[ 20%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/LineSegment.cpp.o
[ 21%] Building CXX object shared/CMakeFiles/shared.dir/Users/xspence/trunk/src/arcemu-shared/Network/Socket.cpp.o
[ 21%] Building CXX object shared/CMakeFiles/shared.dir/Users/xspence/trunk/src/arcemu-shared/Network/SocketMgrFreeBSD.cpp.o
[ 21%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/Log.cpp.o
[ 22%] Building CXX object shared/CMakeFiles/shared.dir/Users/xspence/trunk/src/arcemu-shared/Network/SocketFreeBSD.cpp.o
[ 23%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/Matrix.cpp.o
[ 23%] Building CXX object shared/CMakeFiles/shared.dir/Users/xspence/trunk/src/arcemu-shared/Network/SocketOpsFreeBSD.cpp.o
Linking CXX static library libshared.a
[ 23%] Built target shared
Scanning dependencies of target arcemu-crashreport
[ 23%] Building C object crashreport/CMakeFiles/arcemu-crashreport.dir/Users/xspence/trunk/src/arcemu-crashreport/Main.c.o
cc1: warning: command line option "-Wno-deprecated" is valid for C++/ObjC++ but not for C
/Users/xspence/trunk/src/arcemu-crashreport/Main.c: In function ‘main’:
/Users/xspence/trunk/src/arcemu-crashreport/Main.c:114: warning: passing argument 3 of ‘scandir’ from incompatible pointer type
Linking C executable arcemu-crashreport
[ 23%] Built target arcemu-crashreport
make[2]: *** No rule to make target `logon/LogonStdAfx.h', needed by `logon/LogonStdAfx.h.gch/logon.h++'.  Stop.
make[1]: *** [logon/CMakeFiles/logon.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 23%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/Matrix3.cpp.o
[ 24%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/Matrix4.cpp.o
[ 24%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/MemoryManager.cpp.o
[ 24%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/Plane.cpp.o
[ 25%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/prompt.cpp.o
[ 25%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/Quat.cpp.o
[ 26%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/Random.cpp.o
[ 26%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/Ray.cpp.o
[ 27%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/ReferenceCount.cpp.o
[ 27%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/Sphere.cpp.o
[ 27%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/stringutils.cpp.o
[ 28%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/System.cpp.o
[ 28%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/TextInput.cpp.o
[ 29%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/TextOutput.cpp.o
[ 29%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/Triangle.cpp.o
[ 30%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/UprightFrame.cpp.o
[ 30%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/Vector2.cpp.o
[ 30%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/Vector3.cpp.o
[ 31%] Building CXX object g3dlite/CMakeFiles/g3dlite.dir/Users/xspence/trunk/dep/src/g3dlite/Vector4.cpp.o
Linking CXX static library libg3dlite.a
[ 31%] Built target g3dlite
make: *** [all] Error 2
Xspences-MacBook:cmake xspence$ 


Thanks in advance.

bump
0

#2 User is offline   vipah 

  • Newbie
  • Group: Members
  • Posts: 1
  • Joined: 20-April 11
  • Gender:Male
  • Server OS:Windows

Posted 20 April 2011 - 06:17 PM

Same issue for me as well.

[  9%] Built target shared
[ 19%] Built target g3dlite
make[2]: *** No rule to make target `logon/LogonStdAfx.h', needed by `logon/LogonStdAfx.h.gch/logon.h++'.  Stop.
make[1]: *** [logon/CMakeFiles/logon.dir/all] Error 2
make: *** [all] Error 2

0

#3 User is offline   GHS 

  • Newbie
  • Group: Members
  • Posts: 6
  • Joined: 17-September 11
  • Gender:Male
  • Server OS:Darwin/OS X

Posted 22 September 2011 - 07:15 AM

can not figure out how to fix this error. it works fine in cmake but then when i execute make install this is what i get. i downloaded it using svn portable to thumb drive then executed using MacBook Pro early 2011 OSX 10.6 , i have mysql installed and unix lib via xcode, cmake,

Scanning dependencies of target shared
[ 14%] Building CXX object shared/CMakeFiles/shared.dir/Users/username/Desktop/SubcommanderPortable/src/arcemu-shared/CThreads.cpp.o
[ 14%] Building CXX object shared/CMakeFiles/shared.dir/Users/username/Desktop/SubcommanderPortable/src/arcemu-shared/CrashHandler.cpp.o
/Users/username/Desktop/SubcommanderPortable/src/arcemu-shared/CrashHandler.cpp:20:26: error: svn_revision.h: No such file or directory
make[2]: *** [shared/CMakeFiles/shared.dir/Users/username/Desktop/SubcommanderPortable/src/arcemu-shared/CrashHandler.cpp.o] Error 1
make[1]: *** [shared/CMakeFiles/shared.dir/all] Error 2
make: *** [all] Error 2
0

#4 User is offline   dfighter 

  • Titles are overrated
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Administrator
  • Posts: 5,189
  • Joined: 14-June 08
  • IRC:dfighter
  • Gender:Male
  • Server OS:Linux

Posted 22 September 2011 - 09:41 AM

View PostGHS, on 22 September 2011 - 07:15 AM, said:

can not figure out how to fix this error. it works fine in cmake but then when i execute make install this is what i get. i downloaded it using svn portable to thumb drive then executed using MacBook Pro early 2011 OSX 10.6 , i have mysql installed and unix lib via xcode, cmake,

Scanning dependencies of target shared
[ 14%] Building CXX object shared/CMakeFiles/shared.dir/Users/username/Desktop/SubcommanderPortable/src/arcemu-shared/CThreads.cpp.o
[ 14%] Building CXX object shared/CMakeFiles/shared.dir/Users/username/Desktop/SubcommanderPortable/src/arcemu-shared/CrashHandler.cpp.o
/Users/username/Desktop/SubcommanderPortable/src/arcemu-shared/CrashHandler.cpp:20:26: error: svn_revision.h: No such file or directory
make[2]: *** [shared/CMakeFiles/shared.dir/Users/username/Desktop/SubcommanderPortable/src/arcemu-shared/CrashHandler.cpp.o] Error 1
make[1]: *** [shared/CMakeFiles/shared.dir/all] Error 2
make: *** [all] Error 2

First of all please don't hijack other people's threads. If you have a problem, you can post a new thread yourself.

As for your problem: svn_revision.h is generated by CMake. Are you sure you are not getting any errors while using CMake?
"The demand for free goods is infinite."
0

#5 User is offline   GHS 

  • Newbie
  • Group: Members
  • Posts: 6
  • Joined: 17-September 11
  • Gender:Male
  • Server OS:Darwin/OS X

Posted 22 September 2011 - 10:52 AM

View Postdfighter, on 22 September 2011 - 09:41 AM, said:

First of all please don't hijack other people's threads. If you have a problem, you can post a new thread yourself.

As for your problem: svn_revision.h is generated by CMake. Are you sure you are not getting any errors while using CMake?


Thanks for the response and no i am not getting any errors in cmake except "luabridge skipped because it was unchecked. "



sorry. my intentions were not to hijack any post made. just i thought since it was a long the same topic i would save space and just continue on this one. if you would like me to i will make a new one. sorry again.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users