Linker error

Mac OSX specific forum
User avatar
DoubleDutch
Addict
Addict
Posts: 3219
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Linker error

Post 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.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
User avatar
Keya
Addict
Addict
Posts: 1891
Joined: Thu Jun 04, 2015 7:10 am

Re: Linker error

Post 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
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3870
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Re: Linker error

Post 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
Windows (x64)
Raspberry Pi OS (Arm64)
User avatar
DoubleDutch
Addict
Addict
Posts: 3219
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Re: Linker error

Post 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.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
Post Reply