The steps for building Chrome for different platform is well documented by google.But while building Chrome I encountered some errors which are less documented.These are mostly due to missing linux package.Below are some of the issues due to missing package and the respective package required.
1. error: ‘XTestQueryExtension’ was not declared in this scope
Package Required:-
1. libxt-dev
2. libxtst-dev
2.libcommon.so: cannot open shared object file: No such file or directory
This is not exactly a compilation error.But this error comes while executing the chrome, if chrome is built using shared library option.To solve the error you need to add the path of the concerned library to system path i.e.
export LD_LIBRARY_PATH=/CHROME-PATH/src/out/Debug:/CHROME-PATH/src/out/Debug/lib.target:$LD_LIBRARY_PATH
where "CHROME-PATH" is the path of chrome source.
No comments:
Post a Comment