Implement a docker hub image for compiling MWO?

Everything about development and the OpenMW source code.
Posts: 147
Joined: 08 Jan 2016, 01:32
Location: Spain

Re: Implement a docker hub image for compiling MWO?

Post by Naugrim » 05 Aug 2017, 21:18

Ace (SWE) wrote:
05 Aug 2017, 15:15
The prebuilt binary is just the head of the master branch at that time, and it should probably be updated since I expect more things to have happened since.
Tried to compile from master, current commit and I got this:
F:\bin\msys64\home\games\osg\src\osgPlugins\osgjs\WriteVisitor.cpp: In function 'JSONObject* createImage(osg::Image*, bool, int, const string&)':
F:\bin\msys64\home\games\osg\src\osgPlugins\osgjs\WriteVisitor.cpp:228:29: error: cast from 'osg::Image*' to 'long int' loses precision [-fpermissive]
ss << (long int)image << ".inline_conv_generated.png"; // write the pointer location
mingw32-make[2]: *** [src\osgPlugins\osgjs\CMakeFiles\osgdb_osgjs.dir\build.make:163: src/osgPlugins/osgjs/CMakeFiles/osgdb_osgjs.dir/WriteVisitor.obj] Error 1
mingw32-make[1]: *** [CMakeFiles\Makefile2:5566: src/osgPlugins/osgjs/CMakeFiles/osgdb_osgjs.dir/all] Error 2
mingw32-make: *** [Makefile:129: all] Error 2
At first glance it may seem a warning, but it aborts compilation

btw, I feel I am hijacking this thread :/
My opinions are my own. I am just a thankful user of OpenMW with no affiliation with the dev team.

Post Reply