OCL v1 broken commit
Submitted by snrkiwi on Sat, 2010-11-06 09:31 |
OCL commit 58307417ed reverts a20a0300c6d and breaks building component libraries on gnulinux with the following error
CMakeFiles/xyz-components-reporting.dir/abc.cpp.o: In function `OCL::ComponentFactories::Instance()': .../install/include/ocl/ComponentLoader.hpp:62: undefined reference to `OCL::ComponentFactories::Factories' /usr/bin/ld: CMakeFiles/xyz-components-reporting.dir/abc.cpp.o: relocation R_386_GOTOFF against undefined hidden symbol `OCL::ComponentFactories::Factories' can not be used when making a shared object /usr/bin/ld: final link failed: Bad value
gcc --version gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3
Both Factories and Instance() have to be OCL_EXPORT for this to work.
S