[Robotics] YARP+Blender, DLL import error

Boris Duran boris at yodir.com
Mon Jun 8 13:25:02 CEST 2009


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



More information about the Robotics mailing list