[HELP] Need help compiling .3dsx code

Discussion in '3DS - Homebrew Development and Emulators' started by Pikm, Feb 6, 2016.

  1. Pikm
    OP

    Pikm Thy Lord and Savior

    Member
    642
    274
    Jan 24, 2016
    United States
    Delaware
    I have devkitpro and python installed. But I keep getting this error when trying to compile. I didn't do a full install of devkitpro (just the 3ds files and ctrulib in devkitARM plus a few others) CMDWINDOW.jpg
     
  2. Shadowtrance

    Shadowtrance GBAtemp Addict

    Member
    2,482
    1,513
    May 9, 2014
    Hervey Bay, Queensland
    The problem is right there in front of your nose... It can't find python, so check that it is in your PATH properly and close/reopen cmd and try again.
     
  3. Pikm
    OP

    Pikm Thy Lord and Savior

    Member
    642
    274
    Jan 24, 2016
    United States
    Delaware
    How do I fix the path? I tried copy-pasting the path from shift+right clicking the Python program, but it doesn't work even after I put it in the PATH variable
     
    Last edited by Pikm, Feb 6, 2016
  4. Shadowtrance

    Shadowtrance GBAtemp Addict

    Member
    2,482
    1,513
    May 9, 2014
    Hervey Bay, Queensland
    You just need to have C:\Python27 in your environment path (replace Python27 with whatever your python folder is called).
     
  5. Pikm
    OP

    Pikm Thy Lord and Savior

    Member
    642
    274
    Jan 24, 2016
    United States
    Delaware
    Now I'm getting this:
     

    Attached Files:

  6. Shadowtrance

    Shadowtrance GBAtemp Addict

    Member
    2,482
    1,513
    May 9, 2014
    Hervey Bay, Queensland
    Ok it has found python now. good. but now it can't find aemstro, again the problem is staring you right in the face. read the error on the 4th line carefully...
     
  7. Pikm
    OP

    Pikm Thy Lord and Savior

    Member
    642
    274
    Jan 24, 2016
    United States
    Delaware
    I got the aemstro file thing, but now it gives me this screen. and I still get the same error 1 and 2 every time.
     

    Attached Files:

  8. Shadowtrance

    Shadowtrance GBAtemp Addict

    Member
    2,482
    1,513
    May 9, 2014
    Hervey Bay, Queensland
    Is your ctrulib reasonably new by any chance?
    If it is you have 2 options... use an older version or make changes to the homebrew source to meet the changes in the new ctrulib. (a lot was changed since 1.0.0 came out).
     
  9. Pikm
    OP

    Pikm Thy Lord and Savior

    Member
    642
    274
    Jan 24, 2016
    United States
    Delaware
    I have the newest. Do I just do a
    "make install" of the older version or do I have to delete the new version first?
     
  10. Shadowtrance

    Shadowtrance GBAtemp Addict

    Member
    2,482
    1,513
    May 9, 2014
    Hervey Bay, Queensland
    It should just overwrite the one that's already there. Not sure as i always delete/rename the current folder first and make install fresh.
     
  11. Pikm
    OP

    Pikm Thy Lord and Savior

    Member
    642
    274
    Jan 24, 2016
    United States
    Delaware
    Alright so I got a hello world to build, but the portal3ds-master still gives me the build error
     
  12. MasterFeizz

    MasterFeizz GBAtemp Advanced Fan

    Member
    888
    826
    Oct 15, 2015
    United States
    Portal3ds source is outdated, so you won't be able to compile with up to date tools. If you want to compile it, you are going to have to update the sources