Id like to package Irrlicht for MacPorts. MacPorts is a package manager for Mac, similar to dep/rpm packages for linux. In contrast to deb/rpm it doesent distribute pre-compiled software, but source code. The MacPort software fetches the files, applies patches, compiles everything and puts it where it belongs to.
Therefore, I have to figure out how Irrlicht can be compiled on a Mac via the command line. XCode is not an option. I tried "make sharedlib_osx", but it fails:
Code: Select all
Undefined symbols:
"_OSXCopyToClipboard", referenced from:
irr::COSOperator::copyToClipboard(char const*) constin COSOperator.o
"irr::CIrrDeviceMacOSX::flush()", referenced from:
irr::video::COpenGLDriver::endScene() in COpenGLDriver.o
"_OSXCopyFromClipboard", referenced from:
irr::COSOperator::getTextFromClipboard() const in COSOperator.o
"irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)", referenced from:
_createDeviceEx in Irrlicht.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [sharedlib_osx] Error 1