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

[Bug]: JUCE_x86 failed to setup due to "The code execution cannot proceed because clang_rt.asan_dynamic-x86_64.dll was not found" on ASAN of windows with MSVC #1380

Open
1 task done
liukai12345614 opened this issue Apr 19, 2024 · 0 comments

Comments

@liukai12345614
Copy link

Detailed steps on how to reproduce the bug

Hi All,

[Bug]: JUCE_x86 failed to setup due to "The code execution cannot proceed because clang_rt.asan_dynamic-x86_64.dll was not found" on ASAN of windows with MSVC. It can be reproduced on latest commit 4f43011 on master branch. Could you please help look at this issue? Thanks in advance.

Steps to reproduce the behavior:

  1. git clone https://github.com/juce-framework/JUCE F:\gitP\juce-framework\JUCE
  2. Open a VS2022 x86 cmd
  3. set VSCMD_SKIP_SENDTELEMETRY=1 & "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat" -host_arch=x86 -arch=x86 & set CL= /fsanitize=address /GS- /wd5072 & set LINK= /InferASanLibs /incremental:no /debug
  4. cd F:\gitP\juce-framework\JUCE && mkdir build_x86 && cd build_x86
  5. cmake -G "Visual Studio 17 2022" -A Win32 -DCMAKE_SYSTEM_VERSION=10.0.22621.0 -DCMAKE_BUILD_TYPE=Release -DJUCE_BUILD_EXAMPLES=ON -DJUCE_BUILD_EXTRAS=ON ..

Error Message:
CMake Error at extras/Build/CMake/JUCEUtils.cmake:547 (message):
Running juceaide failed:
command:
F:/gitP/juce-framework/JUCE/build_x86/tools/extras/Build/juceaide/juceaide_artefacts/Debug/juceaide.exe

Execute juceaide.exe report an error "The code execution cannot proceed because clang_rt.asan_dynamic-x86_64.dll was not found. Reinstalling the program may fix this problem."

What is the expected behaviour?

cmake pass.

Operating systems

Windows

What versions of the operating systems?

VS 2022 + Windows Server 2022 Datacenter

Architectures

64-bit

Stacktrace

No response

Plug-in formats (if applicable)

No response

Plug-in host applications (DAWs) (if applicable)

No response

Testing on the develop branch

The bug is present on the develop branch

Code of Conduct

  • I agree to follow the Code of Conduct
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

1 participant