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 ;)

> 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) ?

>>> - 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.

>>> - 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 ?

    regards,
       Carsten

------------------------------------------------------------------------------
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to