flann-lib / flann

Fast Library for Approximate Nearest Neighbors
http://people.cs.ubc.ca/~mariusm/flann
Other
2.25k stars 648 forks source link

VS2013 does not generate import lib for flann_cpp unless something is exported. #217

Open sleepyspider1 opened 9 years ago

sleepyspider1 commented 9 years ago

http://stackoverflow.com/a/7876240/3629737

It will not generate an import lib if nothing is exported.

Workaround: Add this to "flann_cpp.cpp" __declspec(dllexport)int add() { return 5; }

hoding123 commented 9 years ago

Hi ,I have problem compiling flann under win32, did you compiled it successfully? If so , could you give me some instructions?

seanlis commented 7 years ago

The same for vs2015.