Hey, I found out why the patch didnt work.. its because the lib and include
dir, added to the path by the python lines below:
+ if vtk_option.baseDir:
+ cpppath.append(pj(vtk_option.baseDir, 'include',
vtk_option.vtkVersion))
+ libpath.append(pj(vtk_option.baseDir, 'lib'))
were added without the '/' before the baseDir. In short, if one specifies
the VtkBaseDir as being <SOMEDIR/> it works. Otherwise the include dir used
by scons gets like SOMEDIRinclude/vtk and SOMEDIRlib... So, the python code
should check by itself if the '/' is present or not. Its the same fo add '/'
to the code ( eg. libpath.append(pj(vtk_option.baseDir, '/lib') ) or to add
to VtkBaseDir.. Adding the '/' made it work!
Thanks
2007/7/1, Gerrit Voss <[EMAIL PROTECTED]>:
Hi,
On Sun, 2007-07-01 at 12:48 -0300, Pablo Carneiro Elias wrote:
> Aplying the patch made it work, but I got another error because
> vtkTimestamp.h could not be found. Its included from OSGVTKMapper.h
> from VTK contrib. I can't see why it cannot be found, vtkTimestamp.h
> lies into include/vtk dir of VtkBaseDir...
>
> any guess?
in short, yes the patch did not really work, it fixed the python
problem but nothing more.
I'll check it the AddOnHacks thing works and let you know.
kind regards,
gerrit
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users