[Bug 671] New: OCL fails to build with missing "ocl-config.h"
Submitted by snrkiwi on Fri, 2009-06-12 13:50 |
https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=671
Summary: OCL fails to build with missing "ocl-config.h"
Product: OCL
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: Other
AssignedTo: orocos-dev [..] ...
ReportedBy: kiwi [dot] net [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0
r30204 added "include ocl-config.h" to ocl/OCL.hpp, but doesn't install the
ocl-config.h file. OCL itself compiles, but user code that needs the
ComponentLoader (which uses OCL.hpp) does not.
Fix is to add "ocl-config.h" to the GLOBAL_ADD_INCLUDE() line in
ocl/CMakeLists.txt (sorry, can't get patch on internet right now)
[Bug 671] OCL fails to build with missing "ocl-config.h"
https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=671
Peter Soetens <peter [..] ...> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |peter [..] ...
Resolution| |FIXED
Status|NEW |RESOLVED
--- Comment #1 from Peter Soetens <peter [..] ...> 2009-06-12 16:12:16 ---
(In reply to comment #0)
> r30204 added "include ocl-config.h" to ocl/OCL.hpp, but doesn't install the
> ocl-config.h file. OCL itself compiles, but user code that needs the
> ComponentLoader (which uses OCL.hpp) does not.
>
> Fix is to add "ocl-config.h" to the GLOBAL_ADD_INCLUDE() line in
> ocl/CMakeLists.txt (sorry, can't get patch on internet right now)
Thanks for reporting. If added it to the main CMakeLists.txt file, with the
other generated files:
kaltan@vader:~/src/git/orocos-ocl$ git commit -a -m"Fix bug #671: OCL fails to
build with missing ocl-config.h
>
> Add ocl/ocl-config.h to the INSTALL_FILES list of generated files.
> "
Created commit 94cddc1: Fix bug #671: OCL fails to build with missing
ocl-config.h
1 files changed, 1 insertions(+), 0 deletions(-)
Fixed in r30210
Peter