XMP Toolkit & Static C++ libraries import
Florent Lacheroy
florent.lacheroy at alwancolor.com
Fri Sep 28 00:53:07 PDT 2007
Hi,
Thanks for your help.
I finally decide to create a new project with my classes. I set the
libraries and headers paths, changed some code in my classes and it
worked.
Actually, I had two problems in my project:
1. I must have corrupted the build settings to the bone when I was
trying to solve problem 2.
2. I did not correctly initialize XMP classes I used (SXMPFiles and
SXMPMeta): I forgot to call "Initialize" method of the classes. I
thought because of the kind of error I got it was a link problem.
Florent Lacheroy
florent.lacheroy at alwancolor.com
On 27 sept. 07, at 20:59, Diederik Hoogenboom wrote:
> 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