Guide to Setup your PC for LibXenon Programming

Tutorials and Guides about LibXenon / Toolchain / Libraries
User avatar
tuxuser
Administrator
Administrator
Posts: 301
Joined: Sat Feb 19, 2011 4:53 pm
Location: Germany
Contact:

Guide to Setup your PC for LibXenon Programming

Post by tuxuser » Tue Jun 14, 2011 9:07 pm

A little guide to setup your linux machine for programming with Linux and NetBeans

[attachment=1]

Please report mistakes you find.
Attachments

[The extension pdf has been deactivated and can no longer be displayed.]

Last edited by tuxuser on Thu Aug 23, 2012 6:01 pm, edited 1 time in total.
I have no idea what I am doing but atleast I am trying

Doerek

Re: Guide to Setup your PC for LibXenon Programming

Post by Doerek » Wed Jun 15, 2011 11:37 am

thanks a lot!

Meluxe

Re: Guide to Setup your PC for LibXenon Programming

Post by Meluxe » Thu Jun 30, 2011 11:08 am

Building fur mupen64 now :P

Very helpful and noob-safe !

Thanks a LOT!!

Hack Hunter

Re: Guide to Setup your PC for LibXenon Programming

Post by Hack Hunter » Sat Jul 02, 2011 1:04 am

very helpful
thanks man ^^ ;)

zouloum

Re: Guide to Setup your PC for LibXenon Programming

Post by zouloum » Sat Jul 23, 2011 10:37 pm

I am stuck at this place 

Code: Select all

Once it’s finished with compiling & installing it tells you to add two lines to ~/.bashrc
They will usually look like this:
export DEVKITXENON="/usr/local/xenon"
export PATH="$PATH:$DEVKITXENON/bin:$DEVKITXENON/usr/bin"
and each time i try to run xenon-gcc it says command not found what am i doing wrong?

User avatar
tuxuser
Administrator
Administrator
Posts: 301
Joined: Sat Feb 19, 2011 4:53 pm
Location: Germany
Contact:

Re: Guide to Setup your PC for LibXenon Programming

Post by tuxuser » Sat Jul 23, 2011 10:45 pm

did you re-open your terminal after doing the changes? Apply the same 2 lines to ~/.profile, logout and login again. Should fix it!
I have no idea what I am doing but atleast I am trying

Colorado880

Re: Guide to Setup your PC for LibXenon Programming

Post by Colorado880 » Sat Jul 30, 2011 7:07 pm

[quote="tuxuser"]
did you re-open your terminal after doing the changes? Apply the same 2 lines to ~/.profile, logout and login again. Should fix it!
[/quote]I am stuck on the same part but how do you add the 2 lines to the bash? I just installed linux the other day and I am very new to this.

Thanks

User avatar
tuxuser
Administrator
Administrator
Posts: 301
Joined: Sat Feb 19, 2011 4:53 pm
Location: Germany
Contact:

Re: Guide to Setup your PC for LibXenon Programming

Post by tuxuser » Sat Jul 30, 2011 7:13 pm

Code: Select all

nano /home/username/.bashrc
nano /home/username/.profile
or

Code: Select all

gedit /home/username/.bashrc
gedit /home/username/.profile
I have no idea what I am doing but atleast I am trying

thegardner

Re: Guide to Setup your PC for LibXenon Programming

Post by thegardner » Sun Jul 31, 2011 9:51 pm

Thank you. When i can get a pc for development purposes this will be very useful.

Regards

chronospike

Re: Guide to Setup your PC for LibXenon Programming

Post by chronospike » Wed Aug 31, 2011 7:13 pm

Hey guys, just stumbled across your site and am interested in starting to play with libxenon.  I was walking through the tutorial and hit a speedbump while trying to compilr the toolchain. It gets as far as downloading binutils, connects to ftp.gnu.org then it says http request sent...404 not found. Any ideas?
Last edited by chronospike on Wed Aug 31, 2011 8:15 pm, edited 1 time in total.

Aldanga

Re: Guide to Setup your PC for LibXenon Programming

Post by Aldanga » Wed Aug 31, 2011 9:53 pm

That package has been replaced with 2.21.1a. Info. You'll have to manually edit the script. Just change the BINUTILS variable to binutils-2.21.1a in the script and it should work.

EDIT: I might have spoken too soon. It's not building the toolchain. Looking into it...
Last edited by Aldanga on Wed Aug 31, 2011 10:30 pm, edited 1 time in total.

Doerek

Re: Guide to Setup your PC for LibXenon Programming

Post by Doerek » Wed Aug 31, 2011 9:56 pm

[quote="dreamboy"]
hi to fix that issue just download my binutils version and copy paste it into the toolchain folder, that way when you retry to compile the toolchain the script will recognize the file its there and it will compile fine without problem  ;)  dont forget to install also libmpc-dev    ;D

http://www.megaupload.com/?d=2E9F34UC
[/quote]
Big thanks to dreamboy...

chronospike

Re: Guide to Setup your PC for LibXenon Programming

Post by chronospike » Wed Aug 31, 2011 11:26 pm

Cool thanks for the quick response

Diggs

Re: Guide to Setup your PC for LibXenon Programming

Post by Diggs » Tue Sep 06, 2011 9:07 am

Fantastic guide Tux!

Just thought I'd post my experiences with Ubunutu 11.04...

1. My gcc build was failing with the following error:

"Checking for correct version of mpc.h... no"

I Found this by checking the /opt/free60-git/free60/toolchain/build.log - My terminal wasn't displaying any useful output.

I fixed it by doing a:

sudo apt-get install libmpc-dev

And then re-running the toolchain build script.

2. Secondly when it came to installing netbeans I found the easiest way to do this was:

sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jre sun-java6-bin sun-java6-jdk

And then downloading the "netbeans-7.0.1-ml-cpp-linux.sh" installer from netbeans (This is just the C/C++ IDE without Java).

Everything else worked perfectly :)

Now to get a serial cable hooked up and figure out how to run executables over the network...

Xplorer4x4

Re: Guide to Setup your PC for LibXenon Programming

Post by Xplorer4x4 » Wed Feb 01, 2012 10:33 am

[quote="tuxuser"]
did you re-open your terminal after doing the changes? Apply the same 2 lines to ~/.profile, logout and login again. Should fix it!
[/quote]
I added the proper lines to all 4 files, and exited the shell, and even restarted the server and still get the error. Any clue what I could be doing wrong? I am following the directions from your pdf file.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests