Closed IngwiePhoenix closed 10 years ago
Here is what I get while building:
$ ninja -C out/Release/ ninja: Entering directory `out/Release/' [18/57] CXX obj/renderer/brightray_example_lib.renderer_client.o FAILED: g++ -MMD -MF obj/renderer/brightray_example_lib.renderer_client.o.d -DCOMPONENT_BUILD -DGURL_DLL -DSKIA_DLL -DNDEBUG -DUSING_V8_SHARED -DWEBKIT_DLL -I../.. -I../../.. -I../../../brightray/vendor/download/libchromiumcontent/src -I../../../brightray/vendor/download/libchromiumcontent/src/third_party/skia/include/config -I../../../brightray/vendor/download/libchromiumcontent/src/third_party/skia/include/core -I../../../brightray/vendor/download/libchromiumcontent/src/third_party/icu/source/common -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -fasm-blocks -mpascal-strings -Os -gdwarf-2 -Werror -mmacosx-version-min=10.8 -arch x86_64 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -std=gnu++11 -stdlib=libstdc++ -fno-rtti -fno-exceptions -c ../../renderer/renderer_client.cc -o obj/renderer/brightray_example_lib.renderer_client.o In file included from ../../renderer/renderer_client.cc:1: In file included from ../../renderer/renderer_client.h:4: In file included from ../../../brightray/vendor/download/libchromiumcontent/src/content/public/renderer/content_renderer_client.h:8: ../../../string:1:1: error: source file is not valid UTF-8 <CF><FA><ED><FE><U+0007> ^ ../../../string:1:2: error: source file is not valid UTF-8 <CF><FA><ED><FE><U+0007> ^ ../../../string:1:3: error: source file is not valid UTF-8 <CF><FA><ED><FE><U+0007> ^ ../../../string:1:4: error: source file is not valid UTF-8 <CF><FA><ED><FE><U+0007> ^ ../../../string:1:5: error: expected unqualified-id <CF><FA><ED><FE><U+0007> ^ ../../../string:1:6: error: null character ignored [-Werror,-Wnull-character] <CF><FA><ED><FE><U+0007> ^ ../../../string:1:7: error: null character ignored [-Werror,-Wnull-character] <CF><FA><ED><FE><U+0007><U+0000> ^ ../../../string:1:10: error: null character ignored [-Werror,-Wnull-character] <CF><FA><ED><FE><U+0007><U+0000><U+0000><U+0001><U+0003> ^ ../../../string:1:11: error: null character ignored [-Werror,-Wnull-character] <CF><FA><ED><FE><U+0007><U+0000><U+0000><U+0001><U+0003><U+0000> ^ ../../../string:1:12: error: source file is not valid UTF-8 <CF><FA><ED><FE><U+0007><U+0000><U+0000><U+0001><U+0003><U+0000><U+0000><80><U+0002> ^ ../../../string:1:14: error: null character ignored [-Werror,-Wnull-character] <CF><FA><ED><FE><U+0007><U+0000><U+0000><U+0001><U+0003><U+0000><U+0000><80><U+0002> ^ ../../../string:1:15: error: null character ignored [-Werror,-Wnull-character] <CF><FA><ED><FE><U+0007><U+0000><U+0000><U+0001><U+0003><U+0000><U+0000><80><U+0002><U+0000> ^ ../../../string:1:16: error: null character ignored [-Werror,-Wnull-character] <CF><FA><ED><FE><U+0007><U+0000><U+0000><U+0001><U+0003><U+0000><U+0000><80><U+0002><U+0000><U+0000> ^ ../../../string:1:18: error: null character ignored [-Werror,-Wnull-character] <CF><FA><ED><FE><U+0007><U+0000><U+0000><U+0001><U+0003><U+0000><U+0000><80><U+0002><U+0000><U+0000><U+0000><U+0011> ^ ../../../string:1:19: error: null character ignored [-Werror,-Wnull-character] <CF><FA><ED><FE><U+0007><U+0000><U+0000><U+0001><U+0003><U+0000><U+0000><80><U+0002><U+0000><U+0000><U+0000><U+0011><U+0000> ^ ../../../string:1:20: error: null character ignored [-Werror,-Wnull-character] <CF><FA><ED><FE><U+0007><U+0000><U+0000><U+0001><U+0003><U+0000><U+0000><80><U+0002><U+0000><U+0000><U+0000><U+0011><U+0000><U+0000> ^ ../../../string:1:23: error: null character ignored [-Werror,-Wnull-character] <CF><FA><ED><FE><U+0007><U+0000><U+0000><U+0001><U+0003><U+0000><U+0000><80><U+0002><U+0000><U+0000><U+0000><U+0011><U+0000><U+0000><U+0000>(<U+0007> ^ ../../../string:1:24: error: null character ignored [-Werror,-Wnull-character] <CF><FA><ED><FE><U+0007><U+0000><U+0000><U+0001><U+0003><U+0000><U+0000><80><U+0002><U+0000><U+0000><U+0000><U+0011><U+0000><U+0000><U+0000>(<U+0007><U+0000> ^ ../../../string:1:25: error: source file is not valid UTF-8 <CF><FA><ED><FE><U+0007><U+0000><U+0000><U+0001><U+0003><U+0000><U+0000><80><U+0002><U+0000><U+0000><U+0000><U+0011><U+0000><U+0000><U+0000>(<U+0007><U+0000><U+0000><85> ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. [18/57] OBJCXX brightray/browser/mac/brightray.bry_inspectable_web_contents_view.o ninja: build stopped: subcommand failed.
...how do i fix that? Because, it just confuses me! I actually looked this up, and its just:
#include <string>
...but why is it erroring at this?
Seems like your system <string> header is corrupted somehow. U+0007 is a control character and shouldn't be present in that file. I'm not sure what would fix it; perhaps reinstalling Xcode?
<string>
U+0007
Here is what I get while building:
...how do i fix that? Because, it just confuses me! I actually looked this up, and its just:
...but why is it erroring at this?