Skip to content
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

crypto.lib lld-link error #8

Closed
cwycn opened this issue Nov 1, 2023 · 3 comments
Closed

crypto.lib lld-link error #8

cwycn opened this issue Nov 1, 2023 · 3 comments

Comments

@cwycn
Copy link

cwycn commented Nov 1, 2023

by the way, thanks for open source the great engine

run build_all, all other is ok but

...found 10435 target(s)...
...updating 2 target(s)...
creating lib crypto.lib
@C:\Users\ADMINI~1\AppData\Local\Temp\jam: no such file or directory
lld-link: error: lib failed

FAILED to build crypto.lib [Error #1] [win64100clang15.0.7devms4exnosp]
.

...failed lib_target ../../../_output/win64100clang15.0.7devms4exnosp/3rdPartyLibs/openssl_3_x/crypto.lib ...
...skipped ../../../samples/testGI/prog/../game/testGI-win64-dev.exe for lack of ../../../_output/win64100clang15.0.7devms4exnosp/3rdPartyLibs/openssl_3_x/crypto.lib...
...failed updating 1 target(s)...
...skipped 1 target(s)...

and
change samples\skiesSample\prog\jamfile
PlatformSpec ?= clang; to
PlatformSpec ?= vc16 ;
it build samples exe but not for clang because clang crypto.lib failed link
i can't find reason , have any idea ?

@NicSavichev
Copy link
Contributor

and change samples\skiesSample\prog\jamfile PlatformSpec ?= clang; to PlatformSpec ?= vc16 ; it build samples exe but not for clang because clang crypto.lib failed link i can't find reason , have any idea ?

yes. probem is full pathname of files that are written during compilation
avoid using root folder (where DagorEngine lies) with too long pathname of spaces

@NicSavichev
Copy link
Contributor

also antivirus (windows defender) may interfere compilation, when we write response file to temp folder and then read back it with compiler/linker/lib - file may be blocked by antivirus and this fails compilation

@cwycn
Copy link
Author

cwycn commented Nov 2, 2023

ok, got it,thanks

@cwycn cwycn closed this as completed Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants