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

Compile error about the g2o on Windows 10 with VS2019 #99

Open
lin-name opened this issue Mar 25, 2024 · 0 comments
Open

Compile error about the g2o on Windows 10 with VS2019 #99

lin-name opened this issue Mar 25, 2024 · 0 comments

Comments

@lin-name
Copy link

Dear professor,
I have read your paper, thanks for your great work! And i just try to compile this repository on Windows 10 with VS2019, but met the error about the g2o like below:
error

And i have use the different g2o version, eg, the 20170730_git and 20200410_git, meantime, i have tried to modified the compile options of the g2o about the __declspec(dllexport) and __declspec(dllimport), but it still get error when linked to the BAD-SLAM.

The compile option in the source g2o: (use the __declspec(dllexport) )
error2

And the linked header file in BAD-SLAM: (use the __declspec(dllimport))
error3

So, which version of the g2o you use? And how to set the compile options of the g2o on Wins10 with VS2019?
Looking forward for your reply!

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

1 participant