kcat / opendf Goto Github PK
View Code? Open in Web Editor NEWAn open source engine for the game Daggerfall
License: GNU General Public License v3.0
An open source engine for the game Daggerfall
License: GNU General Public License v3.0
I've installed the dependencies and am met with this error when trying to build:
→ make [1c5266b]
[ 10%] Built target bsatool
Scanning dependencies of target opendf
[ 12%] Building CXX object CMakeFiles/opendf.dir/src/components/sdlutil/graphicswindow.cpp.o
/home/y4my4m/Dev/opendf/src/components/sdlutil/graphicswindow.cpp: In function ‘void SDLUtil::graphicswindow_SDL2()’:
/home/y4my4m/Dev/opendf/src/components/sdlutil/graphicswindow.cpp:312:27: error: ‘setWindowingSystemInterface’ is not a member of ‘osg::GraphicsContext’
312 | osg::GraphicsContext::setWindowingSystemInterface(new SDL2WindowingSystemInterface);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/opendf.dir/build.make:83: CMakeFiles/opendf.dir/src/components/sdlutil/graphicswindow.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:125: CMakeFiles/opendf.dir/all] Error 2
make: *** [Makefile:150: all] Error 2
Any advice?
I'm using arch linux. The dependencies/gcc are all recent/latest versions.
In commit 9d2e4a0, you made both terrain.vert and terrain.frag use GLSL version 1.40.
Sadly my Intel HD4000 supports GLSL up to 1.30 (confirmed by glxinfo; core profile GLSL goes up to version 3.30) and thus could not render the ground. Using the discrete nvidia card (with the closed-source driver) instead is fine but uses way more battery.
Forcing -Wall is in my opinion not really necessary as it produces so much superfluous messages that it does not really help with anything.
If desired you can configure cmake when running from the commandline / gui it to add the -wall.
So I was looking around the command line output and I wondered where this assertion came from.
Turns out it comes not from the opendf binary but from glibc itself and I am not enough skilled to go deeper in the code to spot it.
It firstly appeared in cba709b (sadly a huge commit) and is still present in master, thanks git-bisect.
It's not a high priority issue at all, just an error message to keep track of since it does not affect/crash anything yet.
Tell me if you need more info about this failed assertion.
This warning message comes from libpng when it sees a "unpleasant" png file.
It's in no way something imporant but it gets easily fixed by running convert MyGUI_Pointers.png -strip MyGUI_Pointers.png
and convert MyGUI_BlueWhiteSkins.png -strip MyGUI_BlueWhiteSkins.png
to fix this in your shell.
Fyi, /usr/bin/convert belongs in the imagemagick package on my system.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.