mohamed.irshad.k Posted May 31, 2011 Posted May 31, 2011 While building a project in Visual Studio, it is creating project.lib and project.exp along with my project.exe file. This seems to be because of the following in UnigineBase.h: ... #ifdef _WIN32 #define UNIGINE_API __declspec(dllexport) ... If I change the above code to ... #ifdef _WIN32 #define UNIGINE_API __declspec(dllimport) ... VS doesn't create those two files and the program works fine. Although the two files don't cause any trouble, its kind of annoying in the output folder. Is the definition of UNIGINE_API as __declspec(dllexport) for some other specific reasons?
manguste Posted July 22, 2011 Posted July 22, 2011 __declspec(dllexport) should be specified there. Take a look here.
Recommended Posts