You shouldn't link against the obj.host libraries.
Also, if you link against the .a files, you need to link first against v8
and then against icu.
best
-jochen
On Sun, Oct 27, 2013 at 2:39 AM, t...@ainfach.de t...@ainfach.de wrote:
i have the same issue, i tryed to link against everything:
thanks a lot, this seems to work without any flags;
cmake_minimum_required (VERSION 2.6)
project (hello)
add_executable (hello main.cpp)
include_directories (/home/dev/proj/cpp/v8/include/ /usr/local/include)
TARGET_LINK_LIBRARIES(
hello
Thank you at your information.
Pada 27 Okt 2013 19:17, t...@ainfach.de t...@ainfach.de menulis:
thanks a lot, this seems to work without any flags;
cmake_minimum_required (VERSION 2.6)
project (hello)
add_executable (hello main.cpp)
include_directories (/home/dev/proj/cpp/v8/include/
Hello,
i try to embed a simple object (request, with the method getUrl()) in v8.
i can embed normal functions like this:
global-Set(String::New(log), FunctionTemplate::New(LogCallback));
if i try to embed a instance of an Object, i get a Segfault:
global-Set(String::New(logObj),
i tryed to read some tests to embed a simple object instance in v8.
can somebody explain me why the log and logObj functions aren't defined in
this example?
int main(int argc, char* argv[]) {
// Get the default Isolate created at startup.
Isolate* isolate = Isolate::GetCurrent();