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

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

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
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 Missing OpenThreads PDB when building... guyv Build system [build] 0 Thu Jul 12, 2018 12:39 pm View latest post
No new posts osglight demo problems with Intel gra... eventhorizon5 General 2 Mon Jul 09, 2018 8:52 pm View latest post
No new posts OpenSceneGraph-3.6.2 released! robertosfield General 0 Fri Jun 29, 2018 10:28 am View latest post
No new posts OpenSceneGraph-3.6.2 release candidate 3 robertosfield General 1 Thu Jun 28, 2018 6:35 am View latest post
No new posts Build error under Windows? Need feedb... robertosfield General 3 Wed Jun 27, 2018 11:11 am 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