[Click] Building elements as a package

Rajendra J. Magar Rajendra.J.Magar at Dartmouth.EDU
Mon Mar 27 00:54:45 EST 2006


-----
INCLUDE_DIRECTORIES(/net/grad/magar/wlansec/code/common/network/include /usr/include/glib-2.0/include 
                     /usr/include/glib-2.0/glib /usr/lib/glib-2.0/include/ /data/map/analysis/vxl_bin/core 
                     /data/map/analysis/vxl_bin/vcl /data/map/analysis/vxl-1.4.0/core /data/map/analysis/vxl-1.4.0/vcl)
-----

I was able to add the directories above as follows and now the compile errors are not there, but I still have link errors.

U_INCLUDES += -I/net/grad/magar/wlansec/code/common/network/include
U_INCLUDES += -I/usr/include/glib-2.0/include
U_INCLUDES += -I/usr/include/glib-2.0/glib
U_INCLUDES += -I/usr/lib/glib-2.0/include 
U_INCLUDES += -I/data/map/analysis/vxl_bin/core
U_INCLUDES += -I/data/map/analysis/vxl_bin/vcl
U_INCLUDES += -I/data/map/analysis/vxl-1.4.0/core
U_INCLUDES += -I/data/map/analysis/vxl-1.4.0/vcl

These lines above were added to Makefile.in.



-------
LINK_DIRECTORIES(/data/map/analysis/vxl_bin/lib)
LINK_LIBRARIES(vnl_algo netlib vcl vnl vnl_io vpl vsl vbl vul pcap glib-2.0)
-------

I tried adding -L/data/map/analysis/vxl_bin/lib -lvnl_algo -lnetlib -lvcl -lvnl -lvnl_io -lvpl -lvsl -lvbl -lvul -lpcap -lglib-2.0 to g++ command, but I guess I am not doing things right. 

I am trying to integrate an element into Click that uses the vxl:vnl linear algebra package (please see above), but I am not sure how to make the libraries of an external package available in Click.

Thank you,
Raz



More information about the click mailing list