![]() |
|
|
|
#1
|
|||
|
|||
|
I am working with Chris on this problem and I'd like to add that we'd be really appreciative if anyone has documentation on how Vizard works with dlls, etc. We have read the documentation on sensor.h and creating a sensor, but we haven't found anything on general C++ classes, how they need to be created, what paths need to be set, etc so that we can just say simply:
import newmodule.py when newmodule is actually written in C++ Thanks! |
|
#2
|
|||
|
|||
|
When you call:
import module Python will search the system path for either module.py or module.dll. You don't have to specify what kind of module it is when you import it. Either way, from the information you provided, it seems that the module is being imported fine. The problem seems to be that one of its functions is failing. Are you sure that the module does not depend on any 3rd party DLLs that might have gone missing on your system? Also, to be sure that you are using the correct module, execute the following code immediately after importing the capture module: Code:
print capture.__file__ |
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| face problems in Vizard 3.0 | v-clizzin | Vizard | 2 | 09-19-2007 04:32 PM |
| Problems with making multiple objects from one .wrl? | mjabon | Vizard | 3 | 07-10-2007 02:23 PM |
| v 1.09 problems with STEREO/HMD modes | hotspur1 | Vizard | 19 | 10-17-2005 03:29 AM |
| Viz PPT 1 problems | Adam | Vizard | 3 | 08-30-2005 11:54 AM |
| Problems with lighting in 2.0 | murm | Vizard | 6 | 04-21-2004 10:59 AM |