You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to build with MinGW but it is impossible. Here are errors I received:
C:\libs\BTKCore-master\build>mingw32-make
Scanning dependencies of target BTKCommon
[ 0%] Building CXX object Code/Common/CMakeFiles/BTKCommon.dir/btkAcquisition.c
pp.obj
[ 1%] Building CXX object Code/Common/CMakeFiles/BTKCommon.dir/btkAnalog.cpp.ob
j
[ 2%] Building CXX object Code/Common/CMakeFiles/BTKCommon.dir/btkDataObject.cp
p.obj
[ 3%] Building CXX object Code/Common/CMakeFiles/BTKCommon.dir/btkEvent.cpp.obj
[ 4%] Building CXX object Code/Common/CMakeFiles/BTKCommon.dir/btkForcePlatform
.cpp.obj
[ 4%] Building CXX object Code/Common/CMakeFiles/BTKCommon.dir/btkLogger.cpp.ob
j
[ 5%] Building CXX object Code/Common/CMakeFiles/BTKCommon.dir/btkPoint.cpp.obj
[ 6%] Building CXX object Code/Common/CMakeFiles/BTKCommon.dir/btkMetaData.cpp.
obj
[ 7%] Building CXX object Code/Common/CMakeFiles/BTKCommon.dir/btkMetaDataInfo.
cpp.obj
[ 7%] Building CXX object Code/Common/CMakeFiles/BTKCommon.dir/btkMetaDataUtils
.cpp.obj
[ 8%] Building CXX object Code/Common/CMakeFiles/BTKCommon.dir/btkIMU.cpp.obj
[ 9%] Building CXX object Code/Common/CMakeFiles/BTKCommon.dir/btkObject.cpp.ob
j
C:\libs\BTKCore-master\Code\Common\btkObject.cpp: In member function 'virtual vo
id btk::Object::Modified()':
C:\libs\BTKCore-master\Code\Common\btkObject.cpp:88:12: error: 'LONG' does not n
ame a type
static LONG _atomic_time = 0;
^
C:\libs\BTKCore-master\Code\Common\btkObject.cpp:89:62: error: '_atomic_time' wa
s not declared in this scope
this->m_Timestamp = (unsigned long)InterlockedIncrement(&_atomic_time);
^
C:\libs\BTKCore-master\Code\Common\btkObject.cpp:89:74: error: 'InterlockedIncre
ment' was not declared in this scope
this->m_Timestamp = (unsigned long)InterlockedIncrement(&_atomic_time);
^
Code\Common\CMakeFiles\BTKCommon.dir\build.make:337: recipe for target 'Code/Com
mon/CMakeFiles/BTKCommon.dir/btkObject.cpp.obj' failed
mingw32-make[2]: *** [Code/Common/CMakeFiles/BTKCommon.dir/btkObject.cpp.obj] Er
ror 1
CMakeFiles\Makefile2:108: recipe for target 'Code/Common/CMakeFiles/BTKCommon.di
r/all' failed
mingw32-make[1]: *** [Code/Common/CMakeFiles/BTKCommon.dir/all] Error 2
Makefile:128: recipe for target 'all' failed
mingw32-make: *** [all] Error 2
I wish anyone would fix that. Thanks.
The text was updated successfully, but these errors were encountered:
I tried to build with MinGW but it is impossible. Here are errors I received:
I wish anyone would fix that. Thanks.
The text was updated successfully, but these errors were encountered: