Hi Karli,

I managed to get around the Boost issue by doing a fresh install of Boost,
changing the CMakeLists.txt on one line:
 set(BOOSTPATH "/home/amohan/lib/boost_1_55_0") and issuing the following
cmake command:

cmake -Wno-dev -DBoost_NO_BOOST_CMAKE=TRUE -DBoost_NO_SYSTEM_PATHS=TRUE
-DBOOST_INCLUDE_DIR=/home/amohan/lib/boost_1_55_0
-DOPENCL_INCLUDE_DIR=../CL -DOPENCL_LIBRARY=/usr/lib/nvidia/libOpenCL.so
-DBOOST_LIBRARY=/home/amohan/lib/boost_1_55_0/stage/lib ..

Unfortunately I do get a build error when issuing a make. The entire build
log is here:http://pastebin.com/uKcvTGV0. I'd be glad to know how to get
around that build error.

Regards,
Aanchan

On Sat, Nov 1, 2014 at 1:22 PM, Karl Rupp <r...@iue.tuwien.ac.at> wrote:

> 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
ViennaCL-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viennacl-devel

Reply via email to