Hello, i am writing a wrapper for node.js. So i want to build a library(.so) from the .cpp file, that another application uses, so the node.js operators can run on the top of that platform. I dont use main function. The library is built, but on execution there is the following error:
Error while loading operator: ../build/libNodeJSOperatorWrapper.so: undefined symbol: _ZN2v811HandleScope12CreateHandleEPNS_8internal7IsolateEPNS1_6ObjectE - TxToken: 5 In the process.cc example the Isolate and Handlescope in the main function are like that: Isolate* isolate = Isolate::New(); Isolate::Scope isolate_scope(isolate); HandleScope scope(isolate); And that isolate is passed then to the object. I tried this code in the constructor, but it doesn't work. How Isolate and Handlescope function without building an standalone/executable? Where must they be declared? Thanks, Peter Stoyanov -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
