Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Studio Chat / [SOLVED] Compiling Linux Interpreter

Author
Message
Ched80
13
Years of Service
User Offline
Joined: 18th Sep 2010
Location: Peterborough, UK
Posted: 16th Oct 2019 08:57
Hi,

I'm trying to compile the Linux Interpreter, but i get the following error:

No rule to make target 'build/obj64/Core.o


help.

The author of this post has marked a post as an answer.

Go to answer

Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 28th Oct 2019 15:02
I just tested the Tier 2 folder that was in the latest Linux version and it compiles the interpreter_linux project here. Did you edit the makefile, or any of the other files, in the interpreter_linux folder?
Ched80
13
Years of Service
User Offline
Joined: 18th Sep 2010
Location: Peterborough, UK
Posted: 29th Oct 2019 14:17
Thanks for confirming that it works Paul, but where can I find the current Linux interpreter? If I look in the "C:\Program Files (x86)\Steam\SteamApps\common\AppGameKit Studio\Tier 2\apps" directory, there are no Linux folders. I have only managed to find the Linux interpreter on the GitHub.
Ched80
13
Years of Service
User Offline
Joined: 18th Sep 2010
Location: Peterborough, UK
Posted: 29th Oct 2019 14:38
Ok - I took all the folders and files from the Linux download.

This gets further in the process, but fails reporting:

/usr/bin/ld: cannot find -lglfw3
Ched80
13
Years of Service
User Offline
Joined: 18th Sep 2010
Location: Peterborough, UK
Posted: 30th Oct 2019 08:12
Further to this I've tried installing glfw3 using:

apt-get install libglfw3 libglfw3-dev

which states the two libraries are the latest version 3.2.1-1

I've also tried building the GLFW library from the GLFW site using cmake and then make install. the build and the install complete with no errors.

After I've tried both of these, running make in the interpreter_linux folder and it fails with the same error:

"/usr/bin/ld: cannot find -lglfw3"

Dark Raven
9
Years of Service
User Offline
Joined: 27th Jul 2014
Location: United States
Posted: 30th Oct 2019 22:03
This post has been marked by the post author as the answer.
I don't know if this will help but I just tested in linux. I followed the information in this thread https://forum.thegamecreators.com/thread/215697. Of course I'm using an updated through the system.

On the glfw3 issue which I had at first. I downloaded the sources from https://www.glfw.org/download.html and followed the instructions from that thread just with the newer version from the download site and then when I went and complied the Linux interpreter I finally got a success. I am using Ubuntu 19.10 in a vmware emulation. It worked immediately after building the source files of glfw3. I also made sure I had all the files installed from that thread and it built the linux interpreter player.
tboy
11
Years of Service
User Offline
Joined: 1st Jan 2013
Location: UK
Posted: 4th Nov 2019 00:14
Did you put the GLFW folder in /common/include/ ?
Ched80
13
Years of Service
User Offline
Joined: 18th Sep 2010
Location: Peterborough, UK
Posted: 7th Nov 2019 06:43
I eventually solved it by downloading the source files for GLFW 3.2.1 and building it and installing it in the platform/linux/Release64 folder.

Then the interpreter finally built successfully.

Thanks for the help guys!

Login to post a reply

Server time is: 2024-03-29 14:40:29
Your offset time is: 2024-03-29 14:40:29