Complementing, my scons command line was:
scons var_type=debug enable_unittests=false BoostBaseDir="<BOOST_BASE_DIR>"
VtkBaseDir="C:\Program Files\VTK" var_arch=ia32 MSVS_VERSION=8.0
2007/7/1, Pablo Carneiro Elias <[EMAIL PROTECTED]>:
Hi everyone, again I had problems while trying to compile OpenSG 2.0informing
VtkBaseDir. I was successful compiling OpenSG
2.0 withou VtkBaseDir, but this way the ContribVTK library cannot be
built.. Look the error message I got:
Checking for VTK... [OK]
Checking for: tiff
Checking for C++ library tif32... no
Validation failed for option: tiff
Checking for: png
Checking for C++ library libpng... no
Validation failed for option: png
Checking for: jpeg
Checking for C++ library libjpeg... no
Validation failed for option: jpeg
Found MSVS. using version: 8.0
{'FRAMEWORKDIR': u'C:\\WINDOWS\\Microsoft.NET\\Framework\\',
'FRAMEWORKSDKDIR': u'C:\\Program Files\\Microsoft Visual Studio
8\\SDK\\v2.0\\'
,
'FRAMEWORKVERSION': u'v2.0.50727',
'FRAMEWORKVERSIONS': [u'v2.0.50727', u'v1.1.4322 ', u'v1.0.3705'],
'PROJECTSUFFIX': '.vcproj',
'SOLUTIONSUFFIX': '.sln',
'SUITE': 'STD',
'SUITES': ['STD'],
'VCINSTALLDIR': u'C:\\Program Files\\Microsoft Visual Studio 8\\VC\\',
'VERSION': '8.0',
'VERSIONS': ['8.0'],
'VSINSTALLDIR': u'C:\\Program Files\\Microsoft Visual Studio 8\\'}
Scanning libraries: ....AttributeError: VTK instance has no attribute
'library':
File "D:\Pablo\Programming\lib\OpenSG2.0-test\SConstruct", line 714:
lib_map = biScanner.scan()
File "Tools\scons-build\BuildInfoScanner.py", line 68:
self._recursiveScan(scanDir)
File "Tools\scons-build\BuildInfoScanner.py", line 154:
popStack = self._recursiveScan(d)
File "Tools\scons-build\BuildInfoScanner.py", line 154:
popStack = self._recursiveScan(d)
File "Tools\scons-build\BuildInfoScanner.py", line 98:
execfile(biFilename, biDict)
File "Source\Contrib\VTK\build.info", line 14:
for lib in vtk_option.library:
Anyone has any guess about this?
Thank you!
2007/6/29, Pablo Carneiro Elias <[EMAIL PROTECTED]>:
>
> Caster, now I did it... it was the boost version, as you said.
>
> Thanks for the help... now, if anyone has that same problem, the windows
> build with scons works only with boost 1_33_1, var_type=debug !
>
> Thanks
>
> 2007/6/29, Carsten Neumann <[EMAIL PROTECTED] >:
> >
> > Hello Pablo,
> >
> > Pablo Carneiro Elias wrote:
> > > I understand that is a linking problem and that scons was unable to
> > find
> > > the
> > > symbol "unsigned i
> > > nt boost::filesystem::detail::not_found_error" which is a boos
> > symbol of
> > > the
> > > boost filesystem library. I have boost installed perfectly.. so
> > thats is a
> > > bit strange.. The boost library is being added to the linkage
> > command by
> > > scons: ... boost_filesystem-vc80-mt-1_34.lib... but the symbol could
> > not be
> > > found.
> >
> > this is strange indeed. The only idea I have is that you might want to
> > try boost-1.33. Apparently the filesystem library has undergone
> > massive
> > changes and I can not find a trace of the class not_found_error in the
> >
> > 1.34 sources, but it was present in 1.33. However, AFAICS OpenSG
> > nowhere
> > uses this, so it must be pulled in by something else. Did you perhaps
> > change boost versions while experimenting and might have some stale
> > object files?
> >
> > Hope it helps,
> > Carsten
> >
> >
> > -------------------------------------------------------------------------
> > 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