XMP Toolkit & Static C++ libraries import

Diederik Hoogenboom mailings at obviousmatter.com
Thu Sep 27 11:59:06 PDT 2007


Hi Florent,

Make sure that, if you use Obj-C, to name the class files where you  
use the XMP classes .mm (Obj-C++) instead of .m. This will cause the  
right libraries to be linked in.

Diederik

--
Diederik Hoogenboom
Obvious Matter - DiskLibrary for Mac
http://www.obviousmatter.com



On 26-sep-2007, at 19:43, Florent Lacheroy wrote:

>
> Hi,
>
> I'm trying to use XMP Toolkit in my application but it seems I'm  
> missing something about the way to import a static C++ library (.a  
> extension) in my Cocoa project.
>
> When I'm compiling the release, I've got this message:
> "warning suggest use of -bind_at_load, as lazy binding may result  
> in errors or different symbols being used"
> the build succeed and no executable is generated in the app package?!?
> The debug version is completely unstable.
>
> The samples embedded in the XMP SDK are perfectly working on my  
> machine so I think XMP Libs I've compiled are OK.
>
> Is there anyone experienced in this domain?
>
>
> Thanks for your help
>
>
>
> Florent Lacheroy
> florent.lacheroy at alwancolor.com
>
>
>
> _______________________________________________
> MacOSX-dev mailing list
> MacOSX-dev at omnigroup.com
> http://www.omnigroup.com/mailman/listinfo/macosx-dev
>



More information about the MacOSX-dev mailing list