Estoy tratando de incorporar el motor v8 a mi aplicación C++. Utilizo Visual C++ 2010. He construido con éxito utilizando este comando:Incrustar v8 con Visual C++ 2010
scons env="INCLUDE:C:\Program Files\Microsoft SDKs\Windows\v7.0A\Include;C:\Program Files\Microsoft Visual Studio 10.0\VC\include,LIB:C:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib;C:\Program Files\Microsoft Visual Studio 9.0\VC\lib"
Y luego, I:
añadido el v8/include directorio para Propiedades de configuración -> C/C++ -> general -> Incluir adicional Directorios
añadieron al archivo de v8/v8.lib a Propiedades de configuración -> Enlazador -> entrada -> dependencias adicionales.
Cuando intento compilar el ejemplo básico "Hello World" de la página Getting Started, que me muestra el siguiente error vincular:
1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol [email protected]
1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol [email protected]
1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol [email protected]
1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol [email protected]
1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol [email protected]
1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol [email protected]
1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol [email protected]
1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol [email protected]
1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol [email protected]
1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol [email protected]
1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol [email protected]
1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol [email protected]
1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol [email protected]
1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol [email protected]
1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol [email protected]
1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol [email protected]
1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol [email protected]
1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol [email protected]
1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol [email protected]
Alguna idea de cómo solucionar este problema?
Gracias.
Sí, y 'WINMM.LIB' tampoco. ¡Gracias! –