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

Bonmin compilation on visual studio in windows #10

Open
AllenShi666 opened this issue Jun 19, 2020 · 0 comments
Open

Bonmin compilation on visual studio in windows #10

AllenShi666 opened this issue Jun 19, 2020 · 0 comments

Comments

@AllenShi666
Copy link

I tried using all the .lib files and header files available to compile one of the cpp example in the repo using visual studio 2019. However, I had some error message about unresolved external symbol references. The error is mainly about calling default/virtual constructor that do not have constructor definitions. For example, MyTMINLP was trying to refer to TMINLP and calling their default constructor TMINLP(), but TMINLP is not defined anywhere in the BonTMINLP class. I am not sure how to fix these. And I had about 15 of them. Even finding a dll for Bonmin would help in my case.

Error LNK2019 unresolved external symbol "public: __thiscall Bonmin::TMINLP::TMINLP(void)" (??0TMINLP@Bonmin@@QAE@XZ) referenced in function "public: __thiscall MyTMINLP::MyTMINLP(void)" (??0MyTMINLP@@QAE@XZ) CppExample

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