Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   Gonstruct - Setting it up (https://forums.graalonline.com/forums/showthread.php?t=134265030)

Emera 11-12-2011 07:46 PM

Gonstruct - Setting it up
 
Ok, I really need to use gonstruct since I can't edit my levels on Lexia and other way, but I can't for cookies understand how to set the damn thing up. Can somebody please write me a step-by-step guide for thickos and idiots on how to set it up? Many thanks. :noob:
I'm on ubuntu 10.04

ff7chocoboknight 11-12-2011 08:10 PM

forums.graalonline.com/forums/showthread.php?t=134257871

I hope this thread helps.

fowlplay4 11-12-2011 08:12 PM

On Linux or what?

Emera 11-12-2011 08:27 PM

Quote:

Originally Posted by fowlplay4 (Post 1674002)
On Linux or what?

Ubuntu 10.04

Emera 11-12-2011 08:29 PM

Quote:

Originally Posted by ff7chocoboknight (Post 1674001)
forums.graalonline.com/forums/showthread.php?t=134257871

I hope this thread helps.

Nope D: Nothing about setting up there. Thanks though.

fowlplay4 11-12-2011 09:38 PM

How to Download, Compile and Run Gonstruct in Ubuntu
(Tested on Ubuntu 11.04 but it should work for older versions as well)

Before you start:

1. Enable the Universe Repository (if it isn't already):
https://help.ubuntu.com/community/Repositories/Ubuntu

2. Open a Terminal and Run:
sudo apt-get update

Now that you've enabled the universe repository and updated your sources:

1. Open a Terminal

2. Install Git:
sudo apt-get install git

If you get an error saying the package is obsolete or not found try the following instead:
sudo apt-get install git-core

3. Clone the Git repository locally:
git clone git://github.com/fry/graal-gonstruct.git

4. Change to the Git Repository folder:
cd graal-gonstruct

Terminal Tip! If you press TAB it will auto-complete filenames or directories for you. If you type: cd gr and then press TAB it should auto-complete it to: cd graal-gonstruct

5. Git Checkout Gonstruct Version 0.2.3:
git checkout 0.2.3

6. Install Gonstruct's dependencies:
sudo apt-get install libglew1.5-dev libgtkmm-2.4-dev libgtksourceview2.0-dev libgtkgl2.0-dev libboost-dev libboost-filesystem-dev ruby cmake

7. Generate the makefiles:
cmake .

8. Run the makefile:
make

9. Run Gonstruct:
src/level_editor/gonstruct

Upon running Gonstruct you'll be prompted to configure Gonstruct and after configuring you'll see the main Gonstruct window.

The Gonstruct binary/executable is located in ~/graal-gonstruct/src/level_editor/gonstruct so you can just create a link to it or copy it to wherever you want to run it from.

If you encounter an error please copy and paste the message you received in the terminal, and the output of cmake as well.

Emera 11-12-2011 09:54 PM

HTML Code:

aaron@aaron-laptop:~$ sudo apt-get install git
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Package git is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package git has no installation candidate

I get that error on step 1.

Edit: I installed git-core and am doing the next steps.

fowlplay4 11-12-2011 10:00 PM

Quote:

Originally Posted by Emera (Post 1674015)
Git Error

Doing the following should resolve the problem.

Enable the Universe Repository (if it isn't already):
https://help.ubuntu.com/community/Repositories/Ubuntu

Then in Terminal Run: sudo apt-get update

Emera 11-12-2011 10:07 PM

Just done this
HTML Code:

git clone git://github.com/fry/graal-gonstruct.git
and it all did some weird stuff on terminal. But when I cd to graal-gonstruct I get a bash error saying it doesn't exist

fowlplay4 11-12-2011 10:10 PM

Quote:

Originally Posted by Emera (Post 1674020)
Just done this
HTML Code:

git clone git://github.com/fry/graal-gonstruct.git
and it all did some weird stuff on terminal. But when I cd to graal-gonstruct I get a bash error saying it doesn't exist

Depending on what version of git it may have put the files in your current directory or gave it a different name. Look in the folder using the file browser or run: ls to list the current files in your folder.

Emera 11-12-2011 10:12 PM

Quote:

Originally Posted by fowlplay4 (Post 1674021)
Depending on what version of git it may have put the files in your current directory or gave it a different name. Look in the folder using the file browser or run: ls to list the current files in your folder.

Only ordinary files like documents and stuff are there when I run ls.

fowlplay4 11-12-2011 10:13 PM

Quote:

Originally Posted by Emera (Post 1674022)
Only ordinary files like documents and stuff are there when I run ls.

Can you show me the output of the command when you attempt to clone the git repo?

Emera 11-12-2011 10:17 PM

Quote:

aaron@aaron-laptop:~$ git clone git://github.com/fry/graal-gonstruct.git
Initialized empty Git repository in /home/aaron/graal-gonstruct/.git/
Ok and now I get this.


Edit: Redownloaded the source file and it fixed. Doing next steps...

Emera 11-12-2011 10:36 PM

Worked! Thanks. Here is what I did.

1. Open a Terminal

2. Install Git:
sudo apt-get install git-core

3. Clone the Git repository locally: (Have the source file downloaded somewhere on your system)
git clone git://github.com/fry/graal-gonstruct.git

4. Change to the Git Repository folder:
cd graal-gonstruct

5. Git Checkout Gonstruct Version 0.2.3:
git checkout 0.2.3

6. Install Gonstruct's dependencies:
sudo apt-get install libglew1.5-dev libgtkmm-2.4-dev libgtksourceview2.0-dev libgtkgl2.0-dev libboost-dev libboost-filesystem-dev ruby cmake

7. Generate the makefiles:
cmake .

8. Run the makefile:
make

9. Run Gonstruct:
src/level_editor/gonstruct

fowlplay4 11-12-2011 10:50 PM

Sounds good, I've updated my guide.


All times are GMT +2. The time now is 07:35 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.