Page 1 of 1

Linker error

Posted: Thu Apr 14, 2016 11:35 am
by DoubleDutch
XML fails when latest xcode and/or OSX is used.
iD: file not found: xml.a
clang: error: linker command failed with exit code 1
(use -v to see invocation)
To see the error, just load the xml example from the help file.

Re: Linker error

Posted: Thu Apr 14, 2016 11:43 am
by Keya
doesn't seem to be a problem here. two weeks ago i freshly installed El Capitan, also installed the latest XCode, but apart from that its a new clean system just with the latest Purebasic 5.42LTS ... i tried both x86 and x64 with \examples\sources\xml.pb and both compiled and executed fine

Re: Linker error

Posted: Thu Apr 14, 2016 11:48 am
by wilbert
There's only one PureBasic version that works with the latest XCode and that's the updated 5.42 version.
Maybe a bit confusing but an updated version was released under the same version number after the initial release.
http://www.purebasic.fr/english/viewtop ... 41#p485341

Re: Linker error

Posted: Thu Apr 14, 2016 12:01 pm
by DoubleDutch
wilbert: Thanks, that was it. Re-downloaded and it works now. :)

I'll leave this here in case someone else has the same problem.