Author Topic: libdragon setup  (Read 4178 times)

0 Members and 1 Guest are viewing this topic.

Offline Brainstorm

  • Newbie
  • *
  • Posts: 36
libdragon setup
« on: May 11, 2011, 06:59:02 PM »
Hello,

I downloaded the linux buildscript from http://www.dragonminded.com/n64dev/ and successfully compiled the toolchain.
I also downloaded libdragon, but where do I have to put the files and everything to get the examples to compile? And how to compile them?

Thank you  ::sm-09.gif::

Offline sanni

  • Moderator
  • Hero Member
  • *****
  • Posts: 502
Re: libdragon setup
« Reply #1 on: May 11, 2011, 09:18:54 PM »
After you downloaded libdragon you have to compile and then install it.
So open the terminal, browse to the libdragon dir and type "make", press enter. Then "make install".
Also make sure you have the environment variables that point to the toolchain declared e.g. in /etc/environment before you try to compile anything.

If you have vmware you can download the xubuntu image from this thread, which already has setup everything.

Offline Brainstorm

  • Newbie
  • *
  • Posts: 36
Re: libdragon setup
« Reply #2 on: May 11, 2011, 09:44:14 PM »
It works, thank you!

Offline Brainstorm

  • Newbie
  • *
  • Posts: 36
Re: libdragon setup
« Reply #3 on: May 13, 2011, 11:28:17 PM »
Another quick question, is it possible to setup the windows toolchain to work in an IDE like code::blocks? And how?
This is as far as I get, but obviously it wont work like that without further settings


Thanks
« Last Edit: May 13, 2011, 11:30:46 PM by Brainstorm »

Offline Conle

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2203
Re: libdragon setup
« Reply #4 on: May 15, 2011, 07:26:55 PM »
Any descent IDE should be able to do that , but you'll have to provide the paths of the include / lib / bin directories , and also configure the flags(especially arch flags) as well.