Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple definition errors when compiling OgmaNeo #27

Closed
auspiciousdiviner opened this issue Oct 16, 2017 · 7 comments
Closed

Multiple definition errors when compiling OgmaNeo #27

auspiciousdiviner opened this issue Oct 16, 2017 · 7 comments

Comments

@auspiciousdiviner
Copy link

Hi, I'm having some trouble compiling with the latest revision of OgmaNeo. Specifically receiving these errors while linking the library to my project:

[...]libOgmaNeo.a(PredictorLayer.cpp.obj):PredictorLayer.cpp:(.bss+0x0): multiple definition of `.weak.__ZGVN2cl12CommandQueue8default_E.__ZN11flatbuffers16DefaultAllocator10deallocateEPhj'
[...]libOgmaNeo.a(Predictor.cpp.obj):Predictor.cpp:(.bss+0x0): first defined here
[...]libOgmaNeo.a(PredictorLayer.cpp.obj):PredictorLayer.cpp:(.bss+0x8): multiple definition of `.weak.__ZGVN2cl7Context8default_E.__ZN11flatbuffers16DefaultAllocator10deallocateEPhj'
[...]libOgmaNeo.a(Predictor.cpp.obj):Predictor.cpp:(.bss+0x8): first defined here
[...]libOgmaNeo.a(PredictorLayer.cpp.obj):PredictorLayer.cpp:(.bss+0x10): multiple definition of `.weak.__ZGVN2cl8Platform8default_E.__ZN11flatbuffers16DefaultAllocator10deallocateEPhj'
[...]libOgmaNeo.a(Predictor.cpp.obj):Predictor.cpp:(.bss+0x10): first defined here
[...]libOgmaNeo.a(PredictorLayer.cpp.obj):PredictorLayer.cpp:(.bss+0x18): multiple definition of `.weak.__ZGVN2cl6Device8default_E.__ZN11flatbuffers16DefaultAllocator10deallocateEPhj'
[...]libOgmaNeo.a(Predictor.cpp.obj):Predictor.cpp:(.bss+0x18): first defined here
[...]libOgmaNeo.a(PredictorLayer.cpp.obj):PredictorLayer.cpp:(.bss+0x20): multiple definition of `.weak.__ZN2cl12CommandQueue14default_error_E.__ZN11flatbuffers16DefaultAllocator10deallocateEPhj'
[...]libOgmaNeo.a(Predictor.cpp.obj):Predictor.cpp:(.bss+0x20): first defined here
[...]libOgmaNeo.a(PredictorLayer.cpp.obj):PredictorLayer.cpp:(.bss+0x24): multiple definition of `.weak.__ZN2cl12CommandQueue8default_E.__ZN11flatbuffers16DefaultAllocator10deallocateEPhj'
[...]libOgmaNeo.a(Predictor.cpp.obj):Predictor.cpp:(.bss+0x24): first defined here
[...]libOgmaNeo.a(PredictorLayer.cpp.obj):PredictorLayer.cpp:(.bss+0x28): multiple definition of `.weak.__ZN2cl12CommandQueue20default_initialized_E.__ZN11flatbuffers16DefaultAllocator10deallocateEPhj'
[...]libOgmaNeo.a(Predictor.cpp.obj):Predictor.cpp:(.bss+0x28): first defined here
[...]libOgmaNeo.a(PredictorLayer.cpp.obj):PredictorLayer.cpp:(.bss+0x2c): multiple definition of `.weak.__ZN2cl7Context14default_error_E.__ZN11flatbuffers16DefaultAllocator10deallocateEPhj'
[...]libOgmaNeo.a(Predictor.cpp.obj):Predictor.cpp:(.bss+0x2c): first defined here
[...]libOgmaNeo.a(PredictorLayer.cpp.obj):PredictorLayer.cpp:(.bss+0x30): multiple definition of `.weak.__ZN2cl7Context8default_E.__ZN11flatbuffers16DefaultAllocator10deallocateEPhj'
[...]libOgmaNeo.a(Predictor.cpp.obj):Predictor.cpp:(.bss+0x30): first defined here
[...]libOgmaNeo.a(PredictorLayer.cpp.obj):PredictorLayer.cpp:(.bss+0x34): multiple definition of `.weak.__ZN2cl7Context20default_initialized_E.__ZN11flatbuffers16DefaultAllocator10deallocateEPhj'
[...]libOgmaNeo.a(Predictor.cpp.obj):Predictor.cpp:(.bss+0x34): first defined here
[...]libOgmaNeo.a(PredictorLayer.cpp.obj):PredictorLayer.cpp:(.bss+0x38): multiple definition of `.weak.__ZN2cl8Platform14default_error_E.__ZN11flatbuffers16DefaultAllocator10deallocateEPhj'
[...]libOgmaNeo.a(Predictor.cpp.obj):Predictor.cpp:(.bss+0x38): first defined here
[...]libOgmaNeo.a(PredictorLayer.cpp.obj):PredictorLayer.cpp:(.bss+0x3c): multiple definition of `.weak.__ZN2cl8Platform8default_E.__ZN11flatbuffers16DefaultAllocator10deallocateEPhj'
[...]libOgmaNeo.a(Predictor.cpp.obj):Predictor.cpp:(.bss+0x3c): first defined here
[...]libOgmaNeo.a(PredictorLayer.cpp.obj):PredictorLayer.cpp:(.bss+0x40): multiple definition of `.weak.__ZN2cl8Platform20default_initialized_E.__ZN11flatbuffers16DefaultAllocator10deallocateEPhj'
[...]libOgmaNeo.a(Predictor.cpp.obj):Predictor.cpp:(.bss+0x40): first defined here
[...]libOgmaNeo.a(PredictorLayer.cpp.obj):PredictorLayer.cpp:(.bss+0x44): multiple definition of `.weak.__ZN2cl6Device14default_error_E.__ZN11flatbuffers16DefaultAllocator10deallocateEPhj'
[...]libOgmaNeo.a(Predictor.cpp.obj):Predictor.cpp:(.bss+0x44): first defined here
[...]libOgmaNeo.a(PredictorLayer.cpp.obj):PredictorLayer.cpp:(.bss+0x48): multiple definition of `.weak.__ZN2cl6Device8default_E.__ZN11flatbuffers16DefaultAllocator10deallocateEPhj'
[...]libOgmaNeo.a(Predictor.cpp.obj):Predictor.cpp:(.bss+0x48): first defined here
[...]libOgmaNeo.a(PredictorLayer.cpp.obj):PredictorLayer.cpp:(.bss+0x50): multiple definition of `.weak.__ZN2cl6Device20default_initialized_E.__ZN11flatbuffers16DefaultAllocator10deallocateEPhj'
[...]libOgmaNeo.a(Predictor.cpp.obj):Predictor.cpp:(.bss+0x50): first defined here
[...]libOgmaNeo.a(ComputeProgram.cpp.obj):ComputeProgram.cpp:(.bss+0x0): multiple definition of `.weak.__ZGVN2cl12CommandQueue8default_E.__ZNKSt5ctypeIcE8do_widenEc'
[...]libOgmaNeo.a(Architect.cpp.obj):Architect.cpp:(.bss+0x0): first defined here
[...]libOgmaNeo.a(ComputeProgram.cpp.obj):ComputeProgram.cpp:(.bss+0x8): multiple definition of `.weak.__ZGVN2cl7Context8default_E.__ZNKSt5ctypeIcE8do_widenEc'
[...]libOgmaNeo.a(Architect.cpp.obj):Architect.cpp:(.bss+0x8): first defined here
[...]libOgmaNeo.a(ComputeProgram.cpp.obj):ComputeProgram.cpp:(.bss+0x10): multiple definition of `.weak.__ZGVN2cl8Platform8default_E.__ZNKSt5ctypeIcE8do_widenEc'
[...]libOgmaNeo.a(Architect.cpp.obj):Architect.cpp:(.bss+0x10): first defined here
[...]libOgmaNeo.a(ComputeProgram.cpp.obj):ComputeProgram.cpp:(.bss+0x18): multiple definition of `.weak.__ZGVN2cl6Device8default_E.__ZNKSt5ctypeIcE8do_widenEc'
[...]libOgmaNeo.a(Architect.cpp.obj):Architect.cpp:(.bss+0x18): first defined here
[...]libOgmaNeo.a(ComputeProgram.cpp.obj):ComputeProgram.cpp:(.bss+0x20): multiple definition of `.weak.__ZN2cl12CommandQueue14default_error_E.__ZNKSt5ctypeIcE8do_widenEc'
[...]libOgmaNeo.a(Architect.cpp.obj):Architect.cpp:(.bss+0x50): first defined here
[...]libOgmaNeo.a(ComputeProgram.cpp.obj):ComputeProgram.cpp:(.bss+0x24): multiple definition of `.weak.__ZN2cl12CommandQueue8default_E.__ZNKSt5ctypeIcE8do_widenEc'
[...]libOgmaNeo.a(Architect.cpp.obj):Architect.cpp:(.bss+0x54): first defined here
[...]libOgmaNeo.a(ComputeProgram.cpp.obj):ComputeProgram.cpp:(.bss+0x28): multiple definition of `.weak.__ZN2cl12CommandQueue20default_initialized_E.__ZNKSt5ctypeIcE8do_widenEc'
[...]libOgmaNeo.a(Architect.cpp.obj):Architect.cpp:(.bss+0x58): first defined here
[...]libOgmaNeo.a(ComputeProgram.cpp.obj):ComputeProgram.cpp:(.bss+0x2c): multiple definition of `.weak.__ZN2cl7Context14default_error_E.__ZNKSt5ctypeIcE8do_widenEc'
[...]libOgmaNeo.a(Architect.cpp.obj):Architect.cpp:(.bss+0x5c): first defined here
[...]libOgmaNeo.a(ComputeProgram.cpp.obj):ComputeProgram.cpp:(.bss+0x30): multiple definition of `.weak.__ZN2cl7Context8default_E.__ZNKSt5ctypeIcE8do_widenEc'
[...]libOgmaNeo.a(Architect.cpp.obj):Architect.cpp:(.bss+0x60): first defined here
[...]libOgmaNeo.a(ComputeProgram.cpp.obj):ComputeProgram.cpp:(.bss+0x34): multiple definition of `.weak.__ZN2cl7Context20default_initialized_E.__ZNKSt5ctypeIcE8do_widenEc'
[...]libOgmaNeo.a(Architect.cpp.obj):Architect.cpp:(.bss+0x64): first defined here
[...]libOgmaNeo.a(ComputeProgram.cpp.obj):ComputeProgram.cpp:(.bss+0x38): multiple definition of `.weak.__ZN2cl8Platform14default_error_E.__ZNKSt5ctypeIcE8do_widenEc'
[...]libOgmaNeo.a(Architect.cpp.obj):Architect.cpp:(.bss+0x68): first defined here
[...]libOgmaNeo.a(ComputeProgram.cpp.obj):ComputeProgram.cpp:(.bss+0x3c): multiple definition of `.weak.__ZN2cl8Platform8default_E.__ZNKSt5ctypeIcE8do_widenEc'
[...]libOgmaNeo.a(Architect.cpp.obj):Architect.cpp:(.bss+0x6c): first defined here
[...]libOgmaNeo.a(ComputeProgram.cpp.obj):ComputeProgram.cpp:(.bss+0x40): multiple definition of `.weak.__ZN2cl8Platform20default_initialized_E.__ZNKSt5ctypeIcE8do_widenEc'
[...]libOgmaNeo.a(Architect.cpp.obj):Architect.cpp:(.bss+0x70): first defined here
[...]libOgmaNeo.a(ComputeProgram.cpp.obj):ComputeProgram.cpp:(.bss+0x44): multiple definition of `.weak.__ZN2cl6Device14default_error_E.__ZNKSt5ctypeIcE8do_widenEc'
[...]libOgmaNeo.a(Architect.cpp.obj):Architect.cpp:(.bss+0x74): first defined here
[...]libOgmaNeo.a(ComputeProgram.cpp.obj):ComputeProgram.cpp:(.bss+0x48): multiple definition of `.weak.__ZN2cl6Device8default_E.__ZNKSt5ctypeIcE8do_widenEc'
[...]libOgmaNeo.a(Architect.cpp.obj):Architect.cpp:(.bss+0x78): first defined here
[...]libOgmaNeo.a(ComputeProgram.cpp.obj):ComputeProgram.cpp:(.bss+0x50): multiple definition of `.weak.__ZN2cl6Device20default_initialized_E.__ZNKSt5ctypeIcE8do_widenEc'
[...]libOgmaNeo.a(Architect.cpp.obj):Architect.cpp:(.bss+0x80): first defined here
[...]libOgmaNeo.a(ComputeSystem.cpp.obj):ComputeSystem.cpp:(.bss+0x0): multiple definition of `.weak.__ZGVN2cl12CommandQueue8default_E.__ZNKSt5ctypeIcE8do_widenEc'
[...]libOgmaNeo.a(Architect.cpp.obj):Architect.cpp:(.bss+0x0): first defined here
[...]libOgmaNeo.a(ComputeSystem.cpp.obj):ComputeSystem.cpp:(.bss+0x8): multiple definition of `.weak.__ZGVN2cl7Context8default_E.__ZNKSt5ctypeIcE8do_widenEc'
[...]libOgmaNeo.a(Architect.cpp.obj):Architect.cpp:(.bss+0x8): first defined here
[...]libOgmaNeo.a(ComputeSystem.cpp.obj):ComputeSystem.cpp:(.bss+0x10): multiple definition of `.weak.__ZGVN2cl8Platform8default_E.__ZNKSt5ctypeIcE8do_widenEc'
[...]libOgmaNeo.a(Architect.cpp.obj):Architect.cpp:(.bss+0x10): first defined here
[...]libOgmaNeo.a(ComputeSystem.cpp.obj):ComputeSystem.cpp:(.bss+0x18): multiple definition of `.weak.__ZGVN2cl6Device8default_E.__ZNKSt5ctypeIcE8do_widenEc'
[...]libOgmaNeo.a(Architect.cpp.obj):Architect.cpp:(.bss+0x18): first defined here
[...]libOgmaNeo.a(ComputeSystem.cpp.obj):ComputeSystem.cpp:(.bss+0x20): multiple definition of `.weak.__ZN2cl12CommandQueue14default_error_E.__ZNKSt5ctypeIcE8do_widenEc'
[...]libOgmaNeo.a(Architect.cpp.obj):Architect.cpp:(.bss+0x50): first defined here
[...]libOgmaNeo.a(ComputeSystem.cpp.obj):ComputeSystem.cpp:(.bss+0x24): multiple definition of `.weak.__ZN2cl12CommandQueue8default_E.__ZNKSt5ctypeIcE8do_widenEc'
[...]libOgmaNeo.a(Architect.cpp.obj):Architect.cpp:(.bss+0x54): first defined here
[...]libOgmaNeo.a(ComputeSystem.cpp.obj):ComputeSystem.cpp:(.bss+0x28): multiple definition of `.weak.__ZN2cl12CommandQueue20default_initialized_E.__ZNKSt5ctypeIcE8do_widenEc'
[...]libOgmaNeo.a(Architect.cpp.obj):Architect.cpp:(.bss+0x58): first defined here
[...]libOgmaNeo.a(ComputeSystem.cpp.obj):ComputeSystem.cpp:(.bss+0x2c): multiple definition of `.weak.__ZN2cl7Context14default_error_E.__ZNKSt5ctypeIcE8do_widenEc'
[...]libOgmaNeo.a(Architect.cpp.obj):Architect.cpp:(.bss+0x5c): first defined here
[...]libOgmaNeo.a(ComputeSystem.cpp.obj):ComputeSystem.cpp:(.bss+0x30): multiple definition of `.weak.__ZN2cl7Context8default_E.__ZNKSt5ctypeIcE8do_widenEc'
[...]libOgmaNeo.a(Architect.cpp.obj):Architect.cpp:(.bss+0x60): first defined here
[...]libOgmaNeo.a(ComputeSystem.cpp.obj):ComputeSystem.cpp:(.bss+0x34): multiple definition of `.weak.__ZN2cl7Context20default_initialized_E.__ZNKSt5ctypeIcE8do_widenEc'
[...]libOgmaNeo.a(Architect.cpp.obj):Architect.cpp:(.bss+0x64): first defined here
[...]libOgmaNeo.a(ComputeSystem.cpp.obj):ComputeSystem.cpp:(.bss+0x38): multiple definition of `.weak.__ZN2cl8Platform14default_error_E.__ZNKSt5ctypeIcE8do_widenEc'
[...]libOgmaNeo.a(Architect.cpp.obj):Architect.cpp:(.bss+0x68): first defined here
[...]libOgmaNeo.a(ComputeSystem.cpp.obj):ComputeSystem.cpp:(.bss+0x3c): multiple definition of `.weak.__ZN2cl8Platform8default_E.__ZNKSt5ctypeIcE8do_widenEc'
[...]libOgmaNeo.a(Architect.cpp.obj):Architect.cpp:(.bss+0x6c): first defined here
[...]libOgmaNeo.a(ComputeSystem.cpp.obj):ComputeSystem.cpp:(.bss+0x40): multiple definition of `.weak.__ZN2cl8Platform20default_initialized_E.__ZNKSt5ctypeIcE8do_widenEc'
[...]libOgmaNeo.a(Architect.cpp.obj):Architect.cpp:(.bss+0x70): first defined here
[...]libOgmaNeo.a(ComputeSystem.cpp.obj):ComputeSystem.cpp:(.bss+0x44): multiple definition of `.weak.__ZN2cl6Device14default_error_E.__ZNKSt5ctypeIcE8do_widenEc'
[...]libOgmaNeo.a(Architect.cpp.obj):Architect.cpp:(.bss+0x74): first defined here
[...]libOgmaNeo.a(ComputeSystem.cpp.obj):ComputeSystem.cpp:(.bss+0x48): multiple definition of `.weak.__ZN2cl6Device8default_E.__ZNKSt5ctypeIcE8do_widenEc'
[...]libOgmaNeo.a(Architect.cpp.obj):Architect.cpp:(.bss+0x78): first defined here
[...]libOgmaNeo.a(ComputeSystem.cpp.obj):ComputeSystem.cpp:(.bss+0x50): multiple definition of `.weak.__ZN2cl6Device20default_initialized_E.__ZNKSt5ctypeIcE8do_widenEc'
[...]libOgmaNeo.a(Architect.cpp.obj):Architect.cpp:(.bss+0x80): first defined here
[...]libOgmaNeo.a(Helpers.cpp.obj):Helpers.cpp:(.bss+0x0): multiple definition of `.weak.__ZGVN2cl12CommandQueue8default_E.__ZN11flatbuffers16DefaultAllocator10deallocateEPhj'
[...]libOgmaNeo.a(Predictor.cpp.obj):Predictor.cpp:(.bss+0x0): first defined here
[...]libOgmaNeo.a(Helpers.cpp.obj):Helpers.cpp:(.bss+0x8): multiple definition of `.weak.__ZGVN2cl7Context8default_E.__ZN11flatbuffers16DefaultAllocator10deallocateEPhj'
[...]libOgmaNeo.a(Predictor.cpp.obj):Predictor.cpp:(.bss+0x8): first defined here
[...]libOgmaNeo.a(Helpers.cpp.obj):Helpers.cpp:(.bss+0x10): multiple definition of `.weak.__ZGVN2cl8Platform8default_E.__ZN11flatbuffers16DefaultAllocator10deallocateEPhj'
[...]libOgmaNeo.a(Predictor.cpp.obj):Predictor.cpp:(.bss+0x10): first defined here
[...]libOgmaNeo.a(Helpers.cpp.obj):Helpers.cpp:(.bss+0x18): multiple definition of `.weak.__ZGVN2cl6Device8default_E.__ZN11flatbuffers16DefaultAllocator10deallocateEPhj'
[...]libOgmaNeo.a(Predictor.cpp.obj):Predictor.cpp:(.bss+0x18): first defined here
[...]libOgmaNeo.a(Helpers.cpp.obj):Helpers.cpp:(.bss+0x20): multiple definition of `.weak.__ZN2cl12CommandQueue14default_error_E.__ZN11flatbuffers16DefaultAllocator10deallocateEPhj'
[...]libOgmaNeo.a(Predictor.cpp.obj):Predictor.cpp:(.bss+0x20): first defined here
[...]libOgmaNeo.a(Helpers.cpp.obj):Helpers.cpp:(.bss+0x24): multiple definition of `.weak.__ZN2cl12CommandQueue8default_E.__ZN11flatbuffers16DefaultAllocator10deallocateEPhj'
[...]libOgmaNeo.a(Predictor.cpp.obj):Predictor.cpp:(.bss+0x24): first defined here
[...]libOgmaNeo.a(Helpers.cpp.obj):Helpers.cpp:(.bss+0x28): multiple definition of `.weak.__ZN2cl12CommandQueue20default_initialized_E.__ZN11flatbuffers16DefaultAllocator10deallocateEPhj'
[...]libOgmaNeo.a(Predictor.cpp.obj):Predictor.cpp:(.bss+0x28): first defined here
[...]libOgmaNeo.a(Helpers.cpp.obj):Helpers.cpp:(.bss+0x2c): multiple definition of `.weak.__ZN2cl7Context14default_error_E.__ZN11flatbuffers16DefaultAllocator10deallocateEPhj'
[...]libOgmaNeo.a(Predictor.cpp.obj):Predictor.cpp:(.bss+0x2c): first defined here
[...]libOgmaNeo.a(Helpers.cpp.obj):Helpers.cpp:(.bss+0x30): multiple definition of `.weak.__ZN2cl7Context8default_E.__ZN11flatbuffers16DefaultAllocator10deallocateEPhj'
[...]libOgmaNeo.a(Predictor.cpp.obj):Predictor.cpp:(.bss+0x30): first defined here
[...]libOgmaNeo.a(Helpers.cpp.obj):Helpers.cpp:(.bss+0x34): multiple definition of `.weak.__ZN2cl7Context20default_initialized_E.__ZN11flatbuffers16DefaultAllocator10deallocateEPhj'
[...]libOgmaNeo.a(Predictor.cpp.obj):Predictor.cpp:(.bss+0x34): first defined here
[...]libOgmaNeo.a(Helpers.cpp.obj):Helpers.cpp:(.bss+0x38): multiple definition of `.weak.__ZN2cl8Platform14default_error_E.__ZN11flatbuffers16DefaultAllocator10deallocateEPhj'
[...]libOgmaNeo.a(Predictor.cpp.obj):Predictor.cpp:(.bss+0x38): first defined here
[...]libOgmaNeo.a(Helpers.cpp.obj):Helpers.cpp:(.bss+0x3c): multiple definition of `.weak.__ZN2cl8Platform8default_E.__ZN11flatbuffers16DefaultAllocator10deallocateEPhj'
[...]libOgmaNeo.a(Predictor.cpp.obj):Predictor.cpp:(.bss+0x3c): first defined here
[...]libOgmaNeo.a(Helpers.cpp.obj):Helpers.cpp:(.bss+0x40): multiple definition of `.weak.__ZN2cl8Platform20default_initialized_E.__ZN11flatbuffers16DefaultAllocator10deallocateEPhj'
[...]libOgmaNeo.a(Predictor.cpp.obj):Predictor.cpp:(.bss+0x40): first defined here
[...]libOgmaNeo.a(Helpers.cpp.obj):Helpers.cpp:(.bss+0x44): multiple definition of `.weak.__ZN2cl6Device14default_error_E.__ZN11flatbuffers16DefaultAllocator10deallocateEPhj'
[...]libOgmaNeo.a(Predictor.cpp.obj):Predictor.cpp:(.bss+0x44): first defined here
[...]libOgmaNeo.a(Helpers.cpp.obj):Helpers.cpp:(.bss+0x48): multiple definition of `.weak.__ZN2cl6Device8default_E.__ZN11flatbuffers16DefaultAllocator10deallocateEPhj'
[...]libOgmaNeo.a(Predictor.cpp.obj):Predictor.cpp:(.bss+0x48): first defined here
[...]libOgmaNeo.a(Helpers.cpp.obj):Helpers.cpp:(.bss+0x50): multiple definition of `.weak.__ZN2cl6Device20default_initialized_E.__ZN11flatbuffers16DefaultAllocator10deallocateEPhj'
[...]libOgmaNeo.a(Predictor.cpp.obj):Predictor.cpp:(.bss+0x50): first defined here

Any ideas?

@rcrowder
Copy link
Collaborator

Hi @Waratte This looks like it relates to linking to a static version of the library. Have you tried building and linking to a shared/dynamic version? i.e. using -DBUILD_SHARED_LIBS=ON when running CMake with OgmaNeo

@auspiciousdiviner
Copy link
Author

A sort of similar thing happens while trying to compile the OgmaNeo.dll:

CMakeFiles\OgmaNeo.dir/objects.a(FeatureHierarchy.cpp.obj):FeatureHierarchy.cpp:(.bss+0x0): multiple definition of `.weak.__ZN2cl6Device20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):Architect.cpp:(.bss+0x0): first defined here
CMakeFiles\OgmaNeo.dir/objects.a(FeatureHierarchy.cpp.obj): In function `ZdlPvS_':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/i686-w64-mingw32/bits/gthr-default.h:301: multiple definition of `.weak.__ZN2cl6Device8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/i686-w64-mingw32/bits/gthr-default.h:301: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(FeatureHierarchy.cpp.obj): In function `ZNSt12_Vector_baseIN2cl7Image2DESaIS1_EE19_M_get_Tp_allocatorEv':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: multiple definition of `.weak.__ZN2cl6Device14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(FeatureHierarchy.cpp.obj): In function `_exchange_and_add':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: multiple definition of `.weak.__ZN2cl8Platform20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(FeatureHierarchy.cpp.obj): In function `_exchange_and_add':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: multiple definition of `.weak.__ZN2cl8Platform8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(FeatureHierarchy.cpp.obj): In function `_exchange_and_add':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: multiple definition of `.weak.__ZN2cl8Platform14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(FeatureHierarchy.cpp.obj): In function `_atomic_add':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: multiple definition of `.weak.__ZN2cl7Context20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(FeatureHierarchy.cpp.obj): In function `_atomic_add':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: multiple definition of `.weak.__ZN2cl7Context8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(FeatureHierarchy.cpp.obj): In function `_atomic_add':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: multiple definition of `.weak.__ZN2cl7Context14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(FeatureHierarchy.cpp.obj): In function `_atomic_add':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: multiple definition of `.weak.__ZN2cl12CommandQueue20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(FeatureHierarchy.cpp.obj): In function `_exchange_and_add_single':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:66: multiple definition of `.weak.__ZN2cl12CommandQueue8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:66: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(FeatureHierarchy.cpp.obj): In function `_exchange_and_add_single':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:67: multiple definition of `.weak.__ZN2cl12CommandQueue14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:67: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(FeatureHierarchy.cpp.obj): In function `_exchange_and_add_single':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:68: multiple definition of `.weak.__ZGVN2cl6Device8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:81: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(FeatureHierarchy.cpp.obj): In function `_exchange_and_add_single':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:68: multiple definition of `.weak.__ZGVN2cl8Platform8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:81: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(FeatureHierarchy.cpp.obj): In function `_exchange_and_add_single':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:69: multiple definition of `.weak.__ZGVN2cl7Context8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:82: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(FeatureHierarchy.cpp.obj): In function `_atomic_add_single':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:74: multiple definition of `.weak.__ZGVN2cl12CommandQueue8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:82: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Helpers.cpp.obj):Helpers.cpp:(.bss+0x0): multiple definition of `.weak.__ZN2cl6Device20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/i686-w64-mingw32/bits/gthr-default.h:300: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Helpers.cpp.obj): In function `ZNSt12_Destroy_auxILb1EE9__destroyIPjEEvT_S3_':
D:/mingw32_7_1/mingw32/i686-w64-mingw32/include/CL/cl2.hpp:770: multiple definition of `.weak.__ZN2cl6Device8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/i686-w64-mingw32/bits/gthr-default.h:301: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Helpers.cpp.obj): In function `ZNSt12_Vector_baseIjSaIjEE19_M_get_Tp_allocatorEv':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Helpers.cpp:13: multiple definition of `.weak.__ZN2cl6Device14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Helpers.cpp.obj): In function `ZN7ogmaneo13ComputeSystem10getContextEv':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Helpers.cpp:13: multiple definition of `.weak.__ZN2cl8Platform20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Helpers.cpp.obj): In function `ZNK11flatbuffers17FlatBufferBuilder7GetSizeEv':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Helpers.cpp:13: multiple definition of `.weak.__ZN2cl8Platform8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Helpers.cpp.obj): In function `ZN11flatbuffers10ReadScalarItEET_PKv':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Helpers.cpp:13: multiple definition of `.weak.__ZN2cl8Platform14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Helpers.cpp.obj): In function `ZNKSt6vectorIN11flatbuffers17FlatBufferBuilder8FieldLocESaIS2_EE8max_sizeEv':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Helpers.cpp:13: multiple definition of `.weak.__ZN2cl7Context20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Helpers.cpp.obj): In function `ZNSt6vectorIN11flatbuffers17FlatBufferBuilder8FieldLocESaIS2_EE5beginEv':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Helpers.cpp:14: multiple definition of `.weak.__ZN2cl7Context8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Helpers.cpp.obj): In function `ZSt18uninitialized_copyISt13move_iteratorIPN11flatbuffers17FlatBufferBuilder8FieldLocEES4_ET0_T_S7_S6_':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Helpers.cpp:14: multiple definition of `.weak.__ZN2cl7Context14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Helpers.cpp.obj): In function `ZNSt16allocator_traitsISaIN11flatbuffers17FlatBufferBuilder8FieldLocEEE9constructIS2_JRKS2_EEEvRS3_PT_DpOT0_':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Helpers.cpp:16: multiple definition of `.weak.__ZN2cl12CommandQueue20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Helpers.cpp.obj): In function `ZNSt12_Vector_baseIN11flatbuffers17FlatBufferBuilder8FieldLocESaIS2_EE13_M_deallocateEPS2_j':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Helpers.cpp:16: multiple definition of `.weak.__ZN2cl12CommandQueue8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:66: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Helpers.cpp.obj): In function `ZNSt5arrayIN2cl7Image2DELj2EED1Ev':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Helpers.cpp:16: multiple definition of `.weak.__ZN2cl12CommandQueue14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:67: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Helpers.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorIjE9constructIjJRKjEEEvPT_DpOT0_':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Helpers.cpp:16: multiple definition of `.weak.__ZGVN2cl6Device8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:81: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Helpers.cpp.obj): In function `ZNSt6vectorIfSaIfEE18_M_fill_initializeEjRKf':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Helpers.cpp:16: multiple definition of `.weak.__ZGVN2cl8Platform8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:81: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Helpers.cpp.obj): In function `ZNSt11__copy_moveILb1ELb1ESt26random_access_iterator_tagE8__copy_mIN11flatbuffers17FlatBufferBuilder8FieldLocEEEPT_PKS6_S9_S7_':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Helpers.cpp:16: multiple definition of `.weak.__ZGVN2cl7Context8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:82: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Helpers.cpp.obj): In function `ZN11flatbuffers17FlatBufferBuilder5AlignEj':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Helpers.cpp:16: multiple definition of `.weak.__ZGVN2cl12CommandQueue8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:82: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Hierarchy.cpp.obj):Hierarchy.cpp:(.bss+0x0): multiple definition of `.weak.__ZN2cl6Device20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/i686-w64-mingw32/bits/gthr-default.h:300: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Hierarchy.cpp.obj): In function `ZNSt12_Destroy_auxILb1EE9__destroyIPhEEvT_S3_':
D:/mingw32_7_1/mingw32/i686-w64-mingw32/include/CL/cl2.hpp:770: multiple definition of `.weak.__ZN2cl6Device8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/i686-w64-mingw32/bits/gthr-default.h:301: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Hierarchy.cpp.obj): In function `ZNK2cl6detail7WrapperIP7_cl_memEclEv':
D:/mingw32_7_1/mingw32/i686-w64-mingw32/include/flatbuffers/flatbuffers.h:392: multiple definition of `.weak.__ZN2cl6Device14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Hierarchy.cpp.obj): In function `ZN7ogmaneo13ComputeSystem8getQueueEv':
D:/mingw32_7_1/mingw32/i686-w64-mingw32/include/flatbuffers/flatbuffers.h:392: multiple definition of `.weak.__ZN2cl8Platform20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Hierarchy.cpp.obj): In function `_tcf_0':
D:/mingw32_7_1/mingw32/i686-w64-mingw32/include/flatbuffers/flatbuffers.h:392: multiple definition of `.weak.__ZN2cl8Platform8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Hierarchy.cpp.obj): In function `_tcf_0':
D:/mingw32_7_1/mingw32/i686-w64-mingw32/include/flatbuffers/flatbuffers.h:392: multiple definition of `.weak.__ZN2cl8Platform14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Hierarchy.cpp.obj): In function `ZNKSt6vectorIN11flatbuffers17FlatBufferBuilder8FieldLocESaIS2_EE8max_sizeEv':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Hierarchy.cpp:15: multiple definition of `.weak.__ZN2cl7Context20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Hierarchy.cpp.obj): In function `ZN2cl6MemoryC2ERKS0_':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Hierarchy.cpp:15: multiple definition of `.weak.__ZN2cl7Context8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Hierarchy.cpp.obj): In function `ZNKSt6vectorIN7ogmaneo12ValueField2DESaIS1_EE4sizeEv':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Hierarchy.cpp:15: multiple definition of `.weak.__ZN2cl7Context14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Hierarchy.cpp.obj): In function `ZNKSt6vectorIN2cl5EventESaIS1_EE5beginEv':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Hierarchy.cpp:15: multiple definition of `.weak.__ZN2cl12CommandQueue20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Hierarchy.cpp.obj): In function `ZNK7ogmaneo14SparseFeatures16getHiddenContextEv':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Hierarchy.cpp:17: multiple definition of `.weak.__ZN2cl12CommandQueue8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:66: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Hierarchy.cpp.obj): In function `ZN11flatbuffers19BufferHasIdentifierEPKvPKc':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Hierarchy.cpp:17: multiple definition of `.weak.__ZN2cl12CommandQueue14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:67: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Hierarchy.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorIjE9constructIjJRKjEEEvPT_DpOT0_':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Hierarchy.cpp:17: multiple definition of `.weak.__ZGVN2cl6Device8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:81: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Hierarchy.cpp.obj): In function `ZNSt6vectorIfSaIfEE18_M_fill_initializeEjRKf':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Hierarchy.cpp:17: multiple definition of `.weak.__ZGVN2cl8Platform8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:81: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Hierarchy.cpp.obj): In function `ZNSt11__copy_moveILb1ELb1ESt26random_access_iterator_tagE8__copy_mIN11flatbuffers17FlatBufferBuilder8FieldLocEEEPT_PKS6_S9_S7_':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Hierarchy.cpp:17: multiple definition of `.weak.__ZGVN2cl7Context8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:82: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Hierarchy.cpp.obj): In function `ZN11flatbuffers17FlatBufferBuilder5AlignEj':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Hierarchy.cpp:17: multiple definition of `.weak.__ZGVN2cl12CommandQueue8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:82: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Predictor.cpp.obj):Predictor.cpp:(.bss+0x0): multiple definition of `.weak.__ZN2cl6Device20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/i686-w64-mingw32/bits/gthr-default.h:300: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Predictor.cpp.obj): In function `ZSt19__iterator_categoryIPKN2cl7Image2DEENSt15iterator_traitsIT_E17iterator_categoryERKS5_':
D:/mingw32_7_1/mingw32/i686-w64-mingw32/include/CL/cl2.hpp:770: multiple definition of `.weak.__ZN2cl6Device8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/i686-w64-mingw32/bits/gthr-default.h:301: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Predictor.cpp.obj): In function `ZNKSt12_Vector_baseIN11flatbuffers17FlatBufferBuilder8FieldLocESaIS2_EE19_M_get_Tp_allocatorEv':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Predictor.cpp:20: multiple definition of `.weak.__ZN2cl6Device14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Predictor.cpp.obj): In function `ZNK7ogmaneo14PredictorLayer15getHiddenStatesEv':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Predictor.cpp:20: multiple definition of `.weak.__ZN2cl8Platform20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Predictor.cpp.obj): In function `ZNK11flatbuffers17FlatBufferBuilder7GetSizeEv':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Predictor.cpp:20: multiple definition of `.weak.__ZN2cl8Platform8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Predictor.cpp.obj): In function `ZN11flatbuffers10ReadScalarIhEET_PKv':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Predictor.cpp:20: multiple definition of `.weak.__ZN2cl8Platform14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Predictor.cpp.obj): In function `ZNKSt6vectorIN11flatbuffers17FlatBufferBuilder8FieldLocESaIS2_EE8max_sizeEv':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Predictor.cpp:20: multiple definition of `.weak.__ZN2cl7Context20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Predictor.cpp.obj): In function `ZN2cl6MemoryC2ERKS0_':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Predictor.cpp:21: multiple definition of `.weak.__ZN2cl7Context8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Predictor.cpp.obj): In function `ZNKSt6vectorIN7ogmaneo16FeatureHierarchy9LayerDescESaIS2_EE4sizeEv':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Predictor.cpp:21: multiple definition of `.weak.__ZN2cl7Context14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Predictor.cpp.obj): In function `ZNSt16allocator_traitsISaIN11flatbuffers17FlatBufferBuilder8FieldLocEEE9constructIS2_JRKS2_EEEvRS3_PT_DpOT0_':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Predictor.cpp:21: multiple definition of `.weak.__ZN2cl12CommandQueue20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Predictor.cpp.obj): In function `ZN2cl6MemoryC2EOS0_':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Predictor.cpp:21: multiple definition of `.weak.__ZN2cl12CommandQueue8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:66: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Predictor.cpp.obj): In function `ZNSt5arrayIN2cl7Image2DELj2EED1Ev':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Predictor.cpp:21: multiple definition of `.weak.__ZN2cl12CommandQueue14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:67: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Predictor.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorIjE9constructIjJRKjEEEvPT_DpOT0_':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Predictor.cpp:21: multiple definition of `.weak.__ZGVN2cl6Device8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:81: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Predictor.cpp.obj): In function `ZSt34__uninitialized_move_if_noexcept_aIPN11flatbuffers17FlatBufferBuilder8FieldLocES3_SaIS2_EET0_T_S6_S5_RT1_':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Predictor.cpp:21: multiple definition of `.weak.__ZGVN2cl8Platform8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:81: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Predictor.cpp.obj): In function `ZNK11flatbuffers5Table8GetFieldIiEET_tS2_':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Predictor.cpp:21: multiple definition of `.weak.__ZGVN2cl7Context8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:82: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(Predictor.cpp.obj): In function `ZN11flatbuffers17FlatBufferBuilder5AlignEj':
C:/Users/waratte/Downloads/OgmaNeo/source/neo/Predictor.cpp:22: multiple definition of `.weak.__ZGVN2cl12CommandQueue8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:82: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(PredictorLayer.cpp.obj):PredictorLayer.cpp:(.bss+0x0): multiple definition of `.weak.__ZN2cl6Device20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/i686-w64-mingw32/bits/gthr-default.h:300: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(PredictorLayer.cpp.obj): In function `ZdlPvS_':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/i686-w64-mingw32/bits/gthr-default.h:301: multiple definition of `.weak.__ZN2cl6Device8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/i686-w64-mingw32/bits/gthr-default.h:301: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(PredictorLayer.cpp.obj): In function `ZNK2cl7NDRangecvPKjEv':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: multiple definition of `.weak.__ZN2cl6Device14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(PredictorLayer.cpp.obj): In function `_exchange_and_add':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: multiple definition of `.weak.__ZN2cl8Platform20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(PredictorLayer.cpp.obj): In function `_exchange_and_add':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: multiple definition of `.weak.__ZN2cl8Platform8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(PredictorLayer.cpp.obj): In function `_exchange_and_add':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: multiple definition of `.weak.__ZN2cl8Platform14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(PredictorLayer.cpp.obj): In function `ZNKSt6vectorIN11flatbuffers17FlatBufferBuilder8FieldLocESaIS2_EE8max_sizeEv':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:66: multiple definition of `.weak.__ZN2cl7Context20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(PredictorLayer.cpp.obj): In function `ZN2cl6MemoryC2ERKS0_':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:66: multiple definition of `.weak.__ZN2cl7Context8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(PredictorLayer.cpp.obj): In function `_exchange_and_add_single':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:67: multiple definition of `.weak.__ZN2cl7Context14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(PredictorLayer.cpp.obj): In function `_exchange_and_add_single':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:67: multiple definition of `.weak.__ZN2cl12CommandQueue20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(PredictorLayer.cpp.obj): In function `_exchange_and_add_single':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:68: multiple definition of `.weak.__ZN2cl12CommandQueue8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:66: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(PredictorLayer.cpp.obj): In function `_exchange_and_add_single':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:68: multiple definition of `.weak.__ZN2cl12CommandQueue14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:67: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(PredictorLayer.cpp.obj): In function `_exchange_and_add_single':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:69: multiple definition of `.weak.__ZGVN2cl6Device8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:81: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(PredictorLayer.cpp.obj): In function `_exchange_and_add_dispatch':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:79: multiple definition of `.weak.__ZGVN2cl8Platform8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:81: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(PredictorLayer.cpp.obj): In function `_exchange_and_add_dispatch':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:81: multiple definition of `.weak.__ZGVN2cl7Context8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:82: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(PredictorLayer.cpp.obj): In function `_exchange_and_add_dispatch':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:81: multiple definition of `.weak.__ZGVN2cl12CommandQueue8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:82: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(SparseFeaturesChunk.cpp.obj):SparseFeaturesChunk.cpp:(.bss+0x0): multiple definition of `.weak.__ZN2cl6Device20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/i686-w64-mingw32/bits/gthr-default.h:300: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(SparseFeaturesChunk.cpp.obj): In function `ZNSt12_Destroy_auxILb1EE9__destroyIPjEEvT_S3_':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/i686-w64-mingw32/bits/gthr-default.h:301: multiple definition of `.weak.__ZN2cl6Device8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/i686-w64-mingw32/bits/gthr-default.h:301: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(SparseFeaturesChunk.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorIN7ogmaneo19SparseFeaturesChunkEEC2ERKS3_':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: multiple definition of `.weak.__ZN2cl6Device14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(SparseFeaturesChunk.cpp.obj): In function `ZNK11flatbuffers6VectorINS_6OffsetIN7ogmaneo7schemas17VisibleChunkLayerEEEE4DataEv':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: multiple definition of `.weak.__ZN2cl8Platform20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(SparseFeaturesChunk.cpp.obj): In function `_exchange_and_add':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: multiple definition of `.weak.__ZN2cl8Platform8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(SparseFeaturesChunk.cpp.obj): In function `_exchange_and_add':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: multiple definition of `.weak.__ZN2cl8Platform14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(SparseFeaturesChunk.cpp.obj): In function `ZNKSt6vectorIN11flatbuffers17FlatBufferBuilder8FieldLocESaIS2_EE8max_sizeEv':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:66: multiple definition of `.weak.__ZN2cl7Context20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(SparseFeaturesChunk.cpp.obj): In function `ZNSaIN7ogmaneo19SparseFeaturesChunkEEC2ERKS1_':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:66: multiple definition of `.weak.__ZN2cl7Context8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(SparseFeaturesChunk.cpp.obj): In function `_exchange_and_add_single':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:67: multiple definition of `.weak.__ZN2cl7Context14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(SparseFeaturesChunk.cpp.obj): In function `_exchange_and_add_single':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:67: multiple definition of `.weak.__ZN2cl12CommandQueue20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(SparseFeaturesChunk.cpp.obj): In function `_exchange_and_add_single':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:68: multiple definition of `.weak.__ZN2cl12CommandQueue8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:66: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(SparseFeaturesChunk.cpp.obj): In function `_exchange_and_add_single':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:68: multiple definition of `.weak.__ZN2cl12CommandQueue14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:67: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(SparseFeaturesChunk.cpp.obj): In function `_exchange_and_add_single':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:69: multiple definition of `.weak.__ZGVN2cl6Device8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:81: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(SparseFeaturesChunk.cpp.obj): In function `_exchange_and_add_dispatch':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:79: multiple definition of `.weak.__ZGVN2cl8Platform8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:81: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(SparseFeaturesChunk.cpp.obj): In function `_exchange_and_add_dispatch':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:81: multiple definition of `.weak.__ZGVN2cl7Context8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:82: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(SparseFeaturesChunk.cpp.obj): In function `_exchange_and_add_dispatch':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:81: multiple definition of `.weak.__ZGVN2cl12CommandQueue8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:82: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(SparseFeaturesDistance.cpp.obj):SparseFeaturesDistance.cpp:(.bss+0x0): multiple definition of `.weak.__ZN2cl6Device20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/i686-w64-mingw32/bits/gthr-default.h:300: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(SparseFeaturesDistance.cpp.obj): In function `ZdlPvS_':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/i686-w64-mingw32/bits/gthr-default.h:301: multiple definition of `.weak.__ZN2cl6Device8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/i686-w64-mingw32/bits/gthr-default.h:301: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(SparseFeaturesDistance.cpp.obj): In function `ZN7ogmaneo14ComputeProgram10getProgramEv':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: multiple definition of `.weak.__ZN2cl6Device14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(SparseFeaturesDistance.cpp.obj): In function `ZN7ogmaneo13ComputeSystem10getContextEv':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: multiple definition of `.weak.__ZN2cl8Platform20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(SparseFeaturesDistance.cpp.obj): In function `_exchange_and_add':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: multiple definition of `.weak.__ZN2cl8Platform8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(SparseFeaturesDistance.cpp.obj): In function `_exchange_and_add':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: multiple definition of `.weak.__ZN2cl8Platform14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(SparseFeaturesDistance.cpp.obj): In function `ZNKSt6vectorIN11flatbuffers17FlatBufferBuilder8FieldLocESaIS2_EE8max_sizeEv':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:66: multiple definition of `.weak.__ZN2cl7Context20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(SparseFeaturesDistance.cpp.obj): In function `ZN2cl6MemoryC2ERKS0_':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:66: multiple definition of `.weak.__ZN2cl7Context8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(SparseFeaturesDistance.cpp.obj): In function `_exchange_and_add_single':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:67: multiple definition of `.weak.__ZN2cl7Context14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(SparseFeaturesDistance.cpp.obj): In function `_exchange_and_add_single':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:67: multiple definition of `.weak.__ZN2cl12CommandQueue20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(SparseFeaturesDistance.cpp.obj): In function `_exchange_and_add_single':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:68: multiple definition of `.weak.__ZN2cl12CommandQueue8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:66: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(SparseFeaturesDistance.cpp.obj): In function `_exchange_and_add_single':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:68: multiple definition of `.weak.__ZN2cl12CommandQueue14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:67: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(SparseFeaturesDistance.cpp.obj): In function `_exchange_and_add_single':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:69: multiple definition of `.weak.__ZGVN2cl6Device8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:81: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(SparseFeaturesDistance.cpp.obj): In function `_exchange_and_add_dispatch':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:79: multiple definition of `.weak.__ZGVN2cl8Platform8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:81: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(SparseFeaturesDistance.cpp.obj): In function `_exchange_and_add_dispatch':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:81: multiple definition of `.weak.__ZGVN2cl7Context8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:82: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(SparseFeaturesDistance.cpp.obj): In function `_exchange_and_add_dispatch':
D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:81: multiple definition of `.weak.__ZGVN2cl12CommandQueue8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:82: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(ComputeProgram.cpp.obj):ComputeProgram.cpp:(.bss+0x0): multiple definition of `.weak.__ZN2cl6Device20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/i686-w64-mingw32/bits/gthr-default.h:300: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(ComputeProgram.cpp.obj): In function `ZdlPvS_':
D:/mingw32_7_1/mingw32/i686-w64-mingw32/include/CL/cl2.hpp:770: multiple definition of `.weak.__ZN2cl6Device8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/i686-w64-mingw32/bits/gthr-default.h:301: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(ComputeProgram.cpp.obj): In function `buildErrHandler':
D:/mingw32_7_1/mingw32/i686-w64-mingw32/include/CL/cl2.hpp:1918: multiple definition of `.weak.__ZN2cl6Device14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(ComputeProgram.cpp.obj): In function `ZN7ogmaneo13ComputeSystem10getContextEv':
C:/Users/waratte/Downloads/OgmaNeo/source/system/ComputeProgram.cpp:24: multiple definition of `.weak.__ZN2cl8Platform20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(ComputeProgram.cpp.obj): In function `ZN2cl6detail7WrapperIP15_cl_platform_idEC2Ev':
C:/Users/waratte/Downloads/OgmaNeo/source/system/ComputeProgram.cpp:24: multiple definition of `.weak.__ZN2cl8Platform8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(ComputeProgram.cpp.obj): In function `ZSt3maxIjERKT_S2_S2_':
C:/Users/waratte/Downloads/OgmaNeo/source/system/ComputeProgram.cpp:24: multiple definition of `.weak.__ZN2cl8Platform14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(ComputeProgram.cpp.obj): In function `ZN2cl6detail7WrapperIP15_cl_platform_idED2Ev':
C:/Users/waratte/Downloads/OgmaNeo/source/system/ComputeProgram.cpp:27: multiple definition of `.weak.__ZN2cl7Context20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(ComputeProgram.cpp.obj): In function `ZNK2cl6detail7WrapperIP15_cl_platform_idE7releaseEv':
C:/Users/waratte/Downloads/OgmaNeo/source/system/ComputeProgram.cpp:27: multiple definition of `.weak.__ZN2cl7Context8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(ComputeProgram.cpp.obj): In function `ZNK2cl6detail7WrapperIP15_cl_platform_idE7releaseEv':
C:/Users/waratte/Downloads/OgmaNeo/source/system/ComputeProgram.cpp:27: multiple definition of `.weak.__ZN2cl7Context14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(ComputeProgram.cpp.obj): In function `ZNK2cl6detail7WrapperIP13_cl_device_idE7releaseEv':
C:/Users/waratte/Downloads/OgmaNeo/source/system/ComputeProgram.cpp:27: multiple definition of `.weak.__ZN2cl12CommandQueue20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(ComputeProgram.cpp.obj): In function `ZNK2cl6detail7WrapperIP13_cl_device_idE7releaseEv':
C:/Users/waratte/Downloads/OgmaNeo/source/system/ComputeProgram.cpp:27: multiple definition of `.weak.__ZN2cl12CommandQueue8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:66: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(ComputeProgram.cpp.obj): In function `ZNK2cl6detail7WrapperIP13_cl_device_idE7releaseEv':
C:/Users/waratte/Downloads/OgmaNeo/source/system/ComputeProgram.cpp:27: multiple definition of `.weak.__ZN2cl12CommandQueue14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:67: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(ComputeProgram.cpp.obj): In function `ZN7ogmaneo14ComputeProgram19loadHierarchyKernelERNS_13ComputeSystemE':
C:/Users/waratte/Downloads/OgmaNeo/source/system/ComputeProgram.cpp:27: multiple definition of `.weak.__ZGVN2cl6Device8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:81: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(ComputeProgram.cpp.obj): In function `ZN7ogmaneo14ComputeProgram19loadHierarchyKernelERNS_13ComputeSystemE':
C:/Users/waratte/Downloads/OgmaNeo/source/system/ComputeProgram.cpp:27: multiple definition of `.weak.__ZGVN2cl8Platform8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:81: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(ComputeProgram.cpp.obj): In function `ZN7ogmaneo14ComputeProgram19loadHierarchyKernelERNS_13ComputeSystemE':
C:/Users/waratte/Downloads/OgmaNeo/source/system/ComputeProgram.cpp:27: multiple definition of `.weak.__ZGVN2cl7Context8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:82: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(ComputeProgram.cpp.obj): In function `ZN7ogmaneo14ComputeProgram19loadHierarchyKernelERNS_13ComputeSystemE':
C:/Users/waratte/Downloads/OgmaNeo/source/system/ComputeProgram.cpp:27: multiple definition of `.weak.__ZGVN2cl12CommandQueue8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:82: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(ComputeSystem.cpp.obj):ComputeSystem.cpp:(.bss+0x0): multiple definition of `.weak.__ZN2cl6Device20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/i686-w64-mingw32/bits/gthr-default.h:300: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(ComputeSystem.cpp.obj): In function `ZSt19__iterator_categoryIN9__gnu_cxx17__normal_iteratorIPcSt6vectorIcSaIcEEEEENSt15iterator_traitsIT_E17iterator_categoryERKS8_':
D:/mingw32_7_1/mingw32/i686-w64-mingw32/include/CL/cl2.hpp:770: multiple definition of `.weak.__ZN2cl6Device8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/i686-w64-mingw32/bits/gthr-default.h:301: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(ComputeSystem.cpp.obj): In function `ZNK2cl6detail7WrapperIP11_cl_contextEclEv':
C:/Users/waratte/Downloads/OgmaNeo/source/system/ComputeSystem.cpp:15: multiple definition of `.weak.__ZN2cl6Device14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(ComputeSystem.cpp.obj): In function `ZNSt11char_traitsIcE6assignERcRKc':
C:/Users/waratte/Downloads/OgmaNeo/source/system/ComputeSystem.cpp:15: multiple definition of `.weak.__ZN2cl8Platform20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(ComputeSystem.cpp.obj): In function `ZN2cl6detail7WrapperIP15_cl_platform_idEC2Ev':
C:/Users/waratte/Downloads/OgmaNeo/source/system/ComputeSystem.cpp:15: multiple definition of `.weak.__ZN2cl8Platform8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(ComputeSystem.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorIcE10deallocateEPcj':
C:/Users/waratte/Downloads/OgmaNeo/source/system/ComputeSystem.cpp:15: multiple definition of `.weak.__ZN2cl8Platform14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:49: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(ComputeSystem.cpp.obj): In function `ZNKSt6vectorIN2cl6DeviceESaIS1_EE8max_sizeEv':
C:/Users/waratte/Downloads/OgmaNeo/source/system/ComputeSystem.cpp:15: multiple definition of `.weak.__ZN2cl7Context20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(ComputeSystem.cpp.obj): In function `ZNSt6vectorIN2cl6DeviceESaIS1_EE5beginEv':
C:/Users/waratte/Downloads/OgmaNeo/source/system/ComputeSystem.cpp:15: multiple definition of `.weak.__ZN2cl7Context8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(ComputeSystem.cpp.obj): In function `ZSt18uninitialized_copyISt13move_iteratorIPN2cl6DeviceEES3_ET0_T_S6_S5_':
C:/Users/waratte/Downloads/OgmaNeo/source/system/ComputeSystem.cpp:17: multiple definition of `.weak.__ZN2cl7Context14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(ComputeSystem.cpp.obj): In function `ZN9__gnu_cxxmiIPcSt6vectorIcSaIcEEEENS_17__normal_iteratorIT_T0_E15difference_typeERKS8_SB_':
C:/Users/waratte/Downloads/OgmaNeo/source/system/ComputeSystem.cpp:17: multiple definition of `.weak.__ZN2cl12CommandQueue20default_initialized_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:53: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(ComputeSystem.cpp.obj): In function `ZNSt12_Vector_baseIP13_cl_device_idSaIS1_EE13_M_deallocateEPS1_j':
C:/Users/waratte/Downloads/OgmaNeo/source/system/ComputeSystem.cpp:17: multiple definition of `.weak.__ZN2cl12CommandQueue8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:66: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(ComputeSystem.cpp.obj): In function `ZSt10__fill_n_aIPP13_cl_device_idjS1_EN9__gnu_cxx11__enable_ifIXsrSt11__is_scalarIT1_E7__valueET_E6__typeES8_T0_RKS6_':
C:/Users/waratte/Downloads/OgmaNeo/source/system/ComputeSystem.cpp:18: multiple definition of `.weak.__ZN2cl12CommandQueue14default_error_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:67: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(ComputeSystem.cpp.obj): In function `ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceIN9__gnu_cxx17__normal_iteratorIPcSt6vectorIcS3_EEEvEERS4_NS7_IPKcS4_EESF_T_SG_':
C:/Users/waratte/Downloads/OgmaNeo/source/system/ComputeSystem.cpp:18: multiple definition of `.weak.__ZGVN2cl6Device8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:81: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(ComputeSystem.cpp.obj): In function `ZSt34__uninitialized_move_if_noexcept_aIPN2cl6DeviceES2_SaIS1_EET0_T_S5_S4_RT1_':
C:/Users/waratte/Downloads/OgmaNeo/source/system/ComputeSystem.cpp:20: multiple definition of `.weak.__ZGVN2cl8Platform8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:81: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(ComputeSystem.cpp.obj): In function `ZNSt12_Vector_baseIP13_cl_device_idSaIS1_EEC2EjRKS2_':
C:/Users/waratte/Downloads/OgmaNeo/source/system/ComputeSystem.cpp:20: multiple definition of `.weak.__ZGVN2cl7Context8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:82: first defined here
CMakeFiles\OgmaNeo.dir/objects.a(ComputeSystem.cpp.obj): In function `ZNSt6vectorIP13_cl_device_idSaIS1_EEC1EjRKS2_':
C:/Users/waratte/Downloads/OgmaNeo/source/system/ComputeSystem.cpp:22: multiple definition of `.weak.__ZGVN2cl12CommandQueue8default_E.__ZnwjPv'
CMakeFiles\OgmaNeo.dir/objects.a(Architect.cpp.obj):D:/mingw32_7_1/mingw32/lib/gcc/i686-w64-mingw32/7.1.0/include/c++/ext/atomicity.h:82: first defined here

@rcrowder
Copy link
Collaborator

Ah I see. I thought this was Linux and GCC. I'll give it a go on Windows with MinGW GCC..

@rcrowder
Copy link
Collaborator

@Waratte It took a while to get MSys2 (x64) setup, initially I installed it wrong and faced the dreaded fork issues with DLLs and address spaces. Typically we only use Microsoft VC on Windows for development. But I've managed to get it all setup and building a simple OgmaNeo test executable using GCC via MSys2. And I'm now seeing the same issues that you face... (problems with the FlatBuffers library)

@auspiciousdiviner
Copy link
Author

What would you suggest as a temporary solution then?

@rcrowder
Copy link
Collaborator

One temporary solution, that may have unintended consequences, is to add this linker flag -Wl,--allow-multiple-definition when linking a static OgmaNeo lib to your application. I'll continue tomorrow to find a more permanent and cross-platform fix/patch.

@auspiciousdiviner
Copy link
Author

Thank you, seems to work for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants