masz racje, ściągnęły się i automatycznie zainstalowały na pliki 'libcurl', co nie zmienia faktu ze dalej nie działa..
kiedy nie dodaje do konsolidatora:
gcc -DCURL_STATICLIB -c -g -Icurl/include simple.c
gcc -o simple.exe simple.o -Lcurl/lib -lcurl -lws2_32 -lwinmm
to wywala:
Kompilator: Default compiler
Building Makefile: "C:\Dev-Cpp\Makefile.win"
Wykonywanie make...
make.exe -f "C:\Dev-Cpp\Makefile.win" all
g++.exe main.o -o "Projekt1.exe" -L"C:/Dev-Cpp/lib" -lcurl
main.o(.text+0x139):main.cpp: undefined reference to _imp__curl_easy_init' main.o(.text+0x162):main.cpp: undefined reference to
_imp__curl_easy_setopt'
main.o(.text+0x17f):main.cpp: undefined reference to _imp__curl_easy_setopt' main.o(.text+0x19c):main.cpp: undefined reference to
_imp__curl_easy_setopt'
main.o(.text+0x1b9):main.cpp: undefined reference to _imp__curl_easy_setopt' main.o(.text+0x1d6):main.cpp: undefined reference to
_imp__curl_easy_setopt'
main.o(.text+0x1f3):main.cpp: more undefined references to _imp__curl_easy_setopt' follow main.o(.text+0x239):main.cpp: undefined reference to
_imp__curl_easy_perform'
main.o(.text+0x249):main.cpp: undefined reference to `_imp__curl_easy_cleanup'
collect2: ld returned 1 exit status
make.exe: *** [Projekt1.exe] Error 1
Wykonanie zakończone
a kiedy dodaje te 2 polecenia to pojawia się
w narzedzie>opcje kompilatora>dodaj te polecenia do wiersza polecen konsolidatora wpisalem -lcurl tak jak pisaliście :
Kompilator: Default compiler
Building Makefile: "C:\Dev-Cpp\Makefile.win"
Wykonywanie make...
make.exe -f "C:\Dev-Cpp\Makefile.win" all
g++.exe main.o -o "Projekt1.exe" -L"C:/Dev-Cpp/lib" -lcurl gcc -DCURL_STATICLIB -c -g -Icurl/include simple.c gcc -o simple.exe simple.o -Lcurl/lib -lcurl -lws2_32 -lwinmm
g++.exe: gcc: No such file or directory
g++.exe: simple.c: No such file or directory
g++.exe: gcc: No such file or directory
g++.exe: simple.o: No such file or directory
g++.exe: main.o: linker input file unused because linking not done
g++.exe: -lcurl: linker input file unused because linking not done
g++.exe: -lcurl: linker input file unused because linking not done
g++.exe: -lws2_32: linker input file unused because linking not done
g++.exe: -lwinmm: linker input file unused because linking not done
make.exe: *** [Projekt1.exe] Error 1
Wykonanie zakończone
proszę o pomoc, to dla mnie naprawdę ważne bo libcurl znacznie poszerzy możliwości moich aplikacji w c++, a nie chce ograniczać się już tylko do używania go w php ..