Hi, On Sat, 2008-12-20 at 19:10 +0100, Carsten Neumann wrote: > Hello Patrik, > > On Sat, Dec 20, 2008 at 6:26 PM, padd...@gmx.net <padd...@gmx.net> wrote: > > Carsten - I was to fast with my answer - only seeing the project files > > without testing it. > > > > So here are some new problems (remember: VC2005 without a cygwin > > installation): > > > > If I try to compile OSGSystem I got the following message: > > > > 1>OSGScanParseSkelScanner.cpp > > 1>C:\Projekte\c++\GnuWin32\include\FlexLexer.h(47) : fatal error C1083: > > Datei (Include) kann nicht geöffnet werden: "iostream.h": No such file > > or directory > > > > iostream.h isn't part of VC 7.1 and greater.. > > yeah, the .h names are pre-standard artifacts, pretty annoying how > long this type of thing can haunt you ;)
problem is the gnuwin32 version is pretty old (2004). Newer versions (e.g. the 2.5.35 on my linux system) fix this problem. I'll guess best it to add a version check, I don't want to go back to sed the FlexLexer.h > > After googling for the problem I tried to replace iostream.h with > > <iostream> and adding "using namepsace std" inside Flexlexer.h I also > > can't compile OSGScanParseSkelScanner.ll. Can I also add using namespace > > std to this file? > > are you using the pre-generated flex/bison files out of the repository > or did you enable the regeneration of these files in the build > (OSG_ENABLE_SCANPARSE_REGEN, only since r1640) ? what is the latest error message ?. The prebuild ones should work fine, they come (and use) their own FlexLexer version. > >>> - I couldn't create the projecect when enabling the tests > >> > >> does it report any errors, can you post the output from the failed > >> generation, please ? > >> > > > > CMake Error at CMakeLists.txt:642 (INCLUDE): > > include could not find load file: > > > > C:/Projekte/3D/OpenSG2/bin/OSGWindowGLUT.cmake > > Call Stack (most recent call first): > > Source/System/CMakeLists.txt:28 (SETUP_PROJECT) > > hm, the problem is that you don't have glut (or it is not found) and > so far there are not enough/no checks for it. Perhaps we should just > make glut a requirement, without it none of the tests and the majority > of tutorials/examples can not be compiled. yep, the test checks are not very sophisticated. I'm going to change this. I don't want to make glut a must. At least you should be able to build the ComplexSceneManager (mostly uses the native window) without it and that one gives you quite some examples/possibilities to work with. > >>> - when I add freetype it wants an fontconfig file > >> > >> hm, I don't know much about the text support or freetype, but I think > >> we need both libraries freetype and fontconfig. On the other hand I > >> always thought we used some native win32 font interface on that > >> platform? > > > > I will take a look at the VTK cmake files ;-) > > uhm, you lost me here, where does VTK figure into this, or do they use > freetype/fontconfig as well and you want to see how they handle it ? With VTK you have to be a little careful. What it doesn't find it often brings with it (e.g. all the image libs). But as Carsten said the text implementation is build around the native text support. So freetype should only be needed on unix-like systems. I'll take it out of the windows config/build to avoid confusion. kind regards, gerrit ------------------------------------------------------------------------------ _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users