"$ curl-config --cflags" jak tego użyć?

0

Witam,

mam taki tutorial:
http://curl.haxx.se/libcurl/c/libcurl-tutorial.html

Compiling the Program

Your compiler needs to know where the libcurl headers are located. Therefore you must set your compiler's include path to point to the directory where you installed them. The 'curl-config'[3] tool can be used to get this information:

$ curl-config --cflags

jak mam tego użyć w Visual studio 2010 bo nie mam zielonego pojęcia?

0

Zobacz co Ci wypluwa to polecenie w konsoli - $ to nie jest część polecenia. Jeżeli są to flagi jakie podałbyś linkerowi, to gdybyś pracował w środowisku *nix-opodobnym, to podałbyś do opcji linkera curl-config --cflags (ale dookoła powinny być znaki ` - backtics!) i już. Czy w Visualu to zadziała to nie wiem, ale powątpiewam. ;) Podejrzewam też, że te flagi są kompatybilne z gcc, ale mając te informacje możesz chyba sam ustawić odpowiednie opcje w IDE, hm?

1 użytkowników online, w tym zalogowanych: 0, gości: 1