I ran my compiler with latest residualvm git source. WIN7 x86, MiNGW-MSYS (make clean, ./configure --enable-all-engines).
Configure script is disabling STARK engine, because OpenGL with shaders is required. Please anyone help me, how to fix it.
To get a build with the STARK engine, you will need to:
- Install GLEW in your build environment
- Update to the lastest git revision. Changes have been made today in order to build the engine by default
The libraries on the GLEW website are built for the Microsoft C compiler. In order to use GLEW on MinGW, i compile the libraries in this way: http://www.prinmath.com/csci5229/misc/install.html
section "Windows: MinGW and GLEW"
This part has failed (foo.c not exist) and compile script is ran the same as before (STARK engine skipped):
..
To compile and link foo.c using MinGW and GLEW you need gcc -DUSEGLEW -Wall -ofoo foo.c -lglew32 -lglut32cu -lglu32 -lopengl32
..
Please help, what did I do wrong..
I got the glew sources from http://glew.sourceforge.net. I was able to compile glew without any issues. You might need to add the glew libraries manually your system, as "make install" did not work for me...
Afterwards I was able to build the latest sources (including stark engine). I get an opengl error when trying to start a games using the stark engine...
I got the glew sources from http://glew.sourceforge.net. I was able to compile glew without any issues. You might need to add the glew libraries manually your system, as "make install" did not work for me...
Afterwards I was able to build the latest sources (including stark engine). I get an opengl error when trying to start a games using the stark engine...
Hello,
Which compiler? I'm getting an error in grim engine.
....
Looking for C++ compiler... g++
Checking for compiler version... 4.3.3, ok
....
Checking for GL Extension Wrangler (GLEW)... yes
Checking whether iconv.h is present... yes
Checking whether iconv needs linking against libiconv... yes
Checking signature of iconv... iconv_t, const char **, size_t *, char **, size_t *
Checking for iconv... yes
Checking for OpenGL... yes (shaders enabled)
....
Engines (builtin):
Grim [all games]
Myst 3
The Longest Journey
....
In file included from ../engines/grim/gfx_opengl_shaders.cpp:61:
../engines/grim/gfx_opengl_shaders.h:266: error: declaration of 'struct Grim::GfxOpenGLS::Light'
../engines/grim/gfx_base.h:43: error: changes meaning of 'Light' from 'struct Grim::Light'
Any ideas?
As the variable is private if I change the struct name I can compile and get the grim engine working but stark is not compiling...
engines/stark/libstark.a(dialogpanel.o):.\residual_svn\build_windows/../engines/stark/ui/dialogpanel.cpp:150: undefined reference to `Stark::DialogPanel::_aprilColor'
engines/stark/libstark.a(dialogpanel.o):.\residual_svn\build_windows/../engines/stark/ui/dialogpanel.cpp:150: undefined reference to `Stark::DialogPanel::_otherColor'
So It looks like I have something wrong in my environment...
...
INFO: GLSL version: 4.00 - Build 10.18.10.4276
Could not open shader stark_surface.vertex!!
The file "stark_surface.vertex" is in the ResiduelVM code under
engines/stark/shaders/
After I copied the whole "shaders" directory (as Linux user I should have made a soft link) to the directory with the TLJ data, I could start the game.
Though there is not possibility to put the shaders directory in the extra path, Residual dir... I'm trying to keep the game directory as clean as possible.
Though there is not possibility to put the shaders directory in the extra path, Residual dir... I'm trying to keep the game directory as clean as possible.
I'm glad most of you were able to sort their issues. Work is in progress to embed the shader files in the executable so that you don't have to copy them around.
@Vorph: Please post the debug output regarding your version here.
@GoodOldGeorg: You said GLEW was installed but did not post your new problem. I suggest you use a toolchain with a packaging system like https://msys2.github.io/ so that you can install packages for the dependencies, and don't have to bother about building them.
Please, report the following data to the ResidualVM team along with name
den Namen des Spiels, das Sie hinzuf┬│gen wollten, als auch die Version/Sprache/usw.:
{"x.xarc", 0, "de8327850d7bba90b690b141eaa23f61", 3032},
{"chapters.ini", 0, "e4611d143a87b263d8d7a54edc7e7cd7", 515},
The game DVD calls itself: "The Longest Journey, Special Edition" and was published in 2006 by Funcom / dtp. Game Language (speech / text) is german.
If you need anything else...