-
Notifications
You must be signed in to change notification settings - Fork 920
Closed
Description
I followed the guide to use ReactJS on Linux, http://reactjs.net/guides/mono.html
I checked out V8 tag/3.17.16.2 and built it.
Building libvroomjs failed, attached is the console output from the command
g++ jscontext.cpp jsengine.cpp managedref.cpp bridge.cpp jsscript.cpp -o libVroomJsNative.so -shared -L /home/sladjan/ReactJS/v8-3.17/out/native/lib.target/ -I /home/sladjan/ReactJS/v8-3.17/include/ -fPIC -Wl,--no-as-needed -L:/usr/local/lib/libv8.so.3.17.16.2 2> err.txt
The error:
jsengine.cpp:260:34: error: ‘memset’ was not declared in this scope
memset(error, 0, sizeof(jserror));
^
I added #include <cstring>
which allowed me to build libVroomJsNative.so
.
err.txt
Metadata
Metadata
Assignees
Labels
No labels