[Robotics] YARP+Blender, DLL import error
Paul Fitzpatrick
paulfitz at alum.mit.edu
Mon Jun 8 21:12:26 CEST 2009
Hi Boris,
There's a bug report against ACE 5.6 on Windows that sounds like your
problem:
http://groups.google.com/group/comp.soft-sys.ace/msg/c27f1f346ae840c3
It describes a crash in ACE_Thread::keycreate when ACE is being
initialized by a call in a DLL used by a 3rd party application. That's
your situation. The advice in the bug report is just to upgrade ACE.
The latest packaged release is ACE-5.6.9.
Cheers,
Paul
Boris Duran wrote:
> Hi everybody
>
> I'm new to the list but have already checked previous messages about
> YARP+Blender and couldn't find anything related to my problem so I hope
> you guys can help me. I'm following the instructions at
> http://wiki.blender.org/index.php/Robotics:Middleware/YARP I'm working
> with the last version of YARP, ACE 5.6, Python 2.5.4, Blender 2.49 in a
> WindowsXP machine with VisualStudio 2008. Blender recognizes Python and
> I've tested the "example.py" in YARP to see that Python is working from
> YARP. The code from >yarp2\example\swig\example.py works well after
> copying "_yarp.pyd" and "yarp.py" to >Python25\Lib\site-packages\. I've
> also moved these files to confirm that they are the ones called when
> executing Python code calling YARP functions. The moment I click [SPACE]
> I get the following ImportError in the Blender's console:
>
> ACE_Thread::keycreate() failed!Python script error from controller
> "cont#CONTR#1":
> Traceback (most recent call last):
> File "c:\Boris\cppStuff\myStuff\myBlender\\send_image.py", line 32, in
> <module> import yarp
> File "C:\Python25\lib\site-packages\yarp.py", line 28, in <module>
> import _yarp
> ImportError: DLL load failed: Invalid access to memory location.
>
> Blender Game Engine Finished
>
> Do I have to do something else with YARP and swig or Blender or Python???
>
> Boris
>
> _______________________________________________
> Robotics mailing list
> Robotics at blender.org
> http://lists.blender.org/mailman/listinfo/robotics
>
More information about the Robotics
mailing list