This commit is contained in:
unknown 2014-08-27 15:49:26 -07:00
commit b151617ac1
3 changed files with 9 additions and 1 deletions

View File

@ -1 +1,5 @@
This is a test for minimal files needed for windows version
The solution has been created with Visual Studio Express 2013.
Make sure to compile the Release version, unless you need to debug the code
(and in the latter case modify the path in xgboost.py from release to test).
Note that you have two projects in one solution and they need to be compiled to use the standalone executable from the command line
or the python module respectively.

View File

@ -7,7 +7,11 @@
* can be used to create wrapper of other languages
*/
#include <cstdio>
#ifdef _MSC_VER
#define XGB_DLL __declspec(dllexport)
#else
#define XGB_DLL
#endif
// manually define unsign long
typedef unsigned long bst_ulong;