When I try compiling my program on Debian using CMake I'm getting the 
following the error:

/home/jack/v8/out/native/obj.target/v8_libplatform/src/libplatform/default-platform.o:
 
In function `v8::platform::CreateDefaultPlatform(int)':
../src/libplatform/default-platform.cc:(.text._ZN2v88platform21CreateDefaultPlatformEi+0xb5):
 
undefined reference to `v8::base::SysInfo::NumberOfProcessors()'
/home/jack/v8/out/native/obj.target/v8_libplatform/src/libplatform/default-platform.o:
 
In function `v8::platform::DefaultPlatform::SetThreadPoolSize(int)':
../src/libplatform/default-platform.cc:(.text._ZN2v88platform15DefaultPlatform17SetThreadPoolSizeEi+0x1a):
 
undefined reference to `v8::base::SysInfo::NumberOfProcessors()'

Have I built v8 wrong? My CMakeLists file is like this for V8:
link_directories(
  ~/v8/out/native/obj.target/src
  ~/v8/out/native/obj.target/third_party/icu
)
...
target_link_libraries(Main PUBLIC
  v8_base
  v8_libbase
  v8_external_snapshot
  v8_libplatform
  v8_libsampler
  icui18n
  icuuc
  rt
  dl
  pthread
)

~/v8/out/native/obj.target/src includes the following:
libv8_base.a  libv8_external_snapshot.a  libv8_libbase.a  
libv8_libplatform.a  libv8_libsampler.a  libv8_nosnapshot.a
and ~/v8/out/native/obj.target/third_party/icu contains:
libicui18n.a  libicuuc.a

-- 
-- 
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.

Reply via email to