Re: [osg-users] [build] Building OpenSceneGraph Windows
Hi, all. Sorry for this very long time to reply. The %PATH% Variables were the solution of my problem. OpenSceneGraph is just building at the moment with MSYS. Thank you for this Christian Schulte. Also the tutorial of kornerr was helpful for my understanding. I am very happy that OSG is building at the moment. It takes quite a while but so ;). But now I have a new question. I got this messages in my log file. Should I be concerned about those and what exactly do they mean? Espacially with the ZLIB missing, JPEG missing, PNG missing Thank you again for your support. I am really happy. Thank you! Cheers, Stefan Here comes the Log: CMake Deprecation Warning at CMakeLists.txt:36 (cmake_policy): The OLD behavior for policy CMP0008 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. CMake Deprecation Warning at CMakeLists.txt:43 (cmake_policy): The OLD behavior for policy CMP0020 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. The C compiler identification is GNU 6.3.0 The CXX compiler identification is GNU 6.3.0 Check for working C compiler: C:/MinGW/bin/gcc.exe Check for working C compiler: C:/MinGW/bin/gcc.exe -- works Detecting C compiler ABI info Detecting C compiler ABI info - done Detecting C compile features Detecting C compile features - done Check for working CXX compiler: C:/MinGW/bin/g++.exe Check for working CXX compiler: C:/MinGW/bin/g++.exe -- works Detecting CXX compiler ABI info Detecting CXX compiler ABI info - done Detecting CXX compile features Detecting CXX compile features - done Looking for pthread.h Looking for pthread.h - not found Found Threads: TRUE Found OpenGL: opengl32 Performing Test GL_HEADER_HAS_GLINT64 Performing Test GL_HEADER_HAS_GLINT64 - Failed Performing Test GL_HEADER_HAS_GLUINT64 Performing Test GL_HEADER_HAS_GLUINT64 - Failed 32 bit architecture detected Could NOT find Freetype (missing: FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS) Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR) Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR JPEG_LIBRARIES) Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR) Could NOT find ZLIB (missing: ZLIB_INCLUDE_DIR) Could NOT find ZLIB (missing: ZLIB_INCLUDE_DIR) Could NOT find GDAL (missing: GDAL_LIBRARY GDAL_INCLUDE_DIR) Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR) Could NOT find GStreamer (missing: GSTREAMER_INCLUDE_DIRS GSTREAMER_LIBRARIES GSTREAMER_VERSION GSTREAMER_BASE_INCLUDE_DIRS GSTREAMER_BASE_LIBRARIES GSTREAMER_APP_INCLUDE_DIRS GSTREAMER_APP_LIBRARIES GSTREAMER_PBUTILS_INCLUDE_DIRS GSTREAMER_PBUTILS_LIBRARIES) Could NOT find SDL2 (missing: SDL2_LIBRARY SDL2_INCLUDE_DIR) Could NOT find SDL (missing: SDL_LIBRARY SDL_INCLUDE_DIR) Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) Found unsuitable Qt version "" from NOTFOUND Could NOT find Qt3 (missing: QT_QT_LIBRARY QT_INCLUDE_DIR QT_MOC_EXECUTABLE) Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR) Could NOT find ZLIB (missing: ZLIB_INCLUDE_DIR) Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR) Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR) Performing Test _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS Performing Test _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS - Success Performing Test _OPENTHREADS_ATOMIC_USE_MIPOSPRO_BUILTINS Performing Test _OPENTHREADS_ATOMIC_USE_MIPOSPRO_BUILTINS - Failed Performing Test _OPENTHREADS_ATOMIC_USE_SUN Performing Test _OPENTHREADS_ATOMIC_USE_SUN - Failed Performing Test _OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED Performing Test _OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED - Failed Performing Test _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC Performing Test _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC - Failed Configuring done Generating done ... -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=74581#74581 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] Building OpenSceneGraph Windows
Hi. Here's a step-by-step guide to get you started with OSG & MinGW: https://github.com/OGStudio/openscenegraph-cross-platform-guide/tree/master/1.3.InstallUnderWindows On 8 January 2018 at 12:43, Christian Schultewrote: > Hi Stephan, > > in my honest opinion it looks more like a compiler configuration issue than > an OSG problem. Try to check the environment variables PATH (in a command > window "echo %PATH%") and look for the path to your mingw/bin. As far as I > know the mingw_get does not configure the environment variables of the > Windows system. CMake is, during configuration, testing if the compiler > works correctly before configuring OSG itself. > > Regards, > > Christian > > > Le 24/12/2017 05:13, Stefan Waldegger a écrit : >> >> Hi, >> >> this is my first post here and I have already searched in this Forum and >> on google but I did not get the answer which is handling my problem. >> >> So I have read a lot about OSG in the internet and no I want to give it a >> try. >> I have downloaded OSG 3.4.1 from the official homepage. >> >> Then I unzipped it and put it to a convinient place and had a look into >> it. I found the sourcecode and some makefiles in the folder. >> >> >From my experiences using Ubuntu and other Unix distibutions I know how >> easy this normally is, just call make and a big batch is being executed and >> voila, all the .so and .a files are here and everybody is happy. >> >> But now I am on windows. Windows 10 to be honest. >> >> I am using Code::Blocks as IDE and MinGW compiler. Downloaded with >> MinGW_get. So it is not that comes with Code::Blocks. >> >> Also I downloaded CMake for windows with the Gui. >> Then I started the CMake gui and on the first glance it all looked very >> easy. >> >> I entered the path of OSG as source and the same path as destnation, >> clicked on configure, chose MinGW as compiler, clicked ok. >> >> Aaaand then. Like 20 messageboxes are popping up in seria telling me that >> dll files are missing libisl-15.dll, libmingwex-0.dll, libiconv-2.dll, >> libgmp-10.dll, and much more. And naturally CMake finishes wihtout >> having done anything in the end. >> >> It is this messagebox wich comes when you want to try to sart a program >> the the dll is missing. But the funny thing is, when I look in the MinGW\bin >> folder, all the dlls are there. It is also the first time I am using CMake >> in windows, so I dont have any experience here. >> >> Do you know this issue, is there a solution? >> >> Thank you all for your support in advance. >> >> Merry Christmas >> >> Cheers, >> Stefan >> >> -- >> Read this topic online here: >> http://forum.openscenegraph.org/viewtopic.php?p=72635#72635 >> >> >> >> >> >> ___ >> osg-users mailing list >> osg-users@lists.openscenegraph.org >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> > > > -- > SCHULTE Christian > Ingénieur Recherche > Responsable du Laboratoire de Simulation > ONERA - DTIS/PSEV > Département Traitement de l'information et systèmes > ONERA - Centre de Salon de Provence > BA 701 > 13661 SALON AIR Cedex - France > Tel :04.90.17.01.45 > > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] Building OpenSceneGraph Windows
Hi Stephan, in my honest opinion it looks more like a compiler configuration issue than an OSG problem. Try to check the environment variables PATH (in a command window "echo %PATH%") and look for the path to your mingw/bin. As far as I know the mingw_get does not configure the environment variables of the Windows system. CMake is, during configuration, testing if the compiler works correctly before configuring OSG itself. Regards, Christian Le 24/12/2017 05:13, Stefan Waldegger a écrit : Hi, this is my first post here and I have already searched in this Forum and on google but I did not get the answer which is handling my problem. So I have read a lot about OSG in the internet and no I want to give it a try. I have downloaded OSG 3.4.1 from the official homepage. Then I unzipped it and put it to a convinient place and had a look into it. I found the sourcecode and some makefiles in the folder. >From my experiences using Ubuntu and other Unix distibutions I know how easy this normally is, just call make and a big batch is being executed and voila, all the .so and .a files are here and everybody is happy. But now I am on windows. Windows 10 to be honest. I am using Code::Blocks as IDE and MinGW compiler. Downloaded with MinGW_get. So it is not that comes with Code::Blocks. Also I downloaded CMake for windows with the Gui. Then I started the CMake gui and on the first glance it all looked very easy. I entered the path of OSG as source and the same path as destnation, clicked on configure, chose MinGW as compiler, clicked ok. Aaaand then. Like 20 messageboxes are popping up in seria telling me that dll files are missing libisl-15.dll, libmingwex-0.dll, libiconv-2.dll, libgmp-10.dll, and much more. And naturally CMake finishes wihtout having done anything in the end. It is this messagebox wich comes when you want to try to sart a program the the dll is missing. But the funny thing is, when I look in the MinGW\bin folder, all the dlls are there. It is also the first time I am using CMake in windows, so I dont have any experience here. Do you know this issue, is there a solution? Thank you all for your support in advance. Merry Christmas Cheers, Stefan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=72635#72635 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- SCHULTE Christian Ingénieur Recherche Responsable du Laboratoire de Simulation ONERA - DTIS/PSEV Département Traitement de l'information et systèmes ONERA - Centre de Salon de Provence BA 701 13661 SALON AIR Cedex - France Tel :04.90.17.01.45 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org