Code: Select all
fatal error: curl/curl.h: No such file or directory
When including it, I have it set to
Code: Select all
#include <curl/curl.h>
Code: Select all
fatal error: curl/curl.h: No such file or directory
Code: Select all
#include <curl/curl.h>
Code: Select all
linking Project.elf
/opt/devkitpro/devkitARM/lib/gcc/arm-none-eabi/9.1.0/../../../../arm-none-eabi/bin/ld: main.o: in function `main':
/home/sam/Downloads/Project/source/main.c:107: undefined reference to `curl_global_init'
/opt/devkitpro/devkitARM/lib/gcc/arm-none-eabi/9.1.0/../../../../arm-none-eabi/bin/ld: /home/sam/Downloads/Project/source/main.c:108: undefined reference to `curl_easy_init'
/opt/devkitpro/devkitARM/lib/gcc/arm-none-eabi/9.1.0/../../../../arm-none-eabi/bin/ld: /home/sam/Downloads/Project/source/main.c:110: undefined reference to `curl_easy_setopt'
/opt/devkitpro/devkitARM/lib/gcc/arm-none-eabi/9.1.0/../../../../arm-none-eabi/bin/ld: /home/sam/Downloads/Project/source/main.c:111: undefined reference to `curl_easy_setopt'
/opt/devkitpro/devkitARM/lib/gcc/arm-none-eabi/9.1.0/../../../../arm-none-eabi/bin/ld: /home/sam/Downloads/Project/source/main.c:112: undefined reference to `curl_easy_setopt'
/opt/devkitpro/devkitARM/lib/gcc/arm-none-eabi/9.1.0/../../../../arm-none-eabi/bin/ld: /home/sam/Downloads/Project/source/main.c:113: undefined reference to `curl_easy_setopt'
/opt/devkitpro/devkitARM/lib/gcc/arm-none-eabi/9.1.0/../../../../arm-none-eabi/bin/ld: /home/sam/Downloads/Project/source/main.c:114: undefined reference to `curl_easy_setopt'
/opt/devkitpro/devkitARM/lib/gcc/arm-none-eabi/9.1.0/../../../../arm-none-eabi/bin/ld: /home/sam/Downloads/Project/source/main.c:116: undefined reference to `curl_easy_perform'
/opt/devkitpro/devkitARM/lib/gcc/arm-none-eabi/9.1.0/../../../../arm-none-eabi/bin/ld: /home/sam/Downloads/Project/source/main.c:117: undefined reference to `curl_easy_cleanup'
/opt/devkitpro/devkitARM/lib/gcc/arm-none-eabi/9.1.0/../../../../arm-none-eabi/bin/ld: /home/sam/Downloads/Project/source/main.c:119: undefined reference to `curl_global_cleanup'
collect2: error: ld returned 1 exit status
/opt/devkitpro/devkitARM/3ds_rules:41: recipe for target '/home/sam/Downloads/Project/Project.elf' failed
make[1]: *** [/home/sam/Downloads/Project/Project.elf] Error 1
Makefile:167: recipe for target 'all' failed
make: *** [all] Error 2
Code: Select all
`curl-config --cflags`
Code: Select all
CFLAGS := -g -Wall -O2 -mword-relocations \
-fomit-frame-pointer -ffunction-sections \
`curl-config --cflags`
$(ARCH)
Code: Select all
LIBS := -lctru -lm
Code: Select all
LIBS := `curl-config --libs`
Users browsing this forum: No registered users and 1 guest