Running ccmake I get:
---
CMake Error: Error in cmake code
at /home/cubicool/sources/svn-OpenSceneGraph/examples/CMakeLists.txt:152:
Parse error. Expected a command name, got right paren with text ")".
The end of a CMakeLists file was reached with an IF statement that was
not closed properly. Within the
directory: /home/cubicool/sources/svn-OpenSceneGraph/examples
The arguments are: DYNAMIC_OPENSCENEGRAPH
The end of a CMakeLists file was reached with an IF statement that was
not closed properly. Within the
directory: /home/cubicool/sources/svn-OpenSceneGraph/examples
The arguments are: BUILD_OSGWIDGET
---
...which I was able to fix by using the attached diff. I didn't figure
it was a big enough issue to warrant a full-protocol submission for
now...
On Tue, 2008-07-15 at 17:58 +0100, Robert Osfield wrote:
> Hi All,
>
> I have just completed the import of Jeremy Moles osgWidget library
> into OpenSceneGraph SVN trunk. I merged with relatively few changes -
> mainly just CMakeLists.txt file changes and move of
> imager/scripts/shaders out into OpenSceneGraph-Data SVN trunk.
>
> We need to come up with some new imagery files for the osgwidget
> examples so that we know we know the full history/license of them, as
> I've only placed the ones in OpenSceneGraph-Data that are original.
> We might be able to just reuse existing OpenSceneGraph-Data for these
> examples.
>
> There are also fonts references in the osgwidgets examples that I
> don't have in OpenSceneGraph-Data so we'll need to enumerate these and
> then replace/add them into OpenSceneGraph-Data where appropriate.
>
> Now osgWidget's is in OSG SVN it'll be exposed to much more testing
> across platforms so there is certainly potential for build problems.
> Picking these up early will allow us to fix them in plenty of time for
> 2.6 so I'd very much appreciate testing across as many platforms as
> people have access to.
>
> Just in case build issues do come about then you can disable the build
> of osgWidget via the BUILD_OSGWIDGET Cmake variable, this currently
> defaults to ON. If everything builds fine across all platforms then
> I'll drop build option to keep things simple.
>
> Thanks in advance for you assistance on testing. Once it looks like
> things are building across all our main platforms I'll go ahead and
> tag another dev release.
>
> Cheers,
> Robert.
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
Index: ../examples/CMakeLists.txt
===================================================================
--- ../examples/CMakeLists.txt (revision 8588)
+++ ../examples/CMakeLists.txt (working copy)
@@ -149,7 +149,7 @@
ADD_SUBDIRECTORY(osgviewerCocoa)
ENDIF(APPLE)
- IF (BUILD_OSGWIDGET))
+ IF (BUILD_OSGWIDGET)
ADD_SUBDIRECTORY(osgwidgetaddremove)
ADD_SUBDIRECTORY(osgwidgetbox)
ADD_SUBDIRECTORY(osgwidgetcanvas)
@@ -163,7 +163,7 @@
ADD_SUBDIRECTORY(osgwidgetstyled)
ADD_SUBDIRECTORY(osgwidgettable)
ADD_SUBDIRECTORY(osgwidgetversion)
- ADD_SUBDIRECTORY(osgwidgetwindow
+ ADD_SUBDIRECTORY(osgwidgetwindow)
ENDIF(BUILD_OSGWIDGET)
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org