- Joined
- Nov 23, 2014
- Messages
- 15,144
- Trophies
- 0
- Location
- Canberra, Australia
- Website
- boot9strap.com
- XP
- 11,094
- Country
Hi guys,
I am trying to compile some simple homebrew so I can play around with it and learn (I downloaded the source from the author's github). I fixed the first set of errors I got - didn't have the right libraries so I downloaded them and put them in the devkitPro folder (just to keep them all in the same place). Then I had to hardcode the directory that the library .h file was in (#include "C:\devkitPro\..."). Now I have current problem which I haven't solved yet:
Putting the library folders in the same folder as the solution file didn't help. I also realised I probably had to build the libraries, so I built one (and got a .sdf file) and put that in the same directory as the solution file but that didn't help either. Does anyone have any ideas? I followed wiki.gbatemp.net/wiki/3DS_Homebrew_Development to set up my environment (in Visual Studio Professional 2015).
Thanks!!
I am trying to compile some simple homebrew so I can play around with it and learn (I downloaded the source from the author's github). I fixed the first set of errors I got - didn't have the right libraries so I downloaded them and put them in the devkitPro folder (just to keep them all in the same place). Then I had to hardcode the directory that the library .h file was in (#include "C:\devkitPro\..."). Now I have current problem which I haven't solved yet:
Code:
1>------ Build started: Project: Graphing Calculator, Configuration: Debug Win32 ------
1> linking GraphCalc3DS-master.elf
1> c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/bin/ld.exe: cannot find -lsftd
1> c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/bin/ld.exe: cannot find -lfreetype
1> c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/bin/ld.exe: cannot find -lpng
1> c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/bin/ld.exe: cannot find -lz
1> c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/bin/ld.exe: cannot find -lsf2d
1>collect2.exe : error : ld returned 1 exit status
1> make[1]: *** [/c/Users/thequ_000/Desktop/3DS_Homebrew/GraphCalc3DS-master/GraphCalc3DS-master.elf] Error 1
1> make: *** [build] Error 2
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(37,5): error MSB3073: The command "make" exited with code 2.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Putting the library folders in the same folder as the solution file didn't help. I also realised I probably had to build the libraries, so I built one (and got a .sdf file) and put that in the same directory as the solution file but that didn't help either. Does anyone have any ideas? I followed wiki.gbatemp.net/wiki/3DS_Homebrew_Development to set up my environment (in Visual Studio Professional 2015).
Thanks!!