ApproxMVBB
ApproxMVBB copied to clipboard
VS2017 - definition of dllimport function not allowed errors
When building the library and various projects, I receive a number of #C2491 errors e.g. error C2491: 'ApproxMVBB::approximateMVBBGridSearch': definition of dllimport function not allowed
I believe it is this problem which is specific to Visual Studio compiler,
https://msdn.microsoft.com/en-us/library/62688esh.aspx
https://docs.microsoft.com/en-us/cpp/cpp/using-dllimport-and-dllexport-in-cpp-classes
could you send me the output log :) thanks. then i can fix it
or even better send me a PR :) eith the fix. because I have no windows here :)
Find attached the output log. I am away this week, so I am not going to have a chance to properly look at a potential fix myself for the next few days.
Could you test on the current master branch with VS 17 if the problem persists?