uoip / g2opy

Python binding of SLAM graph optimization framework g2o
669 stars 177 forks source link

Error while building g2o.cpp.obj #27

Closed meh369 closed 4 years ago

meh369 commented 5 years ago

dsadsad

meh369 commented 5 years ago

Im using window 10

meh369 commented 5 years ago

So I'm trying to compile the firmware, first I did Cmake g2o with suitesparse(Cholmod and its dependencies), Eigen3 and Qt5.4 and generated it to Visual Studio solution "g2o.sln" file(using VS-15 2017) that can build g2o. However, after building INSTALL(shown in the snip) I get 3 errors in timeutil.h file and when I located the file it had a typedef struct statement but I couldn't figure out the actual error. Help?

capture

capture2

vhgnguyen commented 5 years ago

hi @meh369 i am having the same error as you while building with VS-15-2017 x64. Did you solve this?

shrddr commented 5 years ago

It has been fixed back in 2017, take a look here https://github.com/RainerKuemmerle/g2o/blob/master/g2o/stuff/timeutil.h https://github.com/RainerKuemmerle/g2o/blob/master/g2o/stuff/timeutil.cpp

meh369 commented 4 years ago

hi @meh369 i am having the same error as you while building with VS-15-2017 x64. Did you solve this?

No, I switched to Linux OS...