Code Monkey home page Code Monkey logo

Comments (7)

rcrowder avatar rcrowder commented on August 11, 2024

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

from ogmaneo.

auspiciousdiviner avatar auspiciousdiviner commented on August 11, 2024

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

from ogmaneo.

rcrowder avatar rcrowder commented on August 11, 2024

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

from ogmaneo.

rcrowder avatar rcrowder commented on August 11, 2024

@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)

from ogmaneo.

auspiciousdiviner avatar auspiciousdiviner commented on August 11, 2024

What would you suggest as a temporary solution then?

from ogmaneo.

rcrowder avatar rcrowder commented on August 11, 2024

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.

from ogmaneo.

auspiciousdiviner avatar auspiciousdiviner commented on August 11, 2024

Thank you, seems to work for now

from ogmaneo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.