[flext] Problem Linking C-style external dll in flext project
Thomas Grill
gr at grrrr.org
Fri Jan 8 18:28:49 CET 2010
Am 08.01.2010 um 18:25 schrieb Jean-Yves Gratius:
> Hello
> Here are the 2 relevant lines of pure data verbose messages :
>
>> tried C:\\Musique\\Projets\\2010\\pix_ps3eye\\pix_ps3eye\\pix_ps3eye.dll and succeeded
>> C:\\Musique\\Projets\\2010\\pix_ps3eye\\pix_ps3eye\\pix_ps3eye.dll: couldn't load
>
> As I said in related discussion ( here), the dll loads correctly if i remove from code any call to CLEye functions
Ok, did you in your C++ code specify standard-C linkage for the API functions, e.g. by using code like
extern "C" {
#include <ps3headers etc.>
}
gr~~~
>
>
>> Hi Jean-Yves,
>> please direct all your flext-related questions to the flext mailing list.
>> Concerning your problem, what does pd complain about specifically (e.g. with the -verbose option), when you write
>>
>> "No compilation problem when including new headers and functions.
>> But PureData says he can’t load my dll."
>>
>> gr~~~
>>
>> Am 08.01.2010 um 18:09 schrieb Jean-Yves Gratius:
>>
>>> Hi
>
>>> I am trying to maintain a gem-wrapper in order to use drivers of CodeLaboratories for the webcam Ps3Eye with windows XP
>>>
>>> With the old version (<= 3.xxx) of ps3eye SDK (written in C++) there was no problem.
>>> With the new version(>4.xx) of SDK, written in C, there is a problem on dll load time.
>>>
>>> All the discussion is here.
>
>>>
>>> JYG
>>>
>>>
>>>
>>>
>>>
>
> _______________________________________________
> http://grrrr.org/ext/flext
>
> flext mailing list
> flext at grrrr.org
> http://grrrr.org/cgi-bin/mailman/listinfo/flext
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://grrrr.org/pipermail/flext/attachments/20100108/2651b660/attachment.htm>
More information about the flext
mailing list