Hi Martin,
On Tue, May 26, 2009 at 7:52 PM, Martin Beckett <[email protected]> wrote:
> The OPENVRML_ANTLR_LIBRARY doesn't seem to be part of the openvrml src
> download and there is no mention of it on the openvrml site.
I just had a look for references to the OPENVRML_ANTLR_LIBRARY var and
it comes from the Win32 section of the
OpenSceneGraph/src/osgPlugins/vrml/CMakeLists.txt. Neither Jan or
myself have touched this CMakeLists.txt file on merging Jan's changes
so I can only guess that these Win32 extra's were previously required,
but aren't any longer. The problem section looks like:
IF (WIN32)
INCLUDE_DIRECTORIES(${JPEG_INCLUDE_DIR})
INCLUDE_DIRECTORIES(${PNG_INCLUDE_DIR})
INCLUDE_DIRECTORIES(${ZLIB_INCLUDE_DIR})
FIND_LIBRARY(OPENVRML_ANTLR_LIBRARY
NAMES antlr.lib
PATHS $ENV{OPENVRML_DIR}/lib)
FIND_LIBRARY(OPENVRML_ANTLR_LIBRARY_DEBUG
NAMES antlrd.lib
PATHS $ENV{OPENVRML_DIR}/lib)
FIND_LIBRARY(OPENVRML_REGEX_LIBRARY
NAMES regex.lib
PATHS $ENV{OPENVRML_DIR}/lib)
FIND_LIBRARY(OPENVRML_REGEX_LIBRARY_DEBUG
NAMES regexd.lib
PATHS $ENV{OPENVRML_DIR}/lib)
SET(TARGET_LIBRARIES_VARS
OPENVRML_ANTLR_LIBRARY
OPENVRML_REGEX_LIBRARY
OPENVRML_LIBRARY
JPEG_LIBRARY
PNG_LIBRARY
ZLIB_LIBRARY)
SET(TARGET_EXTERNAL_LIBRARIES
Ws2_32.lib)
ELSE()
SET(TARGET_LIBRARIES_VARS
OPENVRML_LIBRARY)
ENDIF()
--
Note, how the non Win32 section at the end is just a single SET, it's
curious how previous windows programmers found it necessary to link
all these extras. Have a bash at removing the OPENVRML_ANTLR_LIBRARY
entries in the above section. Also see if you can remove the rest of
the extra entires as ideally we'd be able to just use the same
settings across all platforms.
Robert.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org