Skip to content

Instantly share code, notes, and snippets.

@pikeas
Created October 23, 2012 22:18
Show Gist options
  • Save pikeas/3942034 to your computer and use it in GitHub Desktop.
Save pikeas/3942034 to your computer and use it in GitHub Desktop.
Take 2:
vendor/
TesseractStatic/
(all .h files)
liblept.a
libtesseract_all.a
Rakefile
app.vendor_project('vendor/TesseractStatic', :static)
Error output from rake clean=1:
rake clean=1 17:27:11
Build ./build/iPhoneSimulator-5.0-Development
Build vendor/TesseractStatic
Link ./build/iPhoneSimulator-5.0-Development/goggles.app/goggles
duplicate symbol _main in:
/Users/pikeas/Documents/Projects/ios/goggles/vendor/TesseractStatic/libtesseract_all.a(svpaint.o)
./build/iPhoneSimulator-5.0-Development/objs/main.o
duplicate symbol _selCopy in:
/Users/pikeas/Documents/Projects/ios/goggles/vendor/TesseractStatic/liblept.a(sel1.o)
/Library/RubyMotion/data/5.0/iPhoneSimulator/libmacruby-static.a(id.o)
duplicate symbol _selWrite in:
/Users/pikeas/Documents/Projects/ios/goggles/vendor/TesseractStatic/liblept.a(sel1.o)
/Library/RubyMotion/data/5.0/iPhoneSimulator/libmacruby-static.a(id.o)
ld: 3 duplicate symbols for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
rake aborted!
Command failed with status (1): [/Applications/Xcode.app/Contents/Developer...]
Tasks: TOP => default => simulator => build:simulator
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment