nirai-compiler / src

Core Nirai repo
Other
22 stars 5 forks source link

Error when building Panda3D on Mac #13

Closed ghost closed 8 years ago

ghost commented 8 years ago

Hi. I'm trying to compile Nirai's Panda3D on Mac OS X Yosemite, but I can't due to some error with OpenSSL. I don't think it is installed, so if this is causing the problem, can someone point me in the right direction so I can download it? (I'd assume it's simple, but I know nothing about Macs. Got this one recently) Here's my build log:

[name removed]-MBP:panda3d [name removed]$ sh compile.sh
Version: 1.10.0
Using Python 2.7
Target arch: x86_64
WARNING: Could not locate thirdparty package fftw, excluding from build
WARNING: Could not locate thirdparty package openexr, excluding from build
Generating dependencies...
[ 13%] Building Interrogate database built/pandac/input/libp3express.in
dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
  Referenced from: /Users/[name removed]/ToontownRebuiltSource/build/nirai/panda3d/prebuilt/lib/libp3dtoolconfig.1.10.dylib
  Reason: image not found
Storing dependency cache.
Elapsed Time: 10 sec
The following command returned a non-zero value: prebuilt/darwin/interrogate -srcdir panda/src/express -Ipanda/src/express -DCPPPARSER -D__STDC__=1 -D__cplusplus=201103L -D__attribute__\(x\)= -D_LP64 -D__APPLE__ -oc built/tmp/libp3express_igate.cxx -od built/pandac/input/libp3express.in -fnames -string -refcount -assert -python-native -Sbuilt/include/parser-inc -Ipanda/src/express -Sbuilt/tmp -Sbuilt/include -S/System/Library/Frameworks/Python.framework/Versions/2.7/Headers -DLINK_ALL_STATIC= -module panda3d.core -library libp3express buffer.h checksumHashGenerator.h circBuffer.h compress_string.h config_express.h copy_stream.h datagram.h datagramGenerator.h datagramIterator.h datagramSink.h dcast.h encrypt_string.h error_utils.h export_dtool.h fileReference.h filename_ext.h globPattern_ext.h hashGeneratorBase.h hashVal.h indirectLess.h memoryInfo.h memoryUsage.h memoryUsagePointerCounts.h memoryUsagePointers.h memoryUsagePointers_ext.h multifile.h namable.h nodePointerTo.h nodePointerToBase.h nodeReferenceCount.h openSSLWrapper.h ordered_vector.h p3express_composite1.cxx p3express_composite2.cxx p3express_ext_composite.cxx pStatCollectorForwardBase.h password_hash.h patchfile.h pointerTo.h pointerToArray.h pointerToArrayBase.h pointerToArray_ext.h pointerToBase.h pointerToVoid.h profileTimer.h pta_double.h pta_float.h pta_int.h pta_stdfloat.h pta_uchar.h ramfile.h ramfile_ext.h referenceCount.h streamReader_ext.h streamWriter_ext.h subStream.h subStreamBuf.h subfileInfo.h temporaryFile.h threadSafePointerTo.h threadSafePointerToBase.h trueClock.h typeHandle_ext.h typedReferenceCount.h typedef.h vector_double.h vector_float.h vector_stdfloat.h vector_uchar.h virtualFile.h virtualFileComposite.h virtualFileList.h virtualFileMount.h virtualFileMountAndroidAsset.h virtualFileMountMultifile.h virtualFileMountRamdisk.h virtualFileMountSystem.h virtualFileSimple.h virtualFileSystem.h virtualFileSystem_ext.h virtualFile_ext.h weakPointerCallback.h weakPointerTo.h weakPointerToBase.h weakPointerToVoid.h weakReferenceList.h windowsRegistry.h zStream.h zStreamBuf.h
Build terminated.

Any and all help is appreciated, thanks!

ghost commented 8 years ago

This was solved thanks to this stack overflow answer: http://stackoverflow.com/a/36872624 Hope this is helpful. (You will need Homebrew first!)