Page 1 of 1

Linker error

Posted: Sun Dec 08, 2019 10:10 am
by wombats
Hi,

I'm trying to get PB_Civet_Server full stack web solution for PB to work on macOS. I don't need all of it, but I can't get PB to load the library:

Code: Select all

ld: warning: object file (/Users/.../pb_civet_server-master/civetweb.o) was built for newer OSX version (10.14) than being linked (10.7)
ld: warning: object file (Window.a(AddWindowTimer.o)) was built for newer OSX version (10.8) than being linked (10.7)
ld: warning: object file (Window.a(Debug.o)) was built for newer OSX version (10.8) than being linked (10.7)
ld: warning: object file (Event.a(BindEvent.o)) was built for newer OSX version (10.8) than being linked (10.7)
ld: warning: object file (Event.a(Event_DEBUG.o)) was built for newer OSX version (10.8) than being linked (10.7)
ld: warning: object file (Gadget.a(BindGadgetEvent.o)) was built for newer OSX version (10.8) than being linked (10.7)
ld: warning: object file (Gadget.a(Debug.o)) was built for newer OSX version (10.8) than being linked (10.7)
...
clang: error: linker command failed with exit code 1 (use -v to see invocation)
What do I do to fix these?

Re: Linker error

Posted: Sun Dec 08, 2019 12:59 pm
by Fred
you try to link on OS X 10.7 ?

Re: Linker error

Posted: Sun Dec 08, 2019 1:15 pm
by wombats
I don't know how to do that with the makefile it supplies. The only option I see in there is mmacosx-version-min=10.4, but changing it to 10.7 doesn't make it work.