Hi Robert, thanks for reply

Producer confused me because there are CMakeCache.txt and CMakeList.txt
files in the directory
No problem using GNUmakefile, ok, i miss the colored output, but thats it :-)

BUILD_OSG_WRAPPERS was a good hint, thanks, I can pass it with cmake
-DBUILD_OSG_WRAPPERS=ON .

unfortunately osgwrappers don't build, compiling works but linking fails,
brings some strange errors (I will append a part of the output at the end)


I build the OpenSceneGraph documentation with cmake using all_Doxyfile,
make links to
doc/Doxyfiles/doxyfile.cmake (I think required by cmake)
and
docs/doxyfile (I think required by doxygen)

and edit some things
I changed
INPUT FILE_PATTERNS RECURSIVE EXCLUDE

I played arround a little bit, and I only got usefull results when turn
off recursive and set input explicit to inputdirs, but maybe there is an
other/better way to generate the/a_usefull dogygen documentation.




here the output of linking osgwrapper_osg.so
just the last parts, I get tons of this messages, for each object file,
after waiting a long time
Cmake build testing
I hope it is ok to post this in this thread and not in the other one about
Cmake build testing, but I don't know if this is a general problem or only
a problem on my system

/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../i486-slackware-linux/bin/ld:
`.L41382' referenced in section `.rodata' of
CMakeFiles/osgwrapper_osg.dir/osg/Array.o: defined in discarded section
`.gnu.linkonce.t._ZNK16osgIntrospection23PropertyAccessException9build_msgERKSsNS0_10AccessTypeE'
of CMakeFiles/osgwrapper_osg.dir/osg/Array.o

/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../i486-slackware-linux/bin/ld:
`.L41383' referenced in section `.rodata' of
CMakeFiles/osgwrapper_osg.dir/osg/Array.o: defined in discarded section
`.gnu.linkonce.t._ZNK16osgIntrospection23PropertyAccessException9build_msgERKSsNS0_10AccessTypeE'
of CMakeFiles/osgwrapper_osg.dir/osg/Array.o

/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../i486-slackware-linux/bin/ld:
`typeinfo for osg::TemplateIndexArray<int, (osg::Array::Type)3, 1, 5124>'
referenced in section
`.gnu.linkonce.t._Z15extended_typeidIN3osg18TemplateIndexArrayIiLNS0_5Array4TypeE3ELi1ELi5124EEEEN16osgIntrospection16ExtendedTypeInfoEv'
of CMakeFiles/osgwrapper_osg.dir/osg/Array.o: defined in discarded section
`.gnu.linkonce.d._ZTIN3osg18TemplateIndexArrayIiLNS_5Array4TypeE3ELi1ELi5124EEE'
of CMakeFiles/osgwrapper_osg.dir/osg/Array.o

/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../i486-slackware-linux/bin/ld:
BFD 2.15.92.0.2 20040927 internal error, aborting at elf32-i386.c line
2224 in elf_i386_relocate_section

/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../i486-slackware-linux/bin/ld:
Please report this bug.

collect2: ld returned 1 exit status
make[2]: *** [lib/osgPlugins/osgwrapper_osg.so] Error 1
make[1]: *** [src/osgWrappers/CMakeFiles/osgwrapper_osg.dir/all] Error 2
make: *** [all] Error 2


anyone any ideas how to fix this?
every trial and build needs so much time...

lg
harri





> Hi Harald,
>
>> for OpenThreads and OpenScenegraph I use cmake
>>
>> a few (small) problems:
>>
>> passing -DBUILD_DOCUMENTATION=ON
>> OpenSceneGraph:
>> CMake Error: File
>> ...somewhere/svn/OpenSceneGraph/doc/Doxyfiles/doxyfile.cmake does not
>> exist.
>>
>> OpenThreads reports no error, but doc is not build
>
> Documentation isn't yet supported properly in the CMake build.
>
>
>> cmake for Producer
>> CMake Error: OpenThreads_DIR is not set.  It must be set to the
>> directory containing OpenThreadsConfig.cmake in order to use
>> OpenThreads.
>> I still have no idea how I can fix this so I build Producer with the
>> GNUmakefile
>
> Producer doesn't have support for CMake, and neither does osgProducer so
> you should use the GNUmakefile system.  This system has been in place
> for many years and is what the OSG and OpenThreads originally used.
>
> Whether Producer might move across to using CMake is entirely up to Don
> Burns, the Producer mailing list is a good place to raise this topic
> with him.  Once I get more familiar with CMake I'll probably move
> osgProducer across to CMake.
>
>> for OpenSceneGraph
>> additional customation, how can I tell cmake COMPILE_INTROSPECTION ?=
>> yes
>
> make edit_cache
>
> Then go down to the BUILD_OSG_WRAPPERS option and toggle it on.  There
> are instructions on screen when you use edit_cache.
>
> Alternatively use ccmake rather than cmake as it will automatically
> invoke edit_cache.
>
> Robert.
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/



_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to