Hi,

 > I was just trying to see if my build process works correctly...I issued
> a CMake command in vienncl-dev/build:
>
> cmake -DBOOST_INCLUDE_DIR=/usr/include/boost -DOPENCL_INCLUDE_DIR=../CL
> -DOPENCL_LIBRARY=/usr/lib/nvidia/libOpenCL.so ..
>
> I get a host of warning/errors a the last few lines of which are on
> pastebin here:http://pastebin.com/3GUF0n2u. Is it because Boost is
> perhaps not configured properly? Boost and OpenCL were installed
> previously by our vendor for our cluster so I don't think it should be
> issues related to that. Has anyone faced similar issues before?

Boost is - unfortunately - always a source of surprise. You might try 
the following:
a) Use -DBOOST_INCLUDE_DIR=/usr/include or omit it at all since it is in 
a system path.
b) Supply -Wno-dev as suggested in the warnings. I don't see any errors 
reported by CMake, so your build should be good.

Please let us know if you get any errors at the compilation stage.

Best regards,
Karli

------------------------------------------------------------------------------
_______________________________________________
ViennaCL-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/viennacl-devel

Reply via email to