Skip to content

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

@lin-name

Description

@lin-name

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions