Bug 1776254 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

The following https://github.com/mozilla-spidermonkey/spidermonkey-embedding-examples/blob/esr91/docs/Building%20SpiderMonkey.md , but I build on esr102 branch.

As soon as I try to building examples, I get:
In file included from sm-bench.cpp:1:
In file included from /Users/yury/bin/mozjs/include/mozjs-102/jsapi.h:30:
In file included from /Users/yury/bin/mozjs/include/mozjs-102/js/CallAndConstruct.h:15:
In file included from /Users/yury/bin/mozjs/include/mozjs-102/js/RootingAPI.h:27:
In file included from /Users/yury/bin/mozjs/include/mozjs-102/js/ProfilingStack.h:16:
/Users/yury/bin/mozjs/include/mozjs-102/js/ProfilingCategory.h:13:10: fatal error: 'js/ProfilingCategoryList.h' file not found
#include "js/ProfilingCategoryList.h"  // MOZ_PROFILING_CATEGORY_LIST
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

(Workaround: copying ProfilingCategoryList.h to include/mozjs-102/js/ fixes things)
The following https://github.com/mozilla-spidermonkey/spidermonkey-embedding-examples/blob/esr91/docs/Building%20SpiderMonkey.md , but I build on esr102 branch.

As soon as I try building examples, I get:
In file included from sm-bench.cpp:1:
In file included from /Users/yury/bin/mozjs/include/mozjs-102/jsapi.h:30:
In file included from /Users/yury/bin/mozjs/include/mozjs-102/js/CallAndConstruct.h:15:
In file included from /Users/yury/bin/mozjs/include/mozjs-102/js/RootingAPI.h:27:
In file included from /Users/yury/bin/mozjs/include/mozjs-102/js/ProfilingStack.h:16:
/Users/yury/bin/mozjs/include/mozjs-102/js/ProfilingCategory.h:13:10: fatal error: 'js/ProfilingCategoryList.h' file not found
#include "js/ProfilingCategoryList.h"  // MOZ_PROFILING_CATEGORY_LIST
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

(Workaround: copying ProfilingCategoryList.h to include/mozjs-102/js/ fixes things)

Back to Bug 1776254 Comment 0