Closed GoogleCodeExporter closed 8 years ago
Update: I finally got it to build a pyd file in msvc and scons, but now python
doesn't like it: "DLL Import failed: The specified module can not be found..."
It also doesn't create the "build" directory....
Original comment by notanymike
on 1 Oct 2011 at 5:48
Hi! thanks for taking the time to do this, looks like you are close, if you
managed to build the python modules, now you need to tell your system where to
find the libraries you compiled.
In order to do that you should add the paths containing those libs doing
something like this:
To manually, permanently add your path to Windows PATH (permanently = until you
remove it), right click My Computer>Properties>Advanced>Environment
Variables>System Variables>Path>Edit>Variable Value, add a semicolon (which
means "in addition to all before") and paste the full path of your dll.
Windows will search the path every time it can't find something in the current
directory.
Original comment by aintergu...@gmail.com
on 4 Oct 2011 at 12:47
Hi,
I've compiled coral on Windows successfully too (with build-sdk=0), but I get
the same error. I can't find any coral.dll or coralUI.dll. It creates coral.exp
and coral.lib; coralUI.exp and coralUI.lib but it doesn't create any .dll file.
Also, if I try to compile it on Windows with build-sdk=1, I get this error:
* Building sdk...
scons: *** [postBuildTarget] AttributeError : 'module' object has no attribute
'symlink'
I've read that os.symlink doesn't exist on Windows:
http://stackoverflow.com/questions/1236172/py2app-error-module-object-has-no-att
ribute-symlink
I'm using Windows 7 x64, python27 x64, boost x64, openEXR x64, tbb x64.
Thank you.
Original comment by lichi...@gmail.com
on 10 Oct 2011 at 2:01
for windows replace the os.symlink line with this two:
shutil.copy2(os.path.join( "coral", sourceCoralLibName),
os.path.join(coralLibsDir, targetCoralLibName))
shutil.copy2(os.path.join( "coralUi", sourceCoralUiLibName),
os.path.join(coralUiLibsDir, targetCoralUiLibName))
Original comment by iaio...@gmail.com
on 11 Oct 2011 at 3:43
I guess we can close this.
Original comment by aintergu...@gmail.com
on 3 Jan 2012 at 11:06
Original issue reported on code.google.com by
notanymike
on 29 Sep 2011 at 7:54