google / ion Goto Github PK
View Code? Open in Web Editor NEWIon
License: Apache License 2.0
Ion
License: Apache License 2.0
I have seen that no loop is used around a call of the function "pthread_cond_wait".
Would you like to reuse anything from my message on the topic "spurious wakeup"?
Would you like to add more error handling for return values from functions like the following?
@oon3m0oo Hey, I've encountered various issues, but got it to compile, there were missing preprocessor directives - ION_API=, and ION_APIENTRY= which I added manually, and in debug there is ION_DEBUG=1 anything else I'm missing?
Thanks!
@davejrichardson @oon3m0oo I happened across this project just now, and it sounded interesting until I noticed how old & dead it was. Being the contributors, could you take a couple minutes to document the abandoned status of the project and point to any "spiritual" successors, if any?
Building on Linux Mint 17.3 (Rosa) with the default version of clang from the package manager: 3.4 fail. It fails because the warning no-unused-local-typedefs is not supported on clang-3.4. By removing the -Wno-unused-local-typedefs from two places in ion/gfx/gfx.gyp it builds successfully.
I'm following this guide to build Ion to use with Seurat: https://github.com/googlevr/seurat/blob/master/BUILDING.md
Build on Windows:
c:\Seurat>git clone https://github.com/google/Ion third_party\ion
c:\Seurat>cd third_party\ion
c:\Seurat\third_party\ion>git submodule init
c:\Seurat\third_party\ion>git submodule update
c:\Seurat\third_party\ion>ion\build.bat -c opt_x64
I'm trying to build on Win 10 64bit but failed at step run build.bat
.
> C:\Users\Ben\Desktop\seurat\third_party\ion
ion\build.bat -c opt_x64
python.exe -u C:\Users\Ben\Desktop\seurat\third_party\ion\ion\\build.py -c opt_x64
ERROR: Could not determine what you want to build. Try specifying a gyp file or directory containing one.
Then I tried to cd
to seurat\third_party\ion\ion
and rerun:
> C:\Users\Ben\Desktop\seurat\third_party\ion\ion
build.bat -c opt_x64
python.exe -u C:\Users\Ben\Desktop\seurat\third_party\ion\ion\\build.py
INFO: Running gyp...
gyp -D OS=win -D build_py=C:\Users\Ben\Desktop\seurat\third_party\ion\ion\build.py -D flavor= -D gyp_out_os_dir=C:\Users\Ben\Desktop\seurat\third_party\ion\gyp-out\win-ninja -D host_os=win -D python=C:\Python27\python.exe -D target_arch= -D windows_possible_configurations=dbg_x86 Default dbg_x64 opt_x64 opt_x86 prod_x64 prod_x86 -G output_dir=C:\Users\Ben\Desktop\seurat\third_party\ion\gyp-out\win-ninja -G ninja_use_custom_environment_files -f ninja --no-parallel -I C:\Users\Ben\Desktop\seurat\third_party\ion\ion\dev/os.gypi --check --suffix=_win --depth=C:\Users\Ben\Desktop\seurat\third_party\ion --no-duplicate-basename-check C:\Users\Ben\Desktop\seurat\third_party\ion\ion\ion.gyp
INFO: Building...
C:\Users\Ben\Desktop\seurat\third_party\ion\third_party/ninja/files/bin\ninja.exe -j 32 -C C:\Users\Ben\Desktop\seurat\third_party\ion\gyp-out\win-ninja\dbg_x86
ninja: warning: multiple rules generate C:/Users/Ben/Desktop/seurat/third_party/ion/gyp-out/win-ninja/dbg_x86/environment.x86. builds involving this target will not be correct; continuing anyway [-w dupbuild=warn]
ninja: warning: multiple rules generate C:/Users/Ben/Desktop/seurat/third_party/ion/gyp-out/win-ninja/dbg_x86/environment.x64. builds involving this target will not be correct; continuing anyway [-w dupbuild=warn]
ninja: Entering directory `C:\Users\Ben\Desktop\seurat\third_party\ion\gyp-out\win-ninja\dbg_x86'
[1/942] CXX obj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-math.obj
FAILED: obj/third_party/harfbuzz/src/ionharfbuzz.hb-ot-math.obj
ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-math.obj.rsp /c ..\..\..\third_party\harfbuzz\src\hb-ot-math.cc /Foobj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-math.obj /Fdobj\ion\external\ionharfbuzz.cc.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.
[2/942] CXX obj\third_party\harfbuzz\src\ionharfbuzz.hb-common.obj
FAILED: obj/third_party/harfbuzz/src/ionharfbuzz.hb-common.obj
ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\harfbuzz\src\ionharfbuzz.hb-common.obj.rsp /c ..\..\..\third_party\harfbuzz\src\hb-common.cc /Foobj\third_party\harfbuzz\src\ionharfbuzz.hb-common.obj /Fdobj\ion\external\ionharfbuzz.cc.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.
[3/942] CXX obj\third_party\harfbuzz\src\ionharfbuzz.hb-font.obj
FAILED: obj/third_party/harfbuzz/src/ionharfbuzz.hb-font.obj
ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\harfbuzz\src\ionharfbuzz.hb-font.obj.rsp /c ..\..\..\third_party\harfbuzz\src\hb-font.cc /Foobj\third_party\harfbuzz\src\ionharfbuzz.hb-font.obj /Fdobj\ion\external\ionharfbuzz.cc.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.
[4/942] CXX obj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-shape-complex-khmer.obj
FAILED: obj/third_party/harfbuzz/src/ionharfbuzz.hb-ot-shape-complex-khmer.obj
ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-shape-complex-khmer.obj.rsp /c ..\..\..\third_party\harfbuzz\src\hb-ot-shape-complex-khmer.cc /Foobj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-shape-complex-khmer.obj /Fdobj\ion\external\ionharfbuzz.cc.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.
[5/942] CXX obj\third_party\icu\icu4c\source\common\ionicu.bmpset.obj
FAILED: obj/third_party/icu/icu4c/source/common/ionicu.bmpset.obj
ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\icu\icu4c\source\common\ionicu.bmpset.obj.rsp /c ..\..\..\third_party\icu\icu4c\source\common\bmpset.cpp /Foobj\third_party\icu\icu4c\source\common\ionicu.bmpset.obj /Fdobj\ion\external\ionicu.cc.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.
[6/942] CC obj\third_party\freetype2\src\winfonts\ionfreetype2.winfnt.obj
FAILED: obj/third_party/freetype2/src/winfonts/ionfreetype2.winfnt.obj
ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\freetype2\src\winfonts\ionfreetype2.winfnt.obj.rsp /c ..\..\..\third_party\freetype2\src\winfonts\winfnt.c /Foobj\third_party\freetype2\src\winfonts\ionfreetype2.winfnt.obj /Fdobj\ion\external\ionfreetype2.c.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.
[7/942] CXX obj\third_party\icu\icu4c\source\common\ionicu.brkeng.obj
FAILED: obj/third_party/icu/icu4c/source/common/ionicu.brkeng.obj
ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\icu\icu4c\source\common\ionicu.brkeng.obj.rsp /c ..\..\..\third_party\icu\icu4c\source\common\brkeng.cpp /Foobj\third_party\icu\icu4c\source\common\ionicu.brkeng.obj /Fdobj\ion\external\ionicu.cc.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.
[8/942] CXX obj\third_party\harfbuzz\src\ionharfbuzz.hb-ft.obj
FAILED: obj/third_party/harfbuzz/src/ionharfbuzz.hb-ft.obj
ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\harfbuzz\src\ionharfbuzz.hb-ft.obj.rsp /c ..\..\..\third_party\harfbuzz\src\hb-ft.cc /Foobj\third_party\harfbuzz\src\ionharfbuzz.hb-ft.obj /Fdobj\ion\external\ionharfbuzz.cc.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.
[9/942] CXX obj\third_party\icu\icu4c\source\common\ionicu.appendable.obj
FAILED: obj/third_party/icu/icu4c/source/common/ionicu.appendable.obj
ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\icu\icu4c\source\common\ionicu.appendable.obj.rsp /c ..\..\..\third_party\icu\icu4c\source\common\appendable.cpp /Foobj\third_party\icu\icu4c\source\common\ionicu.appendable.obj /Fdobj\ion\external\ionicu.cc.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.
[10/942] CXX obj\third_party\icu\icu4c\source\common\ionicu.dictbe.obj
FAILED: obj/third_party/icu/icu4c/source/common/ionicu.dictbe.obj
ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\icu\icu4c\source\common\ionicu.dictbe.obj.rsp /c ..\..\..\third_party\icu\icu4c\source\common\dictbe.cpp /Foobj\third_party\icu\icu4c\source\common\ionicu.dictbe.obj /Fdobj\ion\external\ionicu.cc.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.
[11/942] CXX obj\third_party\harfbuzz\src\ionharfbuzz.hb-blob.obj
FAILED: obj/third_party/harfbuzz/src/ionharfbuzz.hb-blob.obj
ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\harfbuzz\src\ionharfbuzz.hb-blob.obj.rsp /c ..\..\..\third_party\harfbuzz\src\hb-blob.cc /Foobj\third_party\harfbuzz\src\ionharfbuzz.hb-blob.obj /Fdobj\ion\external\ionharfbuzz.cc.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.
[12/942] CXX obj\third_party\harfbuzz\src\ionharfbuzz.hb-aat-layout.obj
FAILED: obj/third_party/harfbuzz/src/ionharfbuzz.hb-aat-layout.obj
ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\harfbuzz\src\ionharfbuzz.hb-aat-layout.obj.rsp /c ..\..\..\third_party\harfbuzz\src\hb-aat-layout.cc /Foobj\third_party\harfbuzz\src\ionharfbuzz.hb-aat-layout.obj /Fdobj\ion\external\ionharfbuzz.cc.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.
[13/942] CC obj\third_party\freetype2\src\type1\ionfreetype2.type1.obj
FAILED: obj/third_party/freetype2/src/type1/ionfreetype2.type1.obj
ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\freetype2\src\type1\ionfreetype2.type1.obj.rsp /c ..\..\..\third_party\freetype2\src\type1\type1.c /Foobj\third_party\freetype2\src\type1\ionfreetype2.type1.obj /Fdobj\ion\external\ionfreetype2.c.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.
[14/942] CC obj\third_party\freetype2\src\type42\ionfreetype2.type42.obj
FAILED: obj/third_party/freetype2/src/type42/ionfreetype2.type42.obj
ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\freetype2\src\type42\ionfreetype2.type42.obj.rsp /c ..\..\..\third_party\freetype2\src\type42\type42.c /Foobj\third_party\freetype2\src\type42\ionfreetype2.type42.obj /Fdobj\ion\external\ionfreetype2.c.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.
[15/942] CXX obj\third_party\harfbuzz\src\ionharfbuzz.hb-icu.obj
FAILED: obj/third_party/harfbuzz/src/ionharfbuzz.hb-icu.obj
ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\harfbuzz\src\ionharfbuzz.hb-icu.obj.rsp /c ..\..\..\third_party\harfbuzz\src\hb-icu.cc /Foobj\third_party\harfbuzz\src\ionharfbuzz.hb-icu.obj /Fdobj\ion\external\ionharfbuzz.cc.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.
[16/942] CXX obj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-color.obj
FAILED: obj/third_party/harfbuzz/src/ionharfbuzz.hb-ot-color.obj
ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-color.obj.rsp /c ..\..\..\third_party\harfbuzz\src\hb-ot-color.cc /Foobj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-color.obj /Fdobj\ion\external\ionharfbuzz.cc.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.
[17/942] CC obj\third_party\freetype2\src\base\ionfreetype2.ftsystem.obj
FAILED: obj/third_party/freetype2/src/base/ionfreetype2.ftsystem.obj
ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\freetype2\src\base\ionfreetype2.ftsystem.obj.rsp /c ..\..\..\third_party\freetype2\src\base\ftsystem.c /Foobj\third_party\freetype2\src\base\ionfreetype2.ftsystem.obj /Fdobj\ion\external\ionfreetype2.c.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.
[18/942] CC obj\third_party\freetype2\src\truetype\ionfreetype2.truetype.obj
FAILED: obj/third_party/freetype2/src/truetype/ionfreetype2.truetype.obj
ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\freetype2\src\truetype\ionfreetype2.truetype.obj.rsp /c ..\..\..\third_party\freetype2\src\truetype\truetype.c /Foobj\third_party\freetype2\src\truetype\ionfreetype2.truetype.obj /Fdobj\ion\external\ionfreetype2.c.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.
[19/942] CXX obj\third_party\harfbuzz\src\ionharfbuzz.hb-buffer.obj
FAILED: obj/third_party/harfbuzz/src/ionharfbuzz.hb-buffer.obj
ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\harfbuzz\src\ionharfbuzz.hb-buffer.obj.rsp /c ..\..\..\third_party\harfbuzz\src\hb-buffer.cc /Foobj\third_party\harfbuzz\src\ionharfbuzz.hb-buffer.obj /Fdobj\ion\external\ionharfbuzz.cc.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.
[20/942] CXX obj\third_party\harfbuzz\src\ionharfbuzz.hb-face.obj
FAILED: obj/third_party/harfbuzz/src/ionharfbuzz.hb-face.obj
ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\harfbuzz\src\ionharfbuzz.hb-face.obj.rsp /c ..\..\..\third_party\harfbuzz\src\hb-face.cc /Foobj\third_party\harfbuzz\src\ionharfbuzz.hb-face.obj /Fdobj\ion\external\ionharfbuzz.cc.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.
[21/942] CXX obj\third_party\harfbuzz\src\ionharfbuzz.hb-fallback-shape.obj
FAILED: obj/third_party/harfbuzz/src/ionharfbuzz.hb-fallback-shape.obj
ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\harfbuzz\src\ionharfbuzz.hb-fallback-shape.obj.rsp /c ..\..\..\third_party\harfbuzz\src\hb-fallback-shape.cc /Foobj\third_party\harfbuzz\src\ionharfbuzz.hb-fallback-shape.obj /Fdobj\ion\external\ionharfbuzz.cc.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.
[22/942] CXX obj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-font.obj
FAILED: obj/third_party/harfbuzz/src/ionharfbuzz.hb-ot-font.obj
ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-font.obj.rsp /c ..\..\..\third_party\harfbuzz\src\hb-ot-font.cc /Foobj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-font.obj /Fdobj\ion\external\ionharfbuzz.cc.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.
[23/942] CXX obj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-layout.obj
FAILED: obj/third_party/harfbuzz/src/ionharfbuzz.hb-ot-layout.obj
ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-layout.obj.rsp /c ..\..\..\third_party\harfbuzz\src\hb-ot-layout.cc /Foobj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-layout.obj /Fdobj\ion\external\ionharfbuzz.cc.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.
[24/942] CXX obj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-shape-complex-arabic.obj
FAILED: obj/third_party/harfbuzz/src/ionharfbuzz.hb-ot-shape-complex-arabic.obj
ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-shape-complex-arabic.obj.rsp /c ..\..\..\third_party\harfbuzz\src\hb-ot-shape-complex-arabic.cc /Foobj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-shape-complex-arabic.obj /Fdobj\ion\external\ionharfbuzz.cc.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.
[25/942] CXX obj\third_party\harfbuzz\src\ionharfbuzz.hb-buffer-serialize.obj
FAILED: obj/third_party/harfbuzz/src/ionharfbuzz.hb-buffer-serialize.obj
ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\harfbuzz\src\ionharfbuzz.hb-buffer-serialize.obj.rsp /c ..\..\..\third_party\harfbuzz\src\hb-buffer-serialize.cc /Foobj\third_party\harfbuzz\src\ionharfbuzz.hb-buffer-serialize.obj /Fdobj\ion\external\ionharfbuzz.cc.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.
[26/942] CXX obj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-map.obj
FAILED: obj/third_party/harfbuzz/src/ionharfbuzz.hb-ot-map.obj
ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-map.obj.rsp /c ..\..\..\third_party\harfbuzz\src\hb-ot-map.cc /Foobj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-map.obj /Fdobj\ion\external\ionharfbuzz.cc.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.
[27/942] CXX obj\third_party\icu\icu4c\source\common\ionicu.brkiter.obj
FAILED: obj/third_party/icu/icu4c/source/common/ionicu.brkiter.obj
ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\icu\icu4c\source\common\ionicu.brkiter.obj.rsp /c ..\..\..\third_party\icu\icu4c\source\common\brkiter.cpp /Foobj\third_party\icu\icu4c\source\common\ionicu.brkiter.obj /Fdobj\ion\external\ionicu.cc.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.
[28/942] CXX obj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-shape-complex-use.obj
FAILED: obj/third_party/harfbuzz/src/ionharfbuzz.hb-ot-shape-complex-use.obj
ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-shape-complex-use.obj.rsp /c ..\..\..\third_party\harfbuzz\src\hb-ot-shape-complex-use.cc /Foobj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-shape-complex-use.obj /Fdobj\ion\external\ionharfbuzz.cc.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.
[29/942] CXX obj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-shape-normalize.obj
FAILED: obj/third_party/harfbuzz/src/ionharfbuzz.hb-ot-shape-normalize.obj
ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-shape-normalize.obj.rsp /c ..\..\..\third_party\harfbuzz\src\hb-ot-shape-normalize.cc /Foobj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-shape-normalize.obj /Fdobj\ion\external\ionharfbuzz.cc.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.
[30/942] CXX obj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-shape-fallback.obj
FAILED: obj/third_party/harfbuzz/src/ionharfbuzz.hb-ot-shape-fallback.obj
ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-shape-fallback.obj.rsp /c ..\..\..\third_party\harfbuzz\src\hb-ot-shape-fallback.cc /Foobj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-shape-fallback.obj /Fdobj\ion\external\ionharfbuzz.cc.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.
[31/942] CXX obj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-shape.obj
FAILED: obj/third_party/harfbuzz/src/ionharfbuzz.hb-ot-shape.obj
ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-shape.obj.rsp /c ..\..\..\third_party\harfbuzz\src\hb-ot-shape.cc /Foobj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-shape.obj /Fdobj\ion\external\ionharfbuzz.cc.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.
[32/942] CXX obj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-shape-complex-tibetan.obj
FAILED: obj/third_party/harfbuzz/src/ionharfbuzz.hb-ot-shape-complex-tibetan.obj
ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-shape-complex-tibetan.obj.rsp /c ..\..\..\third_party\harfbuzz\src\hb-ot-shape-complex-tibetan.cc /Foobj\third_party\harfbuzz\src\ionharfbuzz.hb-ot-shape-complex-tibetan.obj /Fdobj\ion\external\ionharfbuzz.cc.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.
ninja: build stopped: subcommand failed.
ERROR: Build failed.
Any help is greatly appreciated!
After successfully building Ion on OSX 10.13.4 the build results are located in gyp-out/mac-ninja; yet the select_build_output_files_for_ion_bazel_platform in ion.bz does not reference this directory. Should it?
Would you like to replace any double quotes by angle brackets around file names for include statements?
Currently, the iOS build is not successful.
I'm running this command:
python build.py -o ios -c Release
using the compiler provided by Xcode (Version 7.2)
clang++ -v
Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin15.3.0
Thread model: posix
and getting the following error message:
** BUILD FAILED **
The following build commands failed:
CompileC ion/gyp-out/ios/Release/obj/external_ios.build/Release-iphoneos/ionzlib.build/Objects-normal/armv7/zip.o ion/third_party/zlib/src/contrib/minizip/zip.c normal armv7 c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
ERROR: Build failed.
Cheers
Output from build.sh
ends with:
[741/759] LINK tests/iongfxprofile_test, POSTBUILDS
FAILED: c++ -mmacosx-version-min=10.8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -arch x86_64 -L. -stdlib=libc++ -o tests/iongfxprofile_test obj/ion/gfxprofile/tests/iongfxprofile_test.gpuprofiler_test.o libionprofile.a libionport.a libiongtest_vanilla.a libiongfxprofile.a libiongfx_for_tests.a libionanalytics.a libionbase.a libionb64.a libionzlib.a libiongfx.a libgraphicsmanager.a libstatetable.a libionportgfx.a libionmath.a libtracinghelper.a libionjsoncpp.a libionportgfx_for_tests.a libionbase_for_tests.a libiongtest_safeallocs_no_main.a libionmath_for_tests.a -lc++ -framework AGL -framework Cocoa -framework OpenGL -framework AppKit
Undefined symbols for architecture x86_64:
"std::__1::basic_istream<char, std::__1::char_traits<char> >& std::__1::getline<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_istream<char, std::__1::char_traits<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, char)", referenced from:
Json::Reader::parse(std::__1::basic_istream<char, std::__1::char_traits<char> >&, Json::Value&, bool) in libionjsoncpp.a(ionjsoncpp.json_reader.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
ERROR: Build failed.
In case it's relevant:
$ c++ -v
Apple LLVM version 7.3.0 (clang-703.0.29)
Target: x86_64-apple-darwin15.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Full build output: build-output.txt
I'm using ion (mainly ionmath) for a while in another project that I build with Bazel on windows. with a few small changes (master...MrMabulous:master) ion builds successfully using Visual Studio 2019's MSVC.
now I wanted to give ionremote a try but I'm getting linker errors when trying to create an ion::remote::RemoteServer
ionremote.lib(ionremote.remoteserver.obj) : error LNK2019: unresolved external symbol "bool __cdecl IonRemoteGetUri::RegisterAssets(void)" (?RegisterAssets@IonRemoteGetUri@@YA_NXZ) referenced in function "void __cdecl ion::remote::`anonymous namespace'::RegisterAssetsForRemoteServer(void)" (?RegisterAssetsForRemoteServer@?A0xe096928b@remote@ion@@YAXXZ)
ionremote.lib(ionremote.remoteserver.obj) : error LNK2019: unresolved external symbol "bool __cdecl IonRemoteRoot::RegisterAssets(void)" (?RegisterAssets@IonRemoteRoot@@YA_NXZ) referenced in function "void __cdecl ion::remote::`anonymous namespace'::RegisterAssetsForRemoteServer(void)" (?RegisterAssetsForRemoteServer@?A0xe096928b@remote@ion@@YAXXZ)
ionremote.lib(ionremote.nodegraphhandler.obj) : error LNK2019: unresolved external symbol "void __cdecl IonRemoteNodeGraphRoot::RegisterAssetsOnce(void)" (?RegisterAssetsOnce@IonRemoteNodeGraphRoot@@YAXXZ) referenced in function "public: __cdecl ion::remote::NodeGraphHandler::NodeGraphHandler(void)" (??0NodeGraphHandler@remote@ion@@QEAA@XZ)
ionremote.lib(ionremote.calltracehandler.obj) : error LNK2019: unresolved external symbol "void __cdecl IonRemoteCallTraceRoot::RegisterAssetsOnce(void)" (?RegisterAssetsOnce@IonRemoteCallTraceRoot@@YAXXZ) referenced in function "public: __cdecl ion::remote::CallTraceHandler::CallTraceHandler(void)" (??0CallTraceHandler@remote@ion@@QEAA@XZ)
ionremote.lib(ionremote.resourcehandler.obj) : error LNK2019: unresolved external symbol "void __cdecl IonRemoteResourcesRoot::RegisterAssetsOnce(void)" (?RegisterAssetsOnce@IonRemoteResourcesRoot@@YAXXZ) referenced in function "public: __cdecl ion::remote::ResourceHandler::ResourceHandler(class ion::base::SharedPtr<class ion::gfx::Renderer> const &)" (??0ResourceHandler@remote@ion@@QEAA@AEBV?$SharedPtr@VRenderer@gfx@ion@@@base@2@@Z)
ionremote.lib(ionremote.settinghandler.obj) : error LNK2019: unresolved external symbol "void __cdecl IonRemoteSettingsRoot::RegisterAssetsOnce(void)" (?RegisterAssetsOnce@IonRemoteSettingsRoot@@YAXXZ) referenced in function "public: __cdecl ion::remote::SettingHandler::SettingHandler(void)" (??0SettingHandler@remote@ion@@QEAA@XZ)
ionremote.lib(ionremote.shaderhandler.obj) : error LNK2019: unresolved external symbol "void __cdecl IonRemoteShadersRoot::RegisterAssetsOnce(void)" (?RegisterAssetsOnce@IonRemoteShadersRoot@@YAXXZ) referenced in function "public: __cdecl ion::remote::ShaderHandler::ShaderHandler(class ion::base::SharedPtr<class ion::gfxutils::ShaderManager> const &,class ion::base::SharedPtr<class ion::gfx::Renderer> const &)" (??0ShaderHandler@remote@ion@@QEAA@AEBV?$SharedPtr@VShaderManager@gfxutils@ion@@@base@2@AEBV?$SharedPtr@VRenderer@gfx@ion@@@42@@Z)
ionremote.lib(ionremote.tracinghandler.obj) : error LNK2019: unresolved external symbol "void __cdecl IonRemoteTracingRoot::RegisterAssetsOnce(void)" (?RegisterAssetsOnce@IonRemoteTracingRoot@@YAXXZ) referenced in function "public: __cdecl ion::remote::TracingHandler::TracingHandler(class ion::base::SharedPtr<class ion::gfxutils::Frame> const &,class ion::base::SharedPtr<class ion::gfx::Renderer> const &)" (??0TracingHandler@remote@ion@@QEAA@AEBV?$SharedPtr@VFrame@gfxutils@ion@@@base@2@AEBV?$SharedPtr@VRenderer@gfx@ion@@@42@@Z)
ionportgfx.lib(ionportgfx.wglcontext.obj) : error LNK2019: unresolved external symbol __imp_wglCreateContext referenced in function "public: bool __cdecl ion::portgfx::`anonymous namespace'::WglContext::InitOwned(class ion::portgfx::A0xe74b9e20::WglContext const *)" (?InitOwned@WglContext@?A0xe74b9e20@portgfx@ion@@QEAA_NPEBV1234@@Z)
ionportgfx.lib(ionportgfx.wglcontext.obj) : error LNK2019: unresolved external symbol __imp_wglDeleteContext referenced in function "public: virtual __cdecl ion::portgfx::`anonymous namespace'::WglContext::~WglContext(void)" (??1WglContext@?A0xe74b9e20@portgfx@ion@@UEAA@XZ)
ionportgfx.lib(ionportgfx.wglcontext.obj) : error LNK2019: unresolved external symbol __imp_wglGetCurrentContext referenced in function "public: static unsigned __int64 __cdecl ion::portgfx::GlContext::GetCurrentGlContextId(void)" (?GetCurrentGlContextId@GlContext@portgfx@ion@@SA_KXZ)
ionportgfx.lib(ionportgfx.wglcontext.obj) : error LNK2019: unresolved external symbol __imp_wglGetCurrentDC referenced in function "public: bool __cdecl ion::portgfx::`anonymous namespace'::WglContext::InitWrapped(void)" (?InitWrapped@WglContext@?A0xe74b9e20@portgfx@ion@@QEAA_NXZ)
ionportgfx.lib(ionportgfx.wglcontext.obj) : error LNK2019: unresolved external symbol __imp_wglGetProcAddress referenced in function "private: void * __cdecl ion::portgfx::`anonymous namespace'::WglContext::GetProcAddressImpl(char const *,bool)const " (?GetProcAddressImpl@WglContext@?A0xe74b9e20@portgfx@ion@@AEBAPEAXPEBD_N@Z)
ionportgfx.lib(ionportgfx.wglcontext.obj) : error LNK2019: unresolved external symbol __imp_wglMakeCurrent referenced in function "public: virtual void __cdecl ion::portgfx::`anonymous namespace'::WglContext::ClearCurrentContextImpl(void)" (?ClearCurrentContextImpl@WglContext@?A0xe74b9e20@portgfx@ion@@UEAAXXZ)
ionportgfx.lib(ionportgfx.wglcontext.obj) : error LNK2019: unresolved external symbol __imp_wglShareLists referenced in function "public: bool __cdecl ion::portgfx::`anonymous namespace'::WglContext::InitOwned(class ion::portgfx::A0xe74b9e20::WglContext const *)" (?InitOwned@WglContext@?A0xe74b9e20@portgfx@ion@@QEAA_NPEBV1234@@Z)
ionportgfx.lib(ionportgfx.wglcontext.obj) : error LNK2019: unresolved external symbol __imp_SwapBuffers referenced in function "public: virtual void __cdecl ion::portgfx::`anonymous namespace'::WglContext::SwapBuffers(void)" (?SwapBuffers@WglContext@?A0xe74b9e20@portgfx@ion@@UEAAXXZ)
ionportgfx.lib(ionportgfx.window_win32.obj) : error LNK2019: unresolved external symbol __imp_ChoosePixelFormat referenced in function "public: static class std::unique_ptr<class ion::portgfx::WindowWin32,struct std::default_delete<class ion::portgfx::WindowWin32> > __cdecl ion::portgfx::WindowWin32::Create(int,int,int,int)" (?Create@WindowWin32@portgfx@ion@@SA?AV?$unique_ptr@VWindowWin32@portgfx@ion@@U?$default_delete@VWindowWin32@portgfx@ion@@@std@@@std@@HHHH@Z)
ionportgfx.lib(ionportgfx.window_win32.obj) : error LNK2019: unresolved external symbol __imp_SetPixelFormat referenced in function "public: static class std::unique_ptr<class ion::portgfx::WindowWin32,struct std::default_delete<class ion::portgfx::WindowWin32> > __cdecl ion::portgfx::WindowWin32::Create(int,int,int,int)" (?Create@WindowWin32@portgfx@ion@@SA?AV?$unique_ptr@VWindowWin32@portgfx@ion@@U?$default_delete@VWindowWin32@portgfx@ion@@@std@@@std@@HHHH@Z)
ionportgfx.lib(ionportgfx.window_win32.obj) : error LNK2019: unresolved external symbol __imp_DefWindowProcW referenced in function "public: __cdecl ion::portgfx::`anonymous namespace'::IonWindowClass::IonWindowClass(void)" (??0IonWindowClass@?A0xb7d60742@portgfx@ion@@QEAA@XZ)
ionportgfx.lib(ionportgfx.window_win32.obj) : error LNK2019: unresolved external symbol __imp_UnregisterClassA referenced in function "private: virtual __cdecl ion::base::StaticDeleter<class ion::portgfx::`anonymous namespace'::IonWindowClass>::~StaticDeleter<class ion::portgfx::`anonymous namespace'::IonWindowClass>(void)" (??1?$StaticDeleter@VIonWindowClass@?A0xb7d60742@portgfx@ion@@@base@ion@@EEAA@XZ)
ionportgfx.lib(ionportgfx.window_win32.obj) : error LNK2019: unresolved external symbol __imp_RegisterClassExA referenced in function "public: __cdecl ion::portgfx::`anonymous namespace'::IonWindowClass::IonWindowClass(void)" (??0IonWindowClass@?A0xb7d60742@portgfx@ion@@QEAA@XZ)
ionportgfx.lib(ionportgfx.window_win32.obj) : error LNK2019: unresolved external symbol __imp_CreateWindowExA referenced in function "public: static class std::unique_ptr<class ion::portgfx::WindowWin32,struct std::default_delete<class ion::portgfx::WindowWin32> > __cdecl ion::portgfx::WindowWin32::Create(int,int,int,int)" (?Create@WindowWin32@portgfx@ion@@SA?AV?$unique_ptr@VWindowWin32@portgfx@ion@@U?$default_delete@VWindowWin32@portgfx@ion@@@std@@@std@@HHHH@Z)
ionportgfx.lib(ionportgfx.window_win32.obj) : error LNK2019: unresolved external symbol __imp_DestroyWindow referenced in function "public: __cdecl std::unique_ptr<class ion::portgfx::WindowWin32,struct std::default_delete<class ion::portgfx::WindowWin32> >::~unique_ptr<class ion::portgfx::WindowWin32,struct std::default_delete<class ion::portgfx::WindowWin32> >(void)" (??1?$unique_ptr@VWindowWin32@portgfx@ion@@U?$default_delete@VWindowWin32@portgfx@ion@@@std@@@std@@QEAA@XZ)
ionportgfx.lib(ionportgfx.window_win32.obj) : error LNK2019: unresolved external symbol __imp_GetDC referenced in function "public: static class std::unique_ptr<class ion::portgfx::WindowWin32,struct std::default_delete<class ion::portgfx::WindowWin32> > __cdecl ion::portgfx::WindowWin32::Create(int,int,int,int)" (?Create@WindowWin32@portgfx@ion@@SA?AV?$unique_ptr@VWindowWin32@portgfx@ion@@U?$default_delete@VWindowWin32@portgfx@ion@@@std@@@std@@HHHH@Z)
ionprofile.lib(ionprofile.calltracemanager.obj) : error LNK2019: unresolved external symbol "void __cdecl ion::analytics::OutputBenchmarkPretty(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,bool,class ion::analytics::Benchmark const &,class std::basic_ostream<char,struct std::char_traits<char> > &)" (?OutputBenchmarkPretty@analytics@ion@@YAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_NAEBVBenchmark@12@AEAV?$basic_ostream@DU?$char_traits@D@std@@@4@@Z) referenced in function "public: virtual __cdecl ion::profile::CallTraceManager::~CallTraceManager(void)" (??1CallTraceManager@profile@ion@@UEAA@XZ)
I suspect this has something to do with zipasset_generator.gypi and the iad files in remote/res not working correctly? (though I'm not getting any errors when compiling ion).
Is ionremote supposed to work on Windows at all?
This issue was automatically created by Allstar.
Security Policy Violation
Project is out of compliance with Binary Artifacts policy: binaries present in source code
Rule Description
Binary Artifacts are an increased security risk in your repository. Binary artifacts cannot be reviewed, allowing the introduction of possibly obsolete or maliciously subverted executables. For more information see the Security Scorecards Documentation for Binary Artifacts.
Remediation Steps
To remediate, remove the generated executable artifacts from the repository.
Artifacts Found
Additional Information
This policy is drawn from Security Scorecards, which is a tool that scores a project's adherence to security best practices. You may wish to run a Scorecards scan directly on this repository for more details.
Allstar has been installed on all Google managed GitHub orgs. Policies are gradually being rolled out and enforced by the GOSST and OSPO teams. Learn more at http://go/allstar
This issue will auto resolve when the policy is in compliance.
Issue created by Allstar. See https://github.com/ossf/allstar/ for more information. For questions specific to the repository, please contact the owner or maintainer.
Fails to build for android on Linux Mint 17.3 by doing build:
Issues that I have found:
Hi,
When I launch the build.bat script. Gyp reports an error :
generate_ninja_environment.gyp not found
Build works with ndk-r10e but gets STL linker errors with r13b (both freshly extracted zips from developer.android.com)
/home/esrauch/adt-bundle-linux-x86_64-20140321/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lgnustl_static
../../../ion/demos/demobase.h:58: error: undefined reference to 'std::string::begin()'
../../../ion/demos/demobase.h:58: error: undefined reference to 'std::string::end()'
../../../ion/demos/demobase.h:58: error: undefined reference to 'std::string::begin()'
(And a lot of other undefined reference for STL errors)
Hi all.
Output of ./build.sh --os android show a lot dependencies issues. How can I fixed them?.
FAILED: if [ ! -e gen/libgearsdemo.so -o ! -e gen/libgearsdemo.so.TOC ]; then /opt/android/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -shared -Wl,--fix-cortex-a8 -march=armv7-a -mthumb --sysroot=/opt/android/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9 -B /opt/android/ndk/platforms/android-21/arch-arm/usr/lib -Wl,-L/opt/android/ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a -Wl,--gc-sections -Wl,--no-undefined,-z,nocopyreloc -Wl,-dynamic-linker,/system/bin/linker -lc -lm -ldl -llog -lstdc++ -lgcc -g -o gen/libgearsdemo.so -Wl,-soname=libgearsdemo.so @gen/libgearsdemo.so.rsp && { /opt/android/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-readelf -d gen/libgearsdemo.so | grep SONAME ; /opt/android/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-nm -gD -f p gen/libgearsdemo.so | cut -f1-2 -d' '; } > gen/libgearsdemo.so.TOC; else /opt/android/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -shared -Wl,--fix-cortex-a8 -march=armv7-a -mthumb --sysroot=/opt/android/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9 -B /opt/android/ndk/platforms/android-21/arch-arm/usr/lib -Wl,-L/opt/android/ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a -Wl,--gc-sections -Wl,--no-undefined,-z,nocopyreloc -Wl,-dynamic-linker,/system/bin/linker -lc -lm -ldl -llog -lstdc++ -lgcc -g -o gen/libgearsdemo.so -Wl,-soname=libgearsdemo.so @gen/libgearsdemo.so.rsp && { /opt/android/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-readelf -d gen/libgearsdemo.so | grep SONAME ; /opt/android/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-nm -gD -f p gen/libgearsdemo.so | cut -f1-2 -d' '; } > gen/libgearsdemo.so.tmp && if ! cmp -s gen/libgearsdemo.so.tmp gen/libgearsdemo.so.TOC; then mv gen/libgearsdemo.so.tmp gen/libgearsdemo.so.TOC ; fi; fi
../../../ion/base/shareable.h:41: error: undefined reference to 'std::basic_ostream<char, std::char_traits >& std::operator<< <char, std::char_traits, std::allocator >(std::basic_ostream<char, std::char_traits >&, std::basic_string<char, std::char_traits, std::allocator > const&)'
../../../ion/base/shareable.h:41: error: undefined reference to 'std::basic_ostream<char, std::char_traits >& std::operator<< std::char_traits(std::basic_ostream<char, std::char_traits >&, char const_)'
../../../ion/base/shareable.h:41: error: undefined reference to 'std::ostream::operator<<(int)'
../../../ion/base/shareable.h:41: error: undefined reference to 'std::basic_ostream<char, std::char_traits >& std::operator<< std::char_traits(std::basic_ostream<char, std::char_traits >&, char const_)'
../../../ion/base/shareable.h:41: error: undefined reference to 'std::basic_ostream<char, std::char_traits >& std::operator<< std::char_traits(std::basic_ostream<char, std::char_traits >&, char const_)'
../../../ion/base/shareable.h:41: error: undefined reference to 'std::basic_ostream<char, std::char_traits >& std::operator<< std::char_traits(std::basic_ostream<char, std::char_traits >&, char const_)'
../../../ion/base/shareable.h:41: error: undefined reference to 'std::ostream::operator<<(int)'
and so hundred line more.
Thanks in advanced.
Best regards
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.