سؤال

I am compiling a program with cgi libraries in a linux terminal mode. I'm using c++11. This is my compile line in Ubuntu Terminal.

g++ -std=c++0x login.cpp /usr/lib/libcgicc.a -o login.cgi

For the time being I was working in Geany Editor to write a programs. Now I downloaded Netbeans IDE to practice . I changed the c++ version in the compiler settings in NetBeans. But I can't specify the location of libcgicc.a in the c++ compiler settings. Here with I've attached the screenshot of NetBeans c++ compiler Settings. enter image description here

How can I specify the libcgicc.a path in the NetBeans c++ compiler ?

هل كانت مفيدة؟

المحلول

You can add libs here

Linker --> Libraries

Browse to the libcgicc.a lib.

enter image description here

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top