I just started using Codelite, and am currently running Weekly Build - Oct 23, 2014 - CodeLite 7.0, under Mac OS 10.9.5.
I have a simple project... in fact I haven't modified it since I created it. It's a "Simple Executable (wxWidgets enabled)" project.
It builds fine, but when I try to run it I get:
Code: Select all
dyld: Library not loaded: /usr/local/opt/wxmac/lib/libwx_osx_cocoau_xrc-3.0.dylib
Referenced from: /Volumes/Projects/Graph_Processing/Debug/./Graph_Processing
Reason: image not found
Code: Select all
/usr/local/opt/wxmac/lib/libwx_osx_cocoau_xrc-3.0.dylib (compatibility version 2.0.0, current version 2.0.0)
Here's the kicker... the link line looks like this (decomposed for your viewing pleasure):
Code: Select all
/Applications/Xcode.app/Contents/Developer/usr/bin/g++
-o ./Debug/Graph_Processing @"Graph_Processing.txt"
-L.
-L/usr/local/Cellar/wxmac/3.0.1/lib
-framework IOKit
-framework Carbon
-framework Cocoa
-framework AudioToolbox
-framework System
-framework OpenGL
-framework QuickTime
-lwx_osx_cocoau_xrc-3.0
-lwx_osx_cocoau_webview-3.0
-lwx_osx_cocoau_html-3.0
-lwx_osx_cocoau_qa-3.0
-lwx_osx_cocoau_adv-3.0
-lwx_osx_cocoau_core-3.0
-lwx_baseu_xml-3.0
-lwx_baseu_net-3.0
-lwx_baseu-3.0
And, in fact, there is a /usr/local/Cellar/wxmac/3.0.1/lib directory which does contain the "missing" dylib (and all the other wx dylibs) which is on the command line.
If I enter the link line directly at a shell prompt, and run the result, the same thing happens. It also happens if I compile from the command-line as well.
Here's the entire build log:
Code: Select all
/bin/sh -c '/Applications/Xcode.app/Contents/Developer/usr/bin/make -j24 -e -f Makefile'
----------Building project:[ Graph_Processing - Debug ]----------
/Applications/Xcode.app/Contents/Developer/usr/bin/g++ -c "/Projects/Graph_Processing/main.cpp" -g -O0 -Wall -I/usr/local/Cellar/wxmac/3.0.1/lib/wx/include/osx_cocoa-unicode-3.0 -I/usr/local/Cellar/wxmac/3.0.1/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DwxDEBUG_LEVEL=0 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__ -o ./Debug/main.cpp.o -I.
/Applications/Xcode.app/Contents/Developer/usr/bin/g++ -o ./Debug/Graph_Processing @"Graph_Processing.txt" -L. -L/usr/local/Cellar/wxmac/3.0.1/lib -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime -lwx_osx_cocoau_xrc-3.0 -lwx_osx_cocoau_webview-3.0 -lwx_osx_cocoau_html-3.0 -lwx_osx_cocoau_qa-3.0 -lwx_osx_cocoau_adv-3.0 -lwx_osx_cocoau_core-3.0 -lwx_baseu_xml-3.0 -lwx_baseu_net-3.0 -lwx_baseu-3.0
ld: warning: ignoring file /System/Library/Frameworks//QuickTime.framework/QuickTime, file was built for i386 which is not the architecture being linked (x86_64): /System/Library/Frameworks//QuickTime.framework/QuickTime
0 errors, 0 warnings
I don't know what else to try... can someone advise?
Thanks!
Regards,
Eric