Compiling minetest on a mac

Post Reply
javajames
New member
Posts: 4
Joined: Sun Feb 19, 2012 16:04

Compiling minetest on a mac

by javajames » Post

Im trying to compile minetest on a mac, i have managed to generate the cmake files (currently as unix makefiles) but everything up to linking works when i try to build the project. At this point i get several undefined symbols errors, they apear to be related to the irrlicht engine. Can anyone who has successfully compiled minetest on a mac give me any advice? I have installed the jpeg libraries and headers to the default directory (/usr/lib and /usr/include) and i have the paths set for irrlicht in the directory above the minetest files:

Code: Select all

*** Will build version 0.3.1 ***
IRRLICHT_SOURCE_DIR = /Users/James/Documents/xcode/minetest-stuff/irrlicht-1.7.2/source
IRRLICHT_INCLUDE_DIR = /Users/James/Documents/xcode/minetest-stuff/irrlicht-1.7.2/include
IRRLICHT_LIBRARY = /Users/James/Documents/xcode/minetest-stuff/irrlicht-1.7.2/lib
GetText disabled
Using project jthread library
Found system sqlite3 header file in /usr/include
Found system sqlite3 library /usr/lib/libsqlite3.dylib
Configuring done
~Errors in next reply

EDITED: because i forgot to make clean
Last edited by javajames on Sun Feb 19, 2012 16:47, edited 1 time in total.

javajames
New member
Posts: 4
Joined: Sun Feb 19, 2012 16:04

by javajames » Post

(with just "make"):

Code: Select all

Undefined symbols:
  "irr::video::IdentityMaterial", referenced from:
      __ZN3irr5video16IdentityMaterialE$non_lazy_ptr in map.cpp.o
      __ZN3irr5video16IdentityMaterialE$non_lazy_ptr in player.cpp.o
      __ZN3irr5video16IdentityMaterialE$non_lazy_ptr in MyBillboardSceneNode.cpp.o
      __ZN3irr5video16IdentityMaterialE$non_lazy_ptr in farmesh.cpp.o
      __ZN3irr5video16IdentityMaterialE$non_lazy_ptr in camera.cpp.o
      __ZN3irr5video16IdentityMaterialE$non_lazy_ptr in clouds.cpp.o
     (maybe you meant: __ZN3irr5video16IdentityMaterialE$non_lazy_ptr)
  "irr::core::IdentityMatrix", referenced from:
      __ZN3irr4core14IdentityMatrixE$non_lazy_ptr in MyBillboardSceneNode.cpp.o
      __ZN3irr4core14IdentityMatrixE$non_lazy_ptr in camera.cpp.o
      __ZN3irr4core14IdentityMatrixE$non_lazy_ptr in game.cpp.o
     (maybe you meant: __ZN3irr4core14IdentityMatrixE$non_lazy_ptr)
  "_createDevice", referenced from:
      _main in main.cpp.o

javajames
New member
Posts: 4
Joined: Sun Feb 19, 2012 16:04

by javajames » Post

EDITED: i forgot to make clean

Thanks in advanced - also i didnt want to put this in your development section, as it says "noob free" and im only starting out with advanced C++, so feel free to tell me to move, im just trying not to annoy anyone

EDIT: also worth noting that i used the majority of the cmake options found with the readme for compiling on windows, but with a few alterations for mac, also, with irrlicht-1.7.2 and irrlicht-1.7.1
Last edited by javajames on Sun Feb 19, 2012 16:48, edited 1 time in total.

kahrl
Member
Posts: 236
Joined: Fri Sep 02, 2011 07:51
Location: Rös̓̇chenhof

by kahrl » Post

Maybe you have more luck with this. If not, try writing toabi a mail.

javajames
New member
Posts: 4
Joined: Sun Feb 19, 2012 16:04

by javajames » Post

Now that. Is a good idea. Thank you

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests