Anyone know how to do API requests when making homebrew? I'm using C++ and devkitPro but I can't include any libraries or it won't compile. I need to use GET to fetch a list of CIA's, and check the softwares version.
I am quite stupid; So the reason why this happened is because I was directly adding it to source and not actually downloading it.
Another edit; This isn't closed, I did one major step wrong, I wasn't supposed to include my own libcurl because theres one integrated in devkitPRO and thats why its not compiling. So I added libcurl and the necessary libraries to go with it, and then I get this.
LIbraries:
LIBS := -lcurl -lmbedtls -lmbedx509 -lmbedcrypto -lz -lctru -lm
Also I can't do dkp-pacman for some reason even though I selected **EVERYTHING** in the installer. The only actual thing pacman releated it installed was pacman that was used for installing the other devkitPRO packages.
Bump, getting lower and I need this **very** soon.
Post automatically merged:
I am quite stupid; So the reason why this happened is because I was directly adding it to source and not actually downloading it.
Post automatically merged:
Another edit; This isn't closed, I did one major step wrong, I wasn't supposed to include my own libcurl because theres one integrated in devkitPRO and thats why its not compiling. So I added libcurl and the necessary libraries to go with it, and then I get this.
LIbraries:
LIBS := -lcurl -lmbedtls -lmbedx509 -lmbedcrypto -lz -lctru -lm
Also I can't do dkp-pacman for some reason even though I selected **EVERYTHING** in the installer. The only actual thing pacman releated it installed was pacman that was used for installing the other devkitPRO packages.
Post automatically merged:
Bump, getting lower and I need this **very** soon.
Last edited by ndsboy87,