Can't compile freetype

Discussion in '3DS - Homebrew Development and Emulators' started by kprovost7314, Jun 5, 2016.

  1. kprovost7314
    OP

    kprovost7314 GBAtemp's Official Bara Master

    Member
    1,691
    890
    Dec 24, 2014
    United States
    In that bara manga ( ͡° ͜ʖ ͡°)
    I'm trying to build xerpi's 3ds_portlibs and I installed zlib, but when I tried to install freetype I get,

    configure: error: cannot find native C compiler
    make[1]: *** [setup] Error 1
    make[1]: Leaving directory '/c/devkitPro/3ds_portlibs/freetype-2.5.4'
    make: *** [freetype] Error 2

    Is there a fix for this?
     
  2. elhobbs

    elhobbs GBAtemp Advanced Fan

    Member
    806
    296
    Jul 28, 2008
    United States
  3. kprovost7314
    OP

    kprovost7314 GBAtemp's Official Bara Master

    Member
    1,691
    890
    Dec 24, 2014
    United States
    In that bara manga ( ͡° ͜ʖ ͡°)
    I'm on Windows and I use make.
     
  4. TheCruel

    TheCruel Developer

    Banned
    1,351
    2,884
    Dec 6, 2013
    United States
    Well, the makefile runs configure.

    You likely don't have your devkitARM environment set up properly. I don't know.
     
  5. Pokéidiot

    Pokéidiot GBAtemp Regular

    Member
    244
    129
    Dec 6, 2015
    Brazil
    \n?
    Try reinstalling devkitpro. This may fix the issue.
    Anyways, Linux is better for 3DS development. You don't have to use if you don't want to, I'm just sayin'...
     
  6. elhobbs

    elhobbs GBAtemp Advanced Fan

    Member
    806
    296
    Jul 28, 2008
    United States
    I keep seeing this assertion that Linux is better for 3ds development - without any particular justification. Any particular reason? I use Windows myself and haven't run into any problems. I would imagine whichever environment you are more comfortable using is just fine.
     
  7. DjoeN

    DjoeN Captain Haddock!

    Member
    5,169
    1,486
    Oct 21, 2005
    Belgium
    Somewhere in this potatoland!
    Did you build zlib first?

    Below are 2 scripts, copy/paste and save as .bat file
    Those .bat files build/compiles and installs!

    (For example: portlibs_zlib.bat and portlibs_freetype.bat)

    Batch to build Portlibs Zlib

    Batch to build Portlibs FreeType

    [EDIT]
    - You need to have devkitpro/devkitarm installed and configured correctly
    - You need to check if your path is configured (C:\devkitPro\devkitARM\bin;c:\devkitPro\msys\bin)
    -etc...
     
    Last edited by DjoeN, Jun 6, 2016
  8. kprovost7314
    OP

    kprovost7314 GBAtemp's Official Bara Master

    Member
    1,691
    890
    Dec 24, 2014
    United States
    In that bara manga ( ͡° ͜ʖ ͡°)
    I didn't have it in my path. Added it but it still wouldn't work. Should I install mingw?
     
  9. Manurocker95

    Manurocker95 Game Dev & Pokémon Master

    Member
    665
    176
    May 29, 2016
    Spain
    Madrid
    A bit l8 again but having the same problem, anyone knows how to run it on Windows? D:
     
  10. Joom

    Joom  ❤❤❤

    Member
    4,030
    2,734
    Jan 8, 2016
    United States
    You need MinGW.
     
  11. Manurocker95

    Manurocker95 Game Dev & Pokémon Master

    Member
    665
    176
    May 29, 2016
    Spain
    Madrid
    Already installed and used, no clue why it doesn't allow me to compile it :(
     
  12. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08

    Member
    GBAtemp Patron
    The Real Jdbye is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    12,092
    5,166
    Mar 17, 2010
    Norway
    Alola
    Make sure MinGW is in your PATH variable.
     
  13. Manurocker95

    Manurocker95 Game Dev & Pokémon Master

    Member
    665
    176
    May 29, 2016
    Spain
    Madrid
    It is, I had to set it manually. Does anyone have the libraries compiled just to copy-paste whererever i have to put them? :(
     
  14. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08

    Member
    GBAtemp Patron
    The Real Jdbye is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    12,092
    5,166
    Mar 17, 2010
    Norway
    Alola
    Actually, yes. I have them installed, I think this is all of them, though they might not be up to date:
    https://dl.dropboxusercontent.com/u/8225581/portlibs.rar
    Just extract it to your devkitPro directory.
     
  15. Manurocker95

    Manurocker95 Game Dev & Pokémon Master

    Member
    665
    176
    May 29, 2016
    Spain
    Madrid
    Thank you very much!! T__T I was desperated
     
  16. Magicrafter13

    Magicrafter13 GBAtemp Regular

    Member
    101
    18
    Feb 19, 2017
    United States
    Now I'm having the same problem, and I was going to try the rar file, but the downloads been removed... :/

    when it first runs it shows my platform as unix... which isn't true, because I'm using windows. And it crashes with this error: configure: error: cannot find native C compiler

    checked the install docs in the docs folder, but they didn't help at all.

    HOW I DO? Literally this should work too, I downloaded the 3ds portlibs, and that's how I acquired freetype, yet it doesn't work.
    Please help.