Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-12-2011, 07:46 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
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.
I'm on ubuntu 10.04
__________________

Last edited by Emera; 11-12-2011 at 08:28 PM..
Reply With Quote
  #2  
Old 11-12-2011, 08:10 PM
ff7chocoboknight ff7chocoboknight is offline
Skyzer Zolderon
ff7chocoboknight's Avatar
Join Date: Dec 2006
Location: New Hampshire, United States
Posts: 725
ff7chocoboknight is a glorious beacon of lightff7chocoboknight is a glorious beacon of lightff7chocoboknight is a glorious beacon of light
Send a message via AIM to ff7chocoboknight Send a message via MSN to ff7chocoboknight
forums.graalonline.com/forums/showthread.php?t=134257871

I hope this thread helps.
__________________
Reply With Quote
  #3  
Old 11-12-2011, 08:12 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
On Linux or what?
__________________
Quote:
Reply With Quote
  #4  
Old 11-12-2011, 08:27 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
Quote:
Originally Posted by fowlplay4 View Post
On Linux or what?
Ubuntu 10.04
__________________
Reply With Quote
  #5  
Old 11-12-2011, 08:29 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
Quote:
Originally Posted by ff7chocoboknight View Post
forums.graalonline.com/forums/showthread.php?t=134257871

I hope this thread helps.
Nope D: Nothing about setting up there. Thanks though.
__________________
Reply With Quote
  #6  
Old 11-12-2011, 09:38 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
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.
__________________
Quote:

Last edited by fowlplay4; 11-12-2011 at 10:48 PM..
Reply With Quote
  #7  
Old 11-12-2011, 09:54 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
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.
__________________
Reply With Quote
  #8  
Old 11-12-2011, 10:00 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by Emera View Post
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
__________________
Quote:
Reply With Quote
  #9  
Old 11-12-2011, 10:07 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
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
__________________
Reply With Quote
  #10  
Old 11-12-2011, 10:10 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by Emera View Post
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.
__________________
Quote:
Reply With Quote
  #11  
Old 11-12-2011, 10:12 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
Quote:
Originally Posted by fowlplay4 View Post
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.
__________________
Reply With Quote
  #12  
Old 11-12-2011, 10:13 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by Emera View Post
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?
__________________
Quote:
Reply With Quote
  #13  
Old 11-12-2011, 10:17 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
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...
__________________
Reply With Quote
  #14  
Old 11-12-2011, 10:36 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
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
__________________
Reply With Quote
  #15  
Old 11-12-2011, 10:50 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Sounds good, I've updated my guide.
__________________
Quote:
Reply With Quote
Reply


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

Forum Jump


All times are GMT +2. The time now is 06:36 PM.


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