I\'ve been dealing with this issue for a few weeks now. I know that I\'m probably just missing a minor step that I\'m not aware of. So, any insight would be highly appreciated.<
So, I resolved this problem and thought I share the solution for anyone else who might come across this problem.
The adding Eigen library is pretty straightforward as it's only header files. You just copy and paste all the header files somewhere in your project's directory and use include directories. You should be fine after.
Regarding the XGBoost linking, they just added the cmake file for that project. So, what you need to do is to build that project in Visual Studio. After building, you get .lib, .dll, and .exe files. You should only need .lib file. Copy and paste them somewhere in your project's directory and link it to the main project like this:
TARGET_LINK_LIBRARIES(ProjectName libxgboost)
Then, you have to cope and paste the include directory (containing the header files) from the xgboost directory to somewhere in your project directory. Besides libxgboost, you have to include rabit and xgboost libraries too. So, just copy and paste them when you're copy and pasting libxgboost.lib and link them using 'target_link_directories'.
When you use to use any of the functions from the library, make sure to include the header files.
Hope this helps others who have a hard time getting it to work.