Graal Forums  

Go Back   Graal Forums > Development Forums > Level Design
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-02-2012, 09:15 AM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
Quote:
Originally Posted by scriptless View Post
So does it compile fine on linux? Just not windows? I don't think I tried compiling it on linux yet but was interested in making some updates to it..
I've never compiled it not on Linux, so you should be fine. It worked for me with my distribution's packages for the dependencies. Let me know how it works out for you.
Reply With Quote
  #2  
Old 07-02-2012, 09:34 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Loriel View Post
I've never compiled it not on Linux, so you should be fine. It worked for me with my distribution's packages for the dependencies. Let me know how it works out for you.
Additionally, if you're downstream from Debian (or at least Ubuntu), these instructions from Jer still work:

Quote:
Originally Posted by fowlplay4 View Post
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:
git checkout

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.
__________________

Last edited by cbk1994; 07-02-2012 at 01:23 PM.. Reason: checking out latest version instead of 0.2.3
Reply With Quote
  #3  
Old 07-02-2012, 01:12 PM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
Quote:
Originally Posted by cbk1994 View Post
Additionally, if you're downstream from Debian (or at least Ubuntu), these instructions from Jer still work:
Thanks for posting those again!

Note that if you do the git checkout 0.2.3 step you are gonna miss out on the few commits that happened since then.

Also it is somewhat embarassing that we're still depending on ruby. Since cmake requires having python available anyway, it is probably worth considering replacing src/level_editor/make_images.rb with a python script. This probably has come up before and was snidely dismissed because I like ruby, oh well.
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 07:58 AM.


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