Linker error

Mac OSX specific forum
wombats
Enthusiast
Enthusiast
Posts: 718
Joined: Thu Dec 29, 2011 5:03 pm

Linker error

Post 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?
Fred
Administrator
Administrator
Posts: 18220
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Linker error

Post by Fred »

you try to link on OS X 10.7 ?
wombats
Enthusiast
Enthusiast
Posts: 718
Joined: Thu Dec 29, 2011 5:03 pm

Re: Linker error

Post 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.
Post Reply