-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tip for building inspect.js and inspect.wasm #81
Comments
I had the same issues when I tried to build AOManalyser and generate the
Extra local info:
|
Thanks for sharing your trial, and it seems even more efficient and quicker than mine. I didn't know that awcy keeps the pre-built version of aom analyzer, but it seems it has it for linux only. Btw, were you able to "make inspect" w/o doing the step, "-std=c99" --> "-std=gnu99" in [aom directorory]/build/cmake/aom_configure.cmake"? Also, I am curious what is your step 5 for? |
AWCY keeps other versions too, I got the links from an older version of the website suggested in AOM (https://web.archive.org/web/20200414193350/https://people.xiph.org/~mbebenita/analyzer/). Yes I was able to run make inspect with success without the step "-std=c99", the options
The step 5 I did because I was having this issue:
I really don't know why this, so I tried deleting the version file and it worked (?) |
Hi,@rarzumanyan. the issue got resolved now? |
To produce a working build with latest emscripten, two changes must be made to
|
From my triage on Mac OS (10.14.4, Mojave) and Uuntu 18.04, there two tips were required to successfully build inspect.js and inspect.wasm with Emscripton, based on the guides at https://aomedia.googlesource.com/aom/#emscripten-builds.
only av1-normativ branch worked, and the mater branch failed with cmake.
(To see which parts failed, please checkout Emscripton build fails with both Ubuntu and Mac OS to generate inspect.js #78 and Emscripton build error on Mac OS #79)
(FYI, I've run: "cmake ../aom -DENABLE_CCACHE=1 -DENABLE_DOCS=0 -DENABLE_TESTS=0 -DAOM_TARGET_CPU=generic -DCONFIG_ACCOUNTING=1 -DCONFIG_INSPECTION=1 -DCONFIG_MULTITHREAD=0 -DCONFIG_RUNTIME_CPU_DETECT=0 -DCONFIG_WEBM_IO=0 -DCMAKE_TOOLCHAIN_FILE=/Users/yushin/workspace/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake && make -j12 inspect")
i.e. "-std=c99" --> "-std=gnu99" in [aom directorory]/build/cmake/aom_configure.cmake
$ git diff
diff --git a/build/cmake/aom_configure.cmake b/build/cmake/aom_configure.cmake
index 2b59c61a9..ec34cf9b0 100644
--- a/build/cmake/aom_configure.cmake
+++ b/build/cmake/aom_configure.cmake
@@ -259,7 +259,7 @@ if(MSVC)
add_compiler_flag_if_supported("/WX")
endif()
else()
add_compiler_flag_if_supported("-Wall")
add_compiler_flag_if_supported("-Wdisabled-optimization")
add_compiler_flag_if_supported("-Wextra")
I hope this helps saving your time building aom analyzer!
The text was updated successfully, but these errors were encountered: