Having trouble setting up devkitpro

Discussion in 'NDS - Emulation and Homebrew' started by Lyrin, Jun 23, 2017.

  1. Lyrin
    OP

    Lyrin GBAtemp Regular

    Member
    117
    37
    Jun 4, 2017
    United States
    I'm pretty sure I've set everything up according to their guide here https://devkitpro.org/wiki/Getting_Started/devkitARM but nothing is able to compile, even the nds examples.

    devkitpro folder: http://i.imgur.com/1XQRTbd.png

    devkitarm folder: http://i.imgur.com/0060Y8J.png

    libnds folder: http://i.imgur.com/CTSwRPP.png

    files I downloaded from the guide page: http://i.imgur.com/4zvkGPh.png

    I unzipped the files into folders as directed in the guide, so just about everything was unzipped to the libnds folder. There's also a section at the bottom of the page where it gave commands to put in .bashrc (using Linux) which I modified to redirect to where I placed my installation (on a sd card since my hard drive space is really limited) which it seems to be typed in properly. http://i.imgur.com/aHna4Fx.png
     
  2. elhobbs

    elhobbs GBAtemp Advanced Fan

    Member
    762
    284
    Jul 28, 2008
    United States
    You neglected to include the errors you are receiving. Without knowing what the actual problem is, it is hard to help. Make sure to include the error as well as what you are trying to compile.
     
  3. Lyrin
    OP

    Lyrin GBAtemp Regular

    Member
    117
    37
    Jun 4, 2017
    United States
    examples: http://i.imgur.com/eCKRNKq.png
    gameyob/nesds: http://i.imgur.com/5KPcNmz.png
    I've also tried moving the files to the directory the guide tells you to put them in (/opt/devkitpro) and I still get the same errors.
     
  4. elhobbs

    elhobbs GBAtemp Advanced Fan

    Member
    762
    284
    Jul 28, 2008
    United States
    Are you trying to execute "./Makefile" directly? You need to run "make" instead.
     
  5. Lyrin
    OP

    Lyrin GBAtemp Regular

    Member
    117
    37
    Jun 4, 2017
    United States
    Warning: Spoilers inside!
     
  6. elhobbs

    elhobbs GBAtemp Advanced Fan

    Member
    762
    284
    Jul 28, 2008
    United States
    Based on the linking errors it look like you have a mismatch between the version of libnds installed and the version of the examples. any reason you didn't use the Linux install script?
     
  7. Lyrin
    OP

    Lyrin GBAtemp Regular

    Member
    117
    37
    Jun 4, 2017
    United States
    Strange, I got everything as told in the guide. And I'm thinking the install script installs directly to "/opt/devkitpro" which I don't really want since I have just over 500 mb left on my computer. I suppose I can just go into the script and fix it but I'm extremely tired atm.
     
  8. elhobbs

    elhobbs GBAtemp Advanced Fan

    Member
    762
    284
    Jul 28, 2008
    United States
    The script is the recommended approach. I am not sure if the guide is up to date.
     
  9. Lyrin
    OP

    Lyrin GBAtemp Regular

    Member
    117
    37
    Jun 4, 2017
    United States
    Did the script approach, installs properly (though the files download slowly for some reason), and the examples build albeit slowly.
     
  10. elhobbs

    elhobbs GBAtemp Advanced Fan

    Member
    762
    284
    Jul 28, 2008
    United States
    If you changed the path to point at removable storage then that is not very surprising. Glad you got it working though.