Код: Выделить всё
C:\Users\PC\AppData\Local\Temp\ccvMbCZC.o:analysis.cpp:(.text+0x47): undefined reference to `_imp__curl_easy_init'
C:\Users\PC\AppData\Local\Temp\ccvMbCZC.o:analysis.cpp:(.text+0xdf): undefined reference to `_imp__curl_easy_setopt'
C:\Users\PC\AppData\Local\Temp\ccvMbCZC.o:analysis.cpp:(.text+0xfc): undefined reference to `_imp__curl_easy_setopt'
C:\Users\PC\AppData\Local\Temp\ccvMbCZC.o:analysis.cpp:(.text+0x118): undefined reference to `_imp__curl_easy_setopt'
C:\Users\PC\AppData\Local\Temp\ccvMbCZC.o:analysis.cpp:(.text+0x135): undefined reference to `_imp__curl_easy_setopt'
C:\Users\PC\AppData\Local\Temp\ccvMbCZC.o:analysis.cpp:(.text+0x158): undefined reference to `_imp__curl_easy_setopt'
C:\Users\PC\AppData\Local\Temp\ccvMbCZC.o:analysis.cpp:(.text+0x165): undefined reference to `_imp__curl_easy_perform'
C:\Users\PC\AppData\Local\Temp\ccvMbCZC.o:analysis.cpp:(.text+0x17b): undefined reference to `_imp__curl_easy_strerror'
C:\Users\PC\AppData\Local\Temp\ccvMbCZC.o:analysis.cpp:(.text+0x1f3): undefined reference to `_imp__curl_easy_cleanup'
collect2.exe: error: ld returned 1 exit status
Код: Выделить всё
"command": "C:\\MinGW\\bin\\g++.exe",
"args": [
"-I", "C:\\Users\\PC\\OneDrive\\Desktop\\Decenturm\\include",
"-L", "C:\\Users\\PC\\OneDrive\\Desktop\\Decenturm\\lib",
"-o", "${workspaceFolder}\\analysis.exe",
"${workspaceFolder}\\analysis.cpp",
"-lcurl"
Я был бы очень благодарен за любую помощь.
Я ожидаю, что код запустится – для .hpp чтобы найти файлы .a и ссылку на работу.
Подробнее здесь: https://stackoverflow.com/questions/784 ... -hpp-files
Мобильная версия