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