spender-sandbox / cuckoomon-modified

Modified edition of cuckoomon
GNU General Public License v3.0
48 stars 22 forks source link

how to compile this project in Visual Studio #28

Closed william-vu closed 7 years ago

william-vu commented 7 years ago

Hi, may I ask how to compile this using Visual studio C++? Thank,

doomedraven commented 7 years ago

https://github.com/spender-sandbox/cuckoomon-modified/issues/9

spender-sandbox commented 7 years ago

The current solution file I believe requires VS 2015, the community edition can be downloaded for free.

-Brad

william-vu commented 7 years ago

thanks. I will try this.

william-vu commented 7 years ago

Hi, is this dll project? and is there any (special) options that I need to pay attention when import this project? thanks

spender-sandbox commented 7 years ago

The solution file contains projects for the loader executable and the DLL. Building the solution will build both projects automatically. Make sure the project types for both are set to "Release" instead of debug.

-Brad

william-vu commented 7 years ago

Hi Brad, I use VS 2015; Windows 8.1 to build the solution. But I got errors like: cannot open include file "bson.h": no such file or directory. That's stranged because bson.h are in the folder bson already. Could you please tell me which could be the reason for this? Thanks

doomedraven commented 7 years ago

when you imported project it ask for install deps, did you install them?

spender-sandbox commented 7 years ago

If you're using the included solution/project files, the bson directory should be in the include path for all builds: https://github.com/spender-sandbox/cuckoomon-modified/blob/MSVC/cuckoomon.vcxproj#L95

-Brad

william-vu commented 7 years ago

hi, I think the problem has been solved. The reason is I forgot to add the subfolder bson when import the code. Thanks for your help :)