You are not logged in.

#26 2019-03-09 12:28:31

ab90
Member
Registered: 2017-09-06
Posts: 136

Re: Install openRCT2 - gpg: no valid OpenPGP data found

I guess i am at step 'Compiling' now, yielding this error:

ab90@ab90:~$ mkdir build && cd build
ab90@ab90:~/build$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo
CMake Error: The source directory "/home/ab90/build" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
ab90@ab90:~/build$ 

Last edited by ab90 (2019-03-09 12:29:19)


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#27 2019-03-09 13:51:24

damo
....moderator....
Registered: 2015-08-20
Posts: 5,192

Re: Install openRCT2 - gpg: no valid OpenPGP data found

ab90 wrote:

... but now this keeps happening:

sudo apt-get install libzip
[sudo] password for ab90: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libzip

EDIT: Hey SORRY, changed to section 'APT' and saw the libraries mentioned in terminal manner..

That is because there isn't a package called libzip.

apt-cache search libzip

Use the right name from the list of possibilities


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#28 2019-03-09 23:52:40

DeepDayze
Member
From: In Linux Land
Registered: 2017-05-28
Posts: 759

Re: Install openRCT2 - gpg: no valid OpenPGP data found

ab90 wrote:

... but now this keeps happening:

sudo apt-get install libzip
[sudo] password for ab90: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libzip

EDIT: Hey SORRY, changed to section 'APT' and saw the libraries mentioned in terminal manner..

Think libzip4 is the package you are looking for and is in Stretch. The dev package corresponding is libzip-dev if you are building from source.

Last edited by DeepDayze (2019-03-09 23:54:08)


Real Men Use Linux

Offline

#29 2019-03-10 11:50:23

ab90
Member
Registered: 2017-09-06
Posts: 136

Re: Install openRCT2 - gpg: no valid OpenPGP data found

Hey there!
A little missunderstanding i guess...
I already went from that paragraph of packages to the paragraph of APT in that document of interest: https://github.com/OpenRCT2/OpenRCT2/wi … 2-on-Linux  (thats why i edited that one text you are refering to)

Please, instead, consider the first post on page 2 here, as i think i managed the packages already by apt install[

sudo apt-get install --no-install-recommends -y cmake libsdl2-dev libicu-dev \
    gcc pkg-config libjansson-dev libspeex-dev libspeexdsp-dev libcurl4-openssl-dev \
    libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libssl-dev libzip-dev

]

Last edited by ab90 (2019-03-10 11:50:48)


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#30 2019-03-15 08:38:23

ab90
Member
Registered: 2017-09-06
Posts: 136

Re: Install openRCT2 - gpg: no valid OpenPGP data found

Help!, please...


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#31 2019-03-15 15:14:46

damo
....moderator....
Registered: 2015-08-20
Posts: 5,192

Re: Install openRCT2 - gpg: no valid OpenPGP data found

ab90 wrote:

Help!, please...

Help with what, exactly?


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#32 2019-03-18 12:55:30

ab90
Member
Registered: 2017-09-06
Posts: 136

Re: Install openRCT2 - gpg: no valid OpenPGP data found

How can i upload pictures from my pc?

This is what i already did:

sudo apt-get install --no-install-recommends -y cmake libsdl2-dev libicu-dev \
    gcc pkg-config libjansson-dev libspeex-dev libspeexdsp-dev libcurl4-openssl-dev \
    libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libssl-dev libzip-dev

and this was the next step that yielded error:

ab90@ab90:~$ mkdir build && cd build
ab90@ab90:~/build$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo
CMake Error: The source directory "/home/ab90/build" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
ab90@ab90:~/build$ 

"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#33 2019-03-18 14:48:11

damo
....moderator....
Registered: 2015-08-20
Posts: 5,192

Re: Install openRCT2 - gpg: no valid OpenPGP data found

So did you follow the instruction?

Specify --help for usage, or press the help button on the CMake GUI

cmake(1) - Linux man page

How can i upload pictures from my pc?

You search the forum, or read the sticky instructions for the monthly screenshots thread: How can i upload pictures from my pc?. Many people use scrot.moe for hosting images that you can then link to, but there are lots of image hosts on the web.


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#34 2019-03-18 19:55:22

ab90
Member
Registered: 2017-09-06
Posts: 136

Re: Install openRCT2 - gpg: no valid OpenPGP data found

# remember to set your build flags, e.g. -DCMAKE_BUILD_TYPE=RelWithDebInfo

i dont know what is expected here ;-/


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#35 2019-03-18 20:18:51

damo
....moderator....
Registered: 2015-08-20
Posts: 5,192

Re: Install openRCT2 - gpg: no valid OpenPGP data found

ab90 wrote:

# remember to set your build flags, e.g. -DCMAKE_BUILD_TYPE=RelWithDebInfo

i dont know what is expected here ;-/

You read the manpage I linked to!

"DCMAKE_BUILD_TYPE" doesn't appear there, but "CMAKE_BUILD_TYPE" does. Maybe it is a typo, so try

-CMAKE_BUILD_TYPE=RelWithDebInfo

And read up on what the other flags do, because you may not need any.


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#36 2019-03-18 21:05:06

ab90
Member
Registered: 2017-09-06
Posts: 136

Re: Install openRCT2 - gpg: no valid OpenPGP data found

ab90@ab90:~/build$ cmake -CMAKE_BUILD_TYPE=RelWithDebInfo
loading initial cache file MAKE_BUILD_TYPE=RelWithDebInfo
CMake Error: Error processing file: MAKE_BUILD_TYPE=RelWithDebInfo
CMake Error: The source directory "/home/ab90/build" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
ab90@ab90:~/build$ 

dont get it  cry


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#37 2019-03-18 22:06:12

damo
....moderator....
Registered: 2015-08-20
Posts: 5,192

Re: Install openRCT2 - gpg: no valid OpenPGP data found

ab90 wrote:
ab90@ab90:~/build$ cmake -CMAKE_BUILD_TYPE=RelWithDebInfo
loading initial cache file MAKE_BUILD_TYPE=RelWithDebInfo
CMake Error: Error processing file: MAKE_BUILD_TYPE=RelWithDebInfo
CMake Error: The source directory "/home/ab90/build" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
ab90@ab90:~/build$ 

dont get it  cry

So google the error message: eg "does not appear to contain CMakeLists.txt" hmm  Lots of results to choose from, like this one The answer there is to

You need to create a directory (e.g build) inside the [...] directory, cd to that directory and then run cmake

If you are trying to build the source in a completely different location, how will cmake know what files to use? Either build it in the right place, or pass the filepath using appropriate flags

Last edited by damo (2019-03-18 22:10:03)


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#38 2019-03-19 15:28:49

ab90
Member
Registered: 2017-09-06
Posts: 136

Re: Install openRCT2 - gpg: no valid OpenPGP data found

But its this official document that said i should use a 'build' folder...
From those instructions (https://openrct2.org/quickstart/extract … iles/linux) i still have the extracted RCT2.exe, its a folder now.

So, should i apply

-CMAKE_BUILD_TYPE=RelWithDebInfo

to that folder which was created by innoextract that time?

..it doesnt work, i dont understand where this CMakeLists.txt is supposed to come from. why is it not mentioned here: https://github.com/OpenRCT2/OpenRCT2/wi … 2-on-Linux

Compiling
mkdir build && cd build
cmake .. # remember to set your build flags, e.g. -DCMAKE_BUILD_TYPE=RelWithDebInfo
make
This will generate a openrct2 binary in the build directory. To run you have two options: make install or running it locally.

Last edited by ab90 (2019-03-19 15:31:14)


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#39 2019-03-19 17:20:39

damo
....moderator....
Registered: 2015-08-20
Posts: 5,192

Re: Install openRCT2 - gpg: no valid OpenPGP data found

And those instructions say

Create a folder for the RCT2 files, and move the installer package to it, as innoextract will simply dump the contents to the folder where the installer resides. Open a terminal window, navigate to the folder you created and run the following command.

And you did

ab90@ab90:~$ mkdir build && cd build

I suggest you find out where CMakeLists.txt lives, and put your build dir there, as the instructions say.


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#40 2019-03-21 14:38:38

ab90
Member
Registered: 2017-09-06
Posts: 136

Re: Install openRCT2 - gpg: no valid OpenPGP data found

neither the extracted rct2.exe file nor the openRCT2.zip contain CMakeLists.txt...


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#41 2019-03-21 15:34:45

damo
....moderator....
Registered: 2015-08-20
Posts: 5,192

Re: Install openRCT2 - gpg: no valid OpenPGP data found

ab90 wrote:

neither the extracted rct2.exe file nor the openRCT2.zip contain CMakeLists.txt...

Yes it does: https://github.com/OpenRCT2/OpenRCT2/ar … evelop.zip; https://github.com/OpenRCT2/OpenRCT2/archive/master.zip

Why are you trying to use a windows file?


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#42 2019-03-21 21:27:30

stevep
MX Linux Developer
Registered: 2016-08-08
Posts: 375

Re: Install openRCT2 - gpg: no valid OpenPGP data found

Why not just port the debianized source packages from the PPA and rebuild them on the OpenSUSE Build Service for Debian?  That way, others can also download and enjoy your work. I must have done that at least hundreds of times by now.

Barring that, it's also much easier to rebuild proper deb packages on your own machine using the Debian packaging tools that it is to flail around like this with the manual compile method:

https://wiki.debian.org/CreatePackageFromPPA

Woah...except the PPA has an ancient release...but you may be able to reuse the debian folder as a template for the latest one.  http://ppa.launchpad.net/openrct2/maste … /openrct2/

Oh, wait, the develop PPA is up-to-date:  http://ppa.launchpad.net/openrct2/night … /openrct2/

But have you tried their prebuilt 64-bit Linux static binary?  https://github.com/OpenRCT2/OpenRCT2/re … _64.tar.gz

Last edited by stevep (2019-03-21 21:41:49)

Offline

#43 2019-03-26 18:33:25

ab90
Member
Registered: 2017-09-06
Posts: 136

Re: Install openRCT2 - gpg: no valid OpenPGP data found

damo wrote:

Why are you trying to use a windows file?

I just extracted the .exe with innoextract as described: https://openrct2.org/quickstart/extract … iles/linux
only this part got substituted: https://openrct2.org/quickstart/install … buntu-mint
by that one:
https://github.com/OpenRCT2/OpenRCT2/wi … 2-on-Linux


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#44 2019-03-26 18:51:21

damo
....moderator....
Registered: 2015-08-20
Posts: 5,192

Re: Install openRCT2 - gpg: no valid OpenPGP data found

So you can run your game using Wine or Steam; or build it using the correct source; or run it in a Windows virtual machine.


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#45 2019-03-26 19:01:37

ab90
Member
Registered: 2017-09-06
Posts: 136

Re: Install openRCT2 - gpg: no valid OpenPGP data found

in addition to that original rct2.exe file that i obtained from GOG as referred to, i am having this file: OpenRCT2-0.2.1-linux-x86_64.tar.gz from that page: https://openrct2.org/downloads/master/latest

from where did you have those two archives you uploaded here?
so basically, i am using two different guides and i should have got different archives for the 'self-build' version.... ?

Last edited by ab90 (2019-03-26 19:04:35)


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#46 2019-03-26 20:53:36

damo
....moderator....
Registered: 2015-08-20
Posts: 5,192

Re: Install openRCT2 - gpg: no valid OpenPGP data found

ab90 wrote:

...
from where did you have those two archives you uploaded here?
so basically, i am using two different guides and i should have got different archives for the 'self-build' version.... ?

I didn't upload them, I just linked to the github location (just 2 examples from the files available). Which you can see by looking at the url: "https://github.com/OpenRCT2/OpenRCT2/archive/master.zip".

I really don't know what you expect anyone to do for you. I keep giving you ideas which you don't seem to try, or at least don't give any accurate feedback hmm


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#47 2019-03-27 16:19:05

ab90
Member
Registered: 2017-09-06
Posts: 136

Re: Install openRCT2 - gpg: no valid OpenPGP data found

Regarding a feedback, i find it confusing in total...
You ask me why i use a windows file, but in any way openRCT2 is dependend on RCT2 which is a windows file, that i had to extract.
..then this openRCT2 file that i came across was for linux; it didnt have a cmakelists.txt.

Now i understand i can only substitute the whole process, since the openRCT2 that i obtained is not ment for any self compiling projects..

So fortunately i was not only given the manual to compile openRCT2 myself, you even sent me the link for those two packages now... but why were they never mentioned in that guide for compiling it myself?

I will now attempt the thing from scratch, keeping in mind that i already did the basics by installing the prerequisites.

Is there maybe some part of the guide missing? Like the outer conditions that would have guessed i am having that specific version of openRCT2 that you just sent then...?

Many greetings


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

Board footer

Powered by FluxBB