-
Notifications
You must be signed in to change notification settings - Fork 76
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
Building Chromium for Windows x_86 #306
Comments
Could you share all the commands you used for the build? The linker didn't link |
There's an issue with the instructions. In step 3, you have to run |
Yes. I apply Windows patch. all the commands I'm using for the build are these: cd %CHROMIUM_ROOT% cd %CHROMIUM_ROOT% |
I didn’t see where you applied the patch from the commands you shared. |
@pi-314159, because by applying patch file error occured, I apply that manually! and now libs = ["//third_party/boringssl/src/oqs/lib/oqs.lib" ] is in the file third_party/boringssl/BUILD.gn. |
@ArtinKennedy Great! Sometimes whitespace etc can cause the patch to fail. I hope you can build it successfully. If everything works out, please remember to close this issue! |
@pi-314159 I apply patch file. All the commands I used for the build are: cd %CHROMIUM_ROOT% is_debug = false autoninja -C out/Default chrome |
Are there any files in |
I want to build chromium for window x_86. For this, I build liboqs using this command:
cmake .. -DCMAKE_INSTALL_PREFIX=%CHROMIUM_ROOT%/third_party/boringssl/src/oqs -DOQS_USE_OPENSSL=OFF -DCMAKE_BUILD_TYPE=Release -DOQS_DIST_BUILD=OFF -DOQS_OPT_TARGET=generic
and set target_cpu = "x86" in args.gn config file. when start building of chromium, after some minutes this error occured:
[878/30595] LINK chrome_proxy.exe chrome_proxy.exe.pdb
FAILED: chrome_proxy.exe chrome_proxy.exe.pdb
....\third_party\llvm-build\Release+Asserts\bin\lld-link.exe "/OUT:./chrome_proxy.exe" /nologo -libpath:....\third_party\llvm-build\Release+Asserts\lib\clang\19\lib\windows "-libpath:C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\ATLMFC\lib\x86" "-libpath:C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\lib\x86" "-libpath:C:\Program Files (x86)\Windows Kits\10\lib\10.0.22621.0\ucrt\x86" "-libpath:C:\Program Files (x86)\Windows Kits\10\lib\10.0.22621.0\um\x86" /MACHINE:X86 "/PDB:./chrome_proxy.exe.pdb" "@./chrome_proxy.exe.rsp"
lld-link: error: undefined symbol: _OQS_SIG_verify
lld-link: error: undefined symbol: _OQS_SIG_new
lld-link: error: undefined symbol: _OQS_SIG_keypair
lld-link: error: undefined symbol: _OQS_SIG_sign
How can I resolve this error?
The text was updated successfully, but these errors were encountered: