Hi Aanchan,

 > 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 ..

that's quite a bunch of steps. On all our test machines we get away with 
installing Boost from the package manager ('libboost-dev-all' or 
similar) without having to provide any other stuff.


> 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.

Can you make sure you're using the latest master? The build error you 
get was around for about a day on Wednesday and is fixed in the meanwhile.

Best regards,
Karli



> On Sat, Nov 1, 2014 at 1:22 PM, Karl Rupp <[email protected]
> <mailto:[email protected]>> 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
>         <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