[osg-users] [build] 2.9.3 cmake error

Mattias Helsing helsing72 at gmail.com
Mon May 4 03:49:21 PDT 2009


Hi Matthias, Alexandra

Your problems seems very odd so I'm gonna need some more info. If you
solved it already ignore my questions but please pass your solution to
Alexandra.

Do the files that cmake complains about actually exist?
Are you building "in-source" or "out-of-source"?

I'm thinking you may have downloaded a corrupted archive or that the
files got currupted during extraction. Where did you download the
archive from (yes I can guess but want to be sure:) and what tool did
you use to extract it?

I just got an idea (or a wild guess). It seems you don't have either
cmake_minimum_required (which is the first thing in the top-level
cmakelists.txt) or the OsgMacroUtils macros which are included from
(again) the toplevel CMakeLists.txt. So - are you really using

C:/Dokumente und
> Einstellungen/Matze/Desktop/OpenSceneGraph-2.9.3/OpenSceneGraph-2.9.3

as "Where is the source:" ? Could Alexandra check this too (with
another path of course)

cheers
Mattias

On 4/24/09, Matthias Asselborn <matthias.asselborn at gmx.de> wrote:
> Hi,
>
> today i want to build openscenegrpah 2.9.3
> ive unpacked the compressed file.
> but cmake 2.6.3 reports this
> what can i do?
>
>
> Code:
>
> Check for working C compiler: cl
> Check for working C compiler: cl -- works
> Detecting C compiler ABI info
> Detecting C compiler ABI info - done
> Check for working CXX compiler: cl
> Check for working CXX compiler: cl -- works
> Detecting CXX compiler ABI info
> Detecting CXX compiler ABI info - done
> CMake Error at OpenThreads/CMakeLists.txt:12 (INCLUDE):
>   include could not find load file:
>
>     CheckAtomicOps
>
>
> CMake Error: File C:/Dokumente und
> Einstellungen/Matze/Desktop/OpenSceneGraph-2.9.3/OpenSceneGraph-2.9.3/src/PlatformSpecifics/Windows/OpenThreadsVersionInfo.rc.in
> does not exist.
> CMake Error at OpenThreads/CMakeLists.txt:36 (CONFIGURE_FILE):
>   configure_file Problem configuring file
>
>
> Looking for include files CMAKE_HAVE_PTHREAD_H
> Looking for include files CMAKE_HAVE_PTHREAD_H - not found.
> Found Threads: TRUE
> CMake Error: File C:/Dokumente und
> Einstellungen/Matze/Desktop/OpenSceneGraph-2.9.3/OpenSceneGraph-2.9.3/src/packaging/pkgconfig/openthreads.pc.in
> does not exist.
> CMake Error at OpenThreads/CMakeLists.txt:103 (CONFIGURE_FILE):
>   configure_file Problem configuring file
>
>
> CMake Error at osg/CMakeLists.txt:326 (LINK_INTERNAL):
>   Unknown CMake command "LINK_INTERNAL".
>
>
> CMake Warning (dev) in CMakeLists.txt:
>   No cmake_minimum_required command is present.  A line of code such as
>
>     cmake_minimum_required(VERSION 2.6)
>
>   should be added at the top of the file.  The version specified may be
> lower
>   if you wish to support older CMake versions for this project.  For more
>   information run "cmake --help-policy CMP0000".
> This warning is for project developers.  Use -Wno-dev to suppress it.
>
> Configuring incomplete, errors occurred!
>
>
>
>
> thanks
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=10813#10813
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



More information about the osg-users mailing list