[Click] Building elements as a package

Eddie Kohler kohler at cs.ucla.edu
Mon Mar 27 11:50:11 EST 2006


Rajendra,

First, I hope that you are trying to compile your package at user level, as it 
is highly unlikely that vxl:vnl can be used in the kernel.

Second, are you using CVS Click or 1.4.3 Click?  I hope you're using CVS 
Click, in which case I can point you at our new package system, and we can try 
to make things work there.

Eddie


Rajendra J. Magar wrote:
> -----
> 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