Is it possible to load a dylib exported by purebasic in xcode?

Mac OSX specific forum
User avatar
skinkairewalker
Enthusiast
Enthusiast
Posts: 782
Joined: Fri Dec 04, 2015 9:26 pm

Is it possible to load a dylib exported by purebasic in xcode?

Post by skinkairewalker »

Hi everyone ! Can someone help me ?
How can I import a dylib exported by purebasic into xcode?
wombats
Enthusiast
Enthusiast
Posts: 717
Joined: Thu Dec 29, 2011 5:03 pm

Re: Is it possible to load a dylib exported by purebasic in xcode?

Post by wombats »

Do you mean as a plugin for Xcode (I don't know if it supports them, however) or in code you've developed in Xcode? If the latter, since Xcode is an IDE, it'd depend on the language you're using. I would expect that a dylib could be used by most languages on macOS since it's the equivalent of a Windows DLL.
User avatar
skinkairewalker
Enthusiast
Enthusiast
Posts: 782
Joined: Fri Dec 04, 2015 9:26 pm

Re: Is it possible to load a dylib exported by purebasic in xcode?

Post by skinkairewalker »

I wanted to use a dylib exported by purebasic in xcode in a C++ project.
wombats
Enthusiast
Enthusiast
Posts: 717
Joined: Thu Dec 29, 2011 5:03 pm

Re: Is it possible to load a dylib exported by purebasic in xcode?

Post by wombats »

I don't have any experience doing that myself, though I'm sure you can find plenty of resources online.

https://stackoverflow.com/questions/689 ... lopen-in-c - does this help?
Post Reply