alderlopez / chromiumembedded

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

clang++ for Chromium embedded error ???? #588

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
hi, i used macport install clang for build chromium embedded by command

port install clang

then it installed clang, llvm ... 

when i check in /usr/bin cant found clang++ then i copied 

cp -R /usr/bin third_party/llvm-build/Release+Asserts/bin/

and copied clang and change it name is clang++

and built it then error:

  ACTION Generating resources from app/resources/locale_settings.grd out/Debug/obj/gen/chrome/grit/locale_settings.h
  ACTION Generating resources from app/chromium_strings.grd out/Debug/obj/gen/chrome/grit/chromium_strings.h
  ACTION Generating resources from app/generated_resources.grd out/Debug/obj/gen/chrome/grit/generated_resources.h
  ACTION Generating resources from app/google_chrome_strings.grd out/Debug/obj/gen/chrome/grit/google_chrome_strings.h
  TOUCH out/Debug/obj.target/testing/gtest_prod.stamp
  ACTION Generating resources from ui_strings.grd out/Debug/obj/gen/ui/ui_strings/grit/ui_strings.h
  ACTION Generating resources from app_locale_settings.grd out/Debug/obj/gen/ui/app_locale_settings/grit/app_locale_settings.h
  ACTION Generating resources from gfx/gfx_resources.grd out/Debug/obj/gen/ui/gfx/grit/gfx_resources.h
  CXX(target) out/Debug/obj.target/base_static/base/base_switches.o
  CXX(target) out/Debug/obj.target/modp_b64/third_party/modp_b64/modp_b64.o
clang++clang++: warning: not using the clang compiler for C++ inputs
: warning: not using the clang compiler for C++ inputs
clang++: warning: argument unused during compilation: '-Xclang -load'
clang++: warning: argument unused during compilation: '-Xclang 
/Users/macpipi/Desktop/home/chrome-svn/tarball/chromium/src/tools/clang/scripts/
../../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.dylib'
clang++: warning: argument unused during compilation: '-Xclang -add-plugin'
clang++: warning: argument unused during compilation: '-Xclang 
find-bad-constructs'
clang++: warning: argument unused during compilation: '-Xclang 
-plugin-arg-find-bad-constructs'
clang++: warning: argument unused during compilation: '-Xclang 
skip-refcounted-dtors'
clang++: warning: argument unused during compilation: '-Xclang 
-plugin-arg-find-bad-constructs'
clang++: warning: argument unused during compilation: '-Xclang 
skip-virtuals-in-implementations'
clang++: warning: argument unused during compilation: '-Xclang -load'
clang++: warning: argument unused during compilation: '-Xclang 
/Users/macpipi/Desktop/home/chrome-svn/tarball/chromium/src/tools/clang/scripts/
../../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.dylib'
clang++: warning: argument unused during compilation: '-Xclang -add-plugin'
clang++: warning: argument unused during compilation: '-Xclang 
find-bad-constructs'
clang++: warning: argument unused during compilation: '-Xclang 
-plugin-arg-find-bad-constructs'
clang++: warning: argument unused during compilation: '-Xclang 
skip-refcounted-dtors'
clang++: warning: argument unused during compilation: '-Xclang 
-plugin-arg-find-bad-constructs'
clang++: warning: argument unused during compilation: '-Xclang 
skip-virtuals-in-implementations'
cc1plus: error: unrecognized command line option "-Wheader-hygiene"
cc1plus: error: unrecognized command line option 
"-Wno-unnamed-type-template-args"
cc1plus: error: unrecognized command line option "-Wno-c++11-extensions"
cc1plus: error: unrecognized command line option "-Wno-covered-switch-default"
cc1plus: error: unrecognized command line option "-Wheader-hygiene"
cc1plus: error: unrecognized command line option 
"-Wno-unnamed-type-template-args"
cc1plus: error: unrecognized command line option "-Wno-c++11-extensions"
cc1plus: error: unrecognized command line option "-Wno-covered-switch-default"
cc1plus: error: unrecognized command line option "-Wexit-time-destructors"
make: *** [out/Debug/obj.target/modp_b64/third_party/modp_b64/modp_b64.o] Error

Please share me download clang++ for macos 10.6 xcode 3.2.6

please help me because i need it very much :(( please

cc1plus: error: unrecognized command line option "-Wheader-hygiene"
cc1plus: error: unrecognized command line option 
"-Wno-unnamed-type-template-args"
cc1plus: error: unrecognized command line option "-Wno-c++11-extensions"
cc1plus: error: unrecognized command line option "-Wno-covered-switch-default"
cc1plus: error: unrecognized command line option "-Wheader-hygiene"
cc1plus: error: unrecognized command line option 
"-Wno-unnamed-type-template-args"
cc1plus: error: unrecognized command line option "-Wno-c++11-extensions"
cc1plus: error: unrecognized command line option "-Wno-covered-switch-default"
cc1plus: error: unrecognized command line option "-Wexit-time-destructors"
make: *** [out/Debug/obj.target/modp_b64/third_party/modp_b64/modp_b64.o] Error 
1
make: *** Waiting for unfinished jobs....
make: *** [out/Debug/obj.target/base_static/base/base_switches.o] Error 1

Original issue reported on code.google.com by sonnh7...@gmail.com on 29 Apr 2012 at 4:15

GoogleCodeExporter commented 9 years ago
Chromium distributes its own version of clang. You should download the Chromium 
and CEF source code as described in the "Source Distributions" section of the 
project main page and then everything will work as expected. To make the 
download and setup even easier you can use the automate.py tool described in 
the "Automated Building" section. When creating your own applications using CEF 
you should start with a binary distribution created using the make_distrib tool 
or available for download from the project Downloads page.

In the future please ask all questions in the CEF forum instead of creating 
invalid bug reports: http://www.magpcss.org/ceforum/

Original comment by magreenb...@gmail.com on 30 Apr 2012 at 2:25

GoogleCodeExporter commented 9 years ago
sorry but when i run  'gclient sync' then i built it then it message error

error: can't exec
'/Users/macpipi/Desktop/home/chrome-svn/tarball/chromium/src/base/../third_party
/llvm-build/Release+Asserts/bin/clang'
(Bad CPU type in executable)

my macos is

Darwin sons-Mac.local 10.4.0 Darwin Kernel Version 10.4.0: Mon Dec  6
17:32:42 EST 2010; ModCD Kernel v4 :/Users/nawcom/Builds/bootcd-
1504.7.4/BUILD/obj/RELEASE_I386 i386

Original comment by sonnh7...@gmail.com on 30 Apr 2012 at 4:23

GoogleCodeExporter commented 9 years ago
This issue tracker is for the CEF project, not clang support. Try 
http://clang.llvm.org/.

Original comment by magreenb...@gmail.com on 30 Apr 2012 at 4:26