OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

Building OpenSceneGraph Windows


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Build system [build]
View previous topic :: View next topic  
Author Message
Skaldi
Newbie


Joined: 21 Dec 2017
Posts: 2

PostPosted: Sun Dec 24, 2017 4:13 am    Post subject:
Building OpenSceneGraph Windows
Reply with quote

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
Back to top
View user's profile Send private message
Christian Schulte
Guest





PostPosted: Mon Jan 08, 2018 9:46 am    Post subject:
Building OpenSceneGraph Windows
Reply with quote

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 :
Quote:
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.

Quote:
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









--
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



------------------
Post generated by Mail2Forum
Back to top
kornerr
Appreciator


Joined: 01 Oct 2013
Posts: 274

PostPosted: Tue Jan 09, 2018 10:01 am    Post subject:
Building OpenSceneGraph Windows
Reply with quote

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 Schulte
<> wrote:
Quote:
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 :
Quote:

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.

Quote:
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









--
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




------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Skaldi
Newbie


Joined: 21 Dec 2017
Posts: 2

PostPosted: Tue Aug 21, 2018 7:53 pm    Post subject:
Reply with quote

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 Wink.

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



...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Build system [build] All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts OpenSceneGraph-3.6.3 stable release h... robertosfield General 0 Fri Sep 14, 2018 10:39 am View latest post
No new posts OpenSceneGraph-3.6.3 release candidate 3 robertosfield General 1 Thu Sep 13, 2018 8:03 am View latest post
No new posts OpenSceneGraph-3.6.3 release candidat... robertosfield General 15 Tue Sep 11, 2018 11:37 am View latest post
No new posts OpenSceneGraph-3.6.3 release candidat... robertosfield General 6 Thu Sep 06, 2018 11:39 am View latest post
No new posts GL profiles issues on Windows Riccardo Corsi General 11 Tue Sep 04, 2018 8:46 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP