Page 1 of 1

Help With Building From Source

Posted: Fri Jan 25, 2019 1:22 pm
by Sphero37
Hi All
I am trying to build Sharkive from source but to no avail,
I get the following error

Code: Select all

linking Sharkive.elf
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/8.2.0/../../../../arm-none-eabi/bin/ld.exe: cannot find -lcurl
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/8.2.0/../../../../arm-none-eabi/bin/ld.exe: cannot find -lmbedtls
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/8.2.0/../../../../arm-none-eabi/bin/ld.exe: cannot find -lmbedx509
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/8.2.0/../../../../arm-none-eabi/bin/ld.exe: cannot find -lmbedcrypto
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/8.2.0/../../../../arm-none-eabi/bin/ld.exe: cannot find -lz
collect2.exe: error: ld returned 1 exit status
make[1]: *** [/opt/devkitpro/devkitARM/3ds_rules:42: /c/Users/ebony/Documents/Sharkive/out/Sharkive.elf] Error 1
make: *** [Makefile:157: build] Error 2
Any help would be much appreciated, thank you in advance

Re: Help With Building From Source

Posted: Fri Jan 25, 2019 9:35 pm
by BernardoGiordano
Hi, you seem to miss 3ds-curl dependancies. Please open an msys2 shell from your start menu under devkitPro and run pacman -S 3ds-curl. Also, if that still won't let you compile Sharkive, it's because it still relies on an outdated library that needs to be replace with citro2d.