You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build develop's head in Xcode 10.1 and macOS 10.14.2. The build fails with the following error:
Libtool /Users/me/Library/Developer/Xcode/DerivedData/OpenEmulator-dghiwjfipkoadieueibnirgqjzlh/Build/Products/Debug/libemulation.a normal x86_64 (in target: emulation)
cd /Users/me/Documents/Outbox/OpenEmulator-OSX
export MACOSX_DEPLOYMENT_TARGET=10.9
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only x86_64 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -L/Users/me/Library/Developer/Xcode/DerivedData/OpenEmulator-dghiwjfipkoadieueibnirgqjzlh/Build/Products/Debug -L/Users/me/Documents/Outbox/OpenEmulator-OSX/lib -L/opt/local/lib -L/usr/local/lib -filelist /Users/me/Library/Developer/Xcode/DerivedData/OpenEmulator-dghiwjfipkoadieueibnirgqjzlh/Build/Intermediates.noindex/OpenEmulator.build/Debug/emulation.build/Objects-normal/x86_64/emulation.LinkFileList -lpng16 -o /Users/me/Library/Developer/Xcode/DerivedData/OpenEmulator-dghiwjfipkoadieueibnirgqjzlh/Build/Products/Debug/libemulation.a
error: Build input file cannot be found: '/opt/local/lib/libpng16.a'
I have libpng in /usr/local/lib/libpng16.a. I have tried to remove /opt/local/lib from Library Search Paths and Framework Search Paths, but I keep getting the same error. Any idea how to fix it?
The text was updated successfully, but these errors were encountered:
If I update Link Binary with Libraries in the Build Phases of the emulation target so that it points to an existing libpng16.a then I can build successfully. But I need to build from the command line, and I'd rather not patch the project file.
I am trying to build
develop
's head in Xcode 10.1 and macOS 10.14.2. The build fails with the following error:I have
libpng
in/usr/local/lib/libpng16.a
. I have tried to remove/opt/local/lib
from Library Search Paths and Framework Search Paths, but I keep getting the same error. Any idea how to fix it?The text was updated successfully, but these errors were encountered: