[Hugin-devs] [Bug 1305794] Re: OpenCL enabled build fails
The issue with the kernels directory has been fixed in changeset 73f82ec4b09b62a11280ec503023cc954963897c The linker remains open. Check the version of your OpenCL lib. -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Enblend. https://bugs.launchpad.net/bugs/1305794 Title: OpenCL enabled build fails Status in Enblend: New Bug description: My newly built enblend binary printed a lot of those lines: enblend: info: no OpenCL support compiled into Enblend So I looked into how to compile enblend with OpenCL support. I've found this cmake switch: -DENABLE_OPENCL:BOOL=ON and this package in my repos: nvidia-opencl-dev Next I got an error from make package right at the beginning: /bin/sh: 1: cannot create /home/kaefert/src/enblend/enblend.build_1044/src/kernels/distance_transform_fh.icl: Directory nonexistent So I created the directory manually, and now my compiling fails after 44% with a lot of lines like those: opencl.cc:(.text._ZN3ocl12LazyFunctionINS_16SourceFilePolicyEE5buildERKSs[_ZN3ocl12LazyFunctionINS_16SourceFilePolicyEE5buildERKSs]+0x1d6): undefined reference to `clReleaseDevice' opencl.cc:(.text._ZN3ocl12LazyFunctionINS_16SourceFilePolicyEE5buildERKSs[_ZN3ocl12LazyFunctionINS_16SourceFilePolicyEE5buildERKSs]+0x2d9): undefined reference to `clRetainDevice' To manage notifications about this bug go to: https://bugs.launchpad.net/enblend/+bug/1305794/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 1305794] Re: OpenCL enabled build fails
those are the versons of the OpenCL libraries installed on my system: nvidia-opencl-dev 5.0.35-7ubuntu1 (saucy) opencl-headers 1.2-2013.06.28-2 (saucy) nvidia-libopencl1-331 331.67-0unbutu1~xedgers13.10.2 (saucy) -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Enblend. https://bugs.launchpad.net/bugs/1305794 Title: OpenCL enabled build fails Status in Enblend: New Bug description: My newly built enblend binary printed a lot of those lines: enblend: info: no OpenCL support compiled into Enblend So I looked into how to compile enblend with OpenCL support. I've found this cmake switch: -DENABLE_OPENCL:BOOL=ON and this package in my repos: nvidia-opencl-dev Next I got an error from make package right at the beginning: /bin/sh: 1: cannot create /home/kaefert/src/enblend/enblend.build_1044/src/kernels/distance_transform_fh.icl: Directory nonexistent So I created the directory manually, and now my compiling fails after 44% with a lot of lines like those: opencl.cc:(.text._ZN3ocl12LazyFunctionINS_16SourceFilePolicyEE5buildERKSs[_ZN3ocl12LazyFunctionINS_16SourceFilePolicyEE5buildERKSs]+0x1d6): undefined reference to `clReleaseDevice' opencl.cc:(.text._ZN3ocl12LazyFunctionINS_16SourceFilePolicyEE5buildERKSs[_ZN3ocl12LazyFunctionINS_16SourceFilePolicyEE5buildERKSs]+0x2d9): undefined reference to `clRetainDevice' To manage notifications about this bug go to: https://bugs.launchpad.net/enblend/+bug/1305794/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 1305643] Re: enblend build errors with changeset 1044
I can confirm that with the latest changset (1049) I can successfully compile enblend on my system. A question on the side: what advantage would a newer boost version give me? (the one I currently have is simply the one delivered by my distro = mint16) -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Enblend. https://bugs.launchpad.net/bugs/1305643 Title: enblend build errors with changeset 1044 Status in Enblend: Fix Committed Bug description: I'm trying to compile enblend, using this guide here: http://wiki.panotools.org/Hugin_Compiling_Ubuntu Previously this worked fine, but now I get those compile errors: In file included from /home/kaefert/src/enblend/enblend.hg/src/enblend.cc:178:0: /home/kaefert/src/enblend/enblend.hg/src/common.h: In function ‘std::string enblend::expandFilenameTemplate(const string, unsigned int, const string, const string, unsigned int)’: /home/kaefert/src/enblend/enblend.hg/src/common.h:732:25: error: ‘BOOST_FALLTHROUGH’ was not declared in this scope BOOST_FALLTHROUGH; ^ In file included from /home/kaefert/src/enblend/enblend.hg/src/mask.h:40:0, from /home/kaefert/src/enblend/enblend.hg/src/enblend.h:45, from /home/kaefert/src/enblend/enblend.hg/src/enblend.cc:180: /home/kaefert/src/enblend/enblend.hg/include/vigra_ext/fillpolygon.hxx: In function ‘void vigra_ext::detail::group_to_pairs(Iterator, Iterator, BackInsertIterator)’: /home/kaefert/src/enblend/enblend.hg/include/vigra_ext/fillpolygon.hxx:255:21: error: ‘BOOST_FALLTHROUGH’ was not declared in this scope BOOST_FALLTHROUGH; ^ make[2]: *** [src/CMakeFiles/enblend.dir/enblend.cc.o] Error 1 make[1]: *** [src/CMakeFiles/enblend.dir/all] Error 2 make: *** [all] Error 2 Last time I had problems compiling enblend I could work around them by changing -DCMAKE_BUILD_TYPE=RelWithDebInfo into -DCMAKE_BUILD_TYPE=Debug - but this time that switch doesn't make any difference. To manage notifications about this bug go to: https://bugs.launchpad.net/enblend/+bug/1305643/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 1305794] Re: OpenCL enabled build fails
Okey, so I've been investigating some more on OpenCL Now I've installed those additional packages: nvidia-opencl-icd-331 331.67-0unbutu1~xedgers13.10.2 (saucy) nvidia-331-uvm 331.67-0unbutu1~xedgers13.10.2 (saucy) Now my clinfo output changed into this, which is still not what it should look like I guess.. : [23501.842978] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Server terminated successfully (0). Closing log file. [23501.843005] [ERROR]Aborting because fallback start is disabled. -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Enblend. https://bugs.launchpad.net/bugs/1305794 Title: OpenCL enabled build fails Status in Enblend: New Bug description: My newly built enblend binary printed a lot of those lines: enblend: info: no OpenCL support compiled into Enblend So I looked into how to compile enblend with OpenCL support. I've found this cmake switch: -DENABLE_OPENCL:BOOL=ON and this package in my repos: nvidia-opencl-dev Next I got an error from make package right at the beginning: /bin/sh: 1: cannot create /home/kaefert/src/enblend/enblend.build_1044/src/kernels/distance_transform_fh.icl: Directory nonexistent So I created the directory manually, and now my compiling fails after 44% with a lot of lines like those: opencl.cc:(.text._ZN3ocl12LazyFunctionINS_16SourceFilePolicyEE5buildERKSs[_ZN3ocl12LazyFunctionINS_16SourceFilePolicyEE5buildERKSs]+0x1d6): undefined reference to `clReleaseDevice' opencl.cc:(.text._ZN3ocl12LazyFunctionINS_16SourceFilePolicyEE5buildERKSs[_ZN3ocl12LazyFunctionINS_16SourceFilePolicyEE5buildERKSs]+0x2d9): undefined reference to `clRetainDevice' To manage notifications about this bug go to: https://bugs.launchpad.net/enblend/+bug/1305794/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp