PicNet / XGBoost.Net

.Net wrappers for the awesome XGBoost library
51 stars 18 forks source link

Unable to load DLL 'lib/libxgboost.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) #2

Closed PicNet closed 7 years ago

PicNet commented 7 years ago

NuGet package failing with the following exception:

System.DllNotFoundException: Unable to load DLL 'lib/libxgboost.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) at XGBoost.XGBOOST_NATIVE_METHODS.XGDMatrixCreateFromMat(Single[] data, UInt64 nrow, UInt64 ncol, Single missing, IntPtr& handle) at XGBoost.DMatrix..ctor(Single[][] data, Single[] labels) at XGBoost.XGBClassifier.Fit(Single[][] data, Single[] labels) at TestXGBoost.UnitTest1.TestMethod1() in c:\dev\projects\test_xgb\TestXGBoost\TestXGBoost\UnitTest1.cs:line 18

This is in a 64 bit MSTest project.

cycloidistic commented 7 years ago

Ok. Should be fixed now. Use the PicNet.XGBoost NuGet package version 0.0.7 and above.

ZHmaper commented 3 years ago

The version 0.2.0 and version 0.2.2 meet this problem again.