[osg-users] [build] Building OpenSceneGraph Windows

Christian Schulte christian.schulte at onera.fr
Mon Jan 8 01:43:43 PST 2018

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.



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 at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

SCHULTE Christian
Ingénieur Recherche
Responsable du Laboratoire de Simulation
Département Traitement de l'information et systèmes
ONERA - Centre de Salon de Provence
BA 701
13661 SALON AIR Cedex - France
Tel :

More information about the osg-users mailing list