I used Code::Blocks to create a static library on Mac but get this error:
Code: Select all
Id: warning: ignoring file /Users/jamescordon/dev/statlib/bin/Release/libstatlib.a, file was built for archive which is not the architecture being linked (i386): /Users/jamescordon/dev/statlib/bin/Release/libstatlib.a
Undefined symbols for architecture i386: "_go", referenced from: PStub_go in purebasic.o
Id: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1
What is causing this error?