Mrkebubun / o3d

Automatically exported from code.google.com/p/o3d
0 stars 0 forks source link

o3d rev 30673 doesn't build on OSX #182

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. gclient sync
2. cd o3d
3. ./scons

What is the expected output? What do you see instead?

Expected to build o3d
Instead, I get:

emogenet@emogenet:~/Desktop/o3d # ./scons
scons: Reading SConscript files ...

scons: warning: Two different environments were specified for target 
mac/converter_main.o,
    but they appear to have the same action: $CXX -o $TARGET -c $CXXFLAGS $CCFLAGS 
$_CCCOMCOM $SOURCES
File "/Users/emogenet/Desktop/o3d/site_scons/site_tools/component_builders.py", 
line 455, in 
ComponentProgram
*** Solution file generation skipped (not supported on this platform).
scons: done reading SConscript files.
scons: Building targets ...
________Compiling scons-out/dbg-mac/obj/plugin/glue/bitmap_glue.os
In file included from ./plugin/cross/o3d_glue.h:69,
                 from plugin/cross/plugin_main.h:36,
                 from scons-out/dbg-mac/obj/plugin/glue/bitmap_glue.cc:2:
./plugin/cross/np_v8_bridge.h:65:27: error: v8/include/v8.h: No such file or 
directory
In file included from third_party/chrome/files/base/string16.h:32,
                 from third_party/chrome/files/base/hash_tables.h:20,
                 from ./plugin/cross/o3d_glue.h:55,
                 from plugin/cross/plugin_main.h:36,
                 from scons-out/dbg-mac/obj/plugin/glue/bitmap_glue.cc:2:

...

emogenet@emogenet:~/Desktop/o3d # gclient revinfo
o3d: http://src.chromium.org/svn/trunk/src/o3d@30673;

Original issue reported on code.google.com by emoge...@gmail.com on 31 Oct 2009 at 11:27

GoogleCodeExporter commented 9 years ago
We have switched to GYP from SCons. 
Edit your .gclient file to have this new line after the "url" line:
  "deps_file"   : "DEPS_gyp",

From then on when you 'gclient sync' or a 'gclient runhooks --force' it will 
make
Xcode projects for you. Build using XCode.

Original comment by m...@google.com on 2 Nov 2009 at 12:05