Tomb Raider Forums  

Go Back   Tomb Raider Forums > Tomb Raider Level Editor and Modding > Tomb Raider Level Editor > Software Development

Reply
 
Thread Tools
Old 18-09-17, 07:26   #2261
Ford_Prefect
Member
 
Joined: Aug 2017
Posts: 10
Default unable to compile

Hello.

I am unable to compile the last version of Opentomb.
The previous version compiled fine.
This happened on two different systems.
The o.s. is Linux mint 18.2
I installed all the dependencies.
The compilation gets to 94%, then i get a fatal error.
This is the last part of the compilers output:

Quote:
[ 94%] Building CXX object CMakeFiles/OpenTomb.dir/src/audio/audio.cpp.o
/media/files/emulators/OpenTomb-master/src/audio/audio.cpp:7:32: fatal error: ../config-opentomb.h: Bestand of map bestaat niet
compilation terminated.
CMakeFiles/OpenTomb.dir/build.make:1550: recept voor doel 'CMakeFiles/OpenTomb.dir/src/audio/audio.cpp.o' is mislukt
make[2]: *** [CMakeFiles/OpenTomb.dir/src/audio/audio.cpp.o] Fout 1
CMakeFiles/Makefile2:69: recept voor doel 'CMakeFiles/OpenTomb.dir/all' is mislukt
make[1]: *** [CMakeFiles/OpenTomb.dir/all] Fout 2
Makefile:83: recept voor doel 'all' is mislukt
make: *** [all] Fout 2
Sorry for the dutch language.
Looks like it can find config-opentomb.h, while it's right there in the folder.

Greets, Ger.
Ford_Prefect is offline   Reply With Quote
Old 19-09-17, 10:06   #2262
vvsgh
Member
 
Joined: Jun 2015
Posts: 138
Default

It should be fixed in last GitHub PR, which also fixed lighting and added distance fog. You can check it out or wait until it's merged.
vvsgh is offline   Reply With Quote
Old 23-09-17, 06:52   #2263
Ford_Prefect
Member
 
Joined: Aug 2017
Posts: 10
Default

Quote:
Originally Posted by vvsgh View Post
It should be fixed in last GitHub PR, which also fixed lighting and added distance fog. You can check it out or wait until it's merged.
Hello.
I tried compiling the latest version from Github.
Still getting almost the same error.
Here's the output:
Code:
[ 94%] Building CXX object CMakeFiles/OpenTomb.dir/src/audio/audio.cpp.o
/home/tux/Downloads/OpenTomb-master/src/audio/audio.cpp:7:32: fatal error: ../config-opentomb.h: Bestand of map bestaat niet
compilation terminated.
CMakeFiles/OpenTomb.dir/build.make:1646: recept voor doel 'CMakeFiles/OpenTomb.dir/src/audio/audio.cpp.o' is mislukt
make[2]: *** [CMakeFiles/OpenTomb.dir/src/audio/audio.cpp.o] Fout 1
CMakeFiles/Makefile2:69: recept voor doel 'CMakeFiles/OpenTomb.dir/all' is mislukt
make[1]: *** [CMakeFiles/OpenTomb.dir/all] Fout 2
Makefile:83: recept voor doel 'all' is mislukt
make: *** [all] Fout 2
Only the number i highlighted has changed.
It still can't find config-opentomb.h

Greets, Ger.
Ford_Prefect is offline   Reply With Quote
Old 23-09-17, 08:46   #2264
TeslaRus
Member
 
TeslaRus's Avatar
 
Joined: Jan 2013
Posts: 195
Default Compilation

PR still not merging, waiting for author change PR status to ready;

try to create config-opentomb.h in src folder with this contains
if something will not work, just disable it
Code:
#ifndef config_opentomb_h_in_h
#define config_opentomb_h_in_h

#define HAVE_ALC_H 1
#define HAVE_EFX_H 1
#define HAVE_ALEXT_H 1
#define HAVE_EFX_PRESETS_H 1
#define AL_ALEXT_PROTOTYPES
#endif
TeslaRus is offline   Reply With Quote
Old 30-09-17, 07:34   #2265
Ford_Prefect
Member
 
Joined: Aug 2017
Posts: 10
Default compilation

Quote:
Originally Posted by TeslaRus View Post
PR still not merging, waiting for author change PR status to ready;

try to create config-opentomb.h in src folder with this contains
if something will not work, just disable it
Code:
#ifndef config_opentomb_h_in_h
#define config_opentomb_h_in_h

#define HAVE_ALC_H 1
#define HAVE_EFX_H 1
#define HAVE_ALEXT_H 1
#define HAVE_EFX_PRESETS_H 1
#define AL_ALEXT_PROTOTYPES
#endif
Thanks, that did the trick.
Tomb Raider 2 is running now, still have to install the others.
All work and little time to play.
Ford_Prefect is offline   Reply With Quote
Old 05-10-17, 13:38   #2266
Ford_Prefect
Member
 
Joined: Aug 2017
Posts: 10
Default

Quote:
Originally Posted by Ford_Prefect View Post
Thanks, that did the trick.
Tomb Raider 2 is running now, still have to install the others.
All work and little time to play.
Hello.
I just compiled the latest version from github on linux mint 18.2.
I still need to add a "config_opentomb_h" in the source folder to get it to compile.
So far i can start tombraider 2 and 3. (from steam)
4 and 5 won't start yet. (from G.O.G.)
Ford_Prefect is offline   Reply With Quote
Old 05-10-17, 16:50   #2267
TeslaRus
Member
 
TeslaRus's Avatar
 
Joined: Jan 2013
Posts: 195
Default Tr4+

In Linux system path to file is case sensitive, may be wrong case in scripts/gameflow/tr4...
TeslaRus is offline   Reply With Quote
Old 23-10-17, 13:58   #2268
Ford_Prefect
Member
 
Joined: Aug 2017
Posts: 10
Default

Quote:
Originally Posted by TeslaRus View Post
In Linux system path to file is case sensitive, may be wrong case in scripts/gameflow/tr4...
Hello.
I have checked the paths, they are all in lower case, they should be fine.
I found that tr4 is looking for a pix directory, but i don't have one (not in the original game)
tr5 does have a pix directory, which i have copied.
Still neither tr4 nor tr5 starts.
Maybe there is a difference in GOG and Steam games.
I can start tr4 and tr5 in Wine.
Also Anniversary and Legend are running in Wine now.
For tr2 and 3 i would have to install the windows version of Steam, or get the GOG versions.
Ford_Prefect is offline   Reply With Quote
Old 19-11-17, 04:26   #2269
LeelooBastet
Member
 
LeelooBastet's Avatar
 
Joined: Apr 2003
Posts: 562
Default

Hi

In order to play my own NGLE project, where do I have to copy script files (script.dat & English.dat) ?
LeelooBastet is offline   Reply With Quote
Old 19-11-17, 12:01   #2270
vvsgh
Member
 
Joined: Jun 2015
Posts: 138
Default

The original Core *.dat files are not supported. Everything was ported to the OpenTomb own Lua scripting system. NGLE levels are not supported either because there is neither public documentation nor source code for it. Only the original Core levels are supported and there is still some functionality missing or unknown.
vvsgh is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 23:41.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Tomb Raider Forums is not owned or operated by CDE Entertainment Ltd.
Lara Croft and Tomb Raider are trademarks of CDE Entertainment Ltd.