pmed / v8pp

Bind C++ functions and classes into V8 JavaScript engine
http://pmed.github.io/v8pp/
Other
901 stars 121 forks source link

errors on compilation #215

Open Baseult opened 4 months ago

Baseult commented 4 months ago

I'm coming from this site: https://explorerplusplus.com/blog/2019/03/07/embedding-v8-c++-application

It basically tells me to just open up the project in visual studio and compiling it in release x64. That is exactly what I'm trying to do now, I downloaded the source, open the project and trying to compile it.

I renamed the "config.hpp.in" file to "config.hpp" which you are probably supposed to do? And then I compile the project but 29 errors.

Am I supposed to do anything before compilation? Is there a doc file that I need to follow first?

pmed commented 3 months ago

Hi @Baseult,

It's hard to say what went wrong without an error message example.

Have you also installed V8 libraries, as it described in "Adding the necessary NuGet dependencies" section in that blogpost?

I used CMake for building and testing the project in the last few years, so there is no guarantee it can be built currently as Visual Studio project (I mean that v8pp.sln in the project root).