JUCE icon indicating copy to clipboard operation
JUCE copied to clipboard

[Bug]: Windows_DLL Build Error On VS2019

Open 444sofiane opened this issue 1 year ago • 0 comments
trafficstars

Detailed steps on how to reproduce the bug

I tried building the JUCE\extras\WindowsDLL\WindowsDLL.jucer using Visual Studio 2019 (I tried using vs2022 but I get the same issue)

But I get this error : C2665 'std::shared_ptrjuce::detail::ConcreteScopedMessageBoxImpl::shared_ptr' : aucune fonction surchargée n’a pu convertir tous les types d’arguments.

Here (line 78 of juce_ScopedMessageBoxImpl.h): static std::shared_ptr<ConcreteScopedMessageBoxImpl> runAsync (std::unique_ptr<ScopedMessageBoxInterface>&& p, std::unique_ptr<ModalComponentManager::Callback>&& c) { std::shared_ptr<ConcreteScopedMessageBoxImpl> result (new ConcreteScopedMessageBoxImpl (std::move (p), std::move (c))); result->self = result; result->triggerAsyncUpdate(); return result; }

What is the expected behaviour?

It should compile and build me a .lib

Operating systems

Windows

What versions of the operating systems?

10

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

I have not tested against the develop branch

Code of Conduct

  • [X] I agree to follow the Code of Conduct

444sofiane avatar Feb 28 '24 16:02 444sofiane