- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 80
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
Pointer to incomplete class type "reactjuce::EcmascriptEngine::Pimpl" is not allowed #297
Comments
solved that by adding REACTJUCE_USE_HERMES=1 |
Where did you add this too? |
When I tried implementing react-juce with my project, it came up with this error:
Error (active) E0393 pointer to incomplete class type "reactjuce::EcmascriptEngine::Pimpl" is not allowed neutron_SharedCode [my_path_to_react_juce]\react_juce\core\EcmascriptEngine.cpp 42 Error (active) E0393 pointer to incomplete class type "reactjuce::EcmascriptEngine::Pimpl" is not allowed neutron_SharedCode [my_path_to_react_juce]\react_juce\core\EcmascriptEngine.cpp 47 Error (active) E0393 pointer to incomplete class type "reactjuce::EcmascriptEngine::Pimpl" is not allowed neutron_SharedCode [my_path_to_react_juce]\react_juce\core\EcmascriptEngine.cpp 52 Error (active) E0393 pointer to incomplete class type "reactjuce::EcmascriptEngine::Pimpl" is not allowed neutron_SharedCode [my_path_to_react_juce]\react_juce\core\EcmascriptEngine.cpp 69 Error (active) E0393 pointer to incomplete class type "reactjuce::EcmascriptEngine::Pimpl" is not allowed neutron_SharedCode [my_path_to_react_juce]\react_juce\core\EcmascriptEngine.cpp 74 Error (active) E0393 pointer to incomplete class type "reactjuce::EcmascriptEngine::Pimpl" is not allowed neutron_SharedCode [my_path_to_react_juce]\react_juce\core\EcmascriptEngine.cpp 80 Error (active) E0393 pointer to incomplete class type "reactjuce::EcmascriptEngine::Pimpl" is not allowed neutron_SharedCode [my_path_to_react_juce]\react_juce\core\EcmascriptEngine.cpp 85 Error (active) E0393 pointer to incomplete class type "reactjuce::EcmascriptEngine::Pimpl" is not allowed neutron_SharedCode [my_path_to_react_juce]\react_juce\core\EcmascriptEngine.cpp 91 Error (active) E0393 pointer to incomplete class type "reactjuce::EcmascriptEngine::Pimpl" is not allowed neutron_SharedCode [my_path_to_react_juce]\react_juce\core\EcmascriptEngine.cpp 96 Error C2027 use of undefined type 'reactjuce::EcmascriptEngine::Pimpl' (compiling source file ..\..\JuceLibraryCode\include_react_juce.cpp) neutron_SharedCode [my_path_to_react_juce]\react_juce\core\EcmascriptEngine.cpp 42 Error C2039 'evaluateInline': is not a member of 'std::unique_ptr<reactjuce::EcmascriptEngine::Pimpl,std::default_delete<reactjuce::EcmascriptEngine::Pimpl>>' (compiling source file ..\..\JuceLibraryCode\include_react_juce.cpp) neutron_SharedCode [my_path_to_react_juce]\react_juce\core\EcmascriptEngine.cpp 42 Error C2027 use of undefined type 'reactjuce::EcmascriptEngine::Pimpl' (compiling source file ..\..\JuceLibraryCode\include_react_juce.cpp) neutron_SharedCode [my_path_to_react_juce]\react_juce\core\EcmascriptEngine.cpp 47 Error C2039 'evaluate': is not a member of 'std::unique_ptr<reactjuce::EcmascriptEngine::Pimpl,std::default_delete<reactjuce::EcmascriptEngine::Pimpl>>' (compiling source file ..\..\JuceLibraryCode\include_react_juce.cpp) neutron_SharedCode [my_path_to_react_juce]\react_juce\core\EcmascriptEngine.cpp 47 Error C2027 use of undefined type 'reactjuce::EcmascriptEngine::Pimpl' (compiling source file ..\..\JuceLibraryCode\include_react_juce.cpp) neutron_SharedCode [my_path_to_react_juce]\react_juce\core\EcmascriptEngine.cpp 52 Error C2039 'evaluateBytecode': is not a member of 'std::unique_ptr<reactjuce::EcmascriptEngine::Pimpl,std::default_delete<reactjuce::EcmascriptEngine::Pimpl>>' (compiling source file ..\..\JuceLibraryCode\include_react_juce.cpp) neutron_SharedCode [my_path_to_react_juce]\react_juce\core\EcmascriptEngine.cpp 52 Error C2027 use of undefined type 'reactjuce::EcmascriptEngine::Pimpl' (compiling source file ..\..\JuceLibraryCode\include_react_juce.cpp) neutron_SharedCode [my_path_to_react_juce]\react_juce\core\EcmascriptEngine.cpp 69 Error C2039 'registerNativeProperty': is not a member of 'std::unique_ptr<reactjuce::EcmascriptEngine::Pimpl,std::default_delete<reactjuce::EcmascriptEngine::Pimpl>>' (compiling source file ..\..\JuceLibraryCode\include_react_juce.cpp) neutron_SharedCode [my_path_to_react_juce]\react_juce\core\EcmascriptEngine.cpp 69 Error C2027 use of undefined type 'reactjuce::EcmascriptEngine::Pimpl' (compiling source file ..\..\JuceLibraryCode\include_react_juce.cpp) neutron_SharedCode [my_path_to_react_juce]\react_juce\core\EcmascriptEngine.cpp 74 Error C2039 'registerNativeProperty': is not a member of 'std::unique_ptr<reactjuce::EcmascriptEngine::Pimpl,std::default_delete<reactjuce::EcmascriptEngine::Pimpl>>' (compiling source file ..\..\JuceLibraryCode\include_react_juce.cpp) neutron_SharedCode [my_path_to_react_juce]\react_juce\core\EcmascriptEngine.cpp 74 Error C2027 use of undefined type 'reactjuce::EcmascriptEngine::Pimpl' (compiling source file ..\..\JuceLibraryCode\include_react_juce.cpp) neutron_SharedCode [my_path_to_react_juce]\react_juce\core\EcmascriptEngine.cpp 80 Error C2039 'invoke': is not a member of 'std::unique_ptr<reactjuce::EcmascriptEngine::Pimpl,std::default_delete<reactjuce::EcmascriptEngine::Pimpl>>' (compiling source file ..\..\JuceLibraryCode\include_react_juce.cpp) neutron_SharedCode [my_path_to_react_juce]\react_juce\core\EcmascriptEngine.cpp 80 Error C2027 use of undefined type 'reactjuce::EcmascriptEngine::Pimpl' (compiling source file ..\..\JuceLibraryCode\include_react_juce.cpp) neutron_SharedCode [my_path_to_react_juce]\react_juce\core\EcmascriptEngine.cpp 85 Error C2232 '->std::unique_ptr<reactjuce::EcmascriptEngine::Pimpl,std::default_delete<reactjuce::EcmascriptEngine::Pimpl>>::reset': left operand has 'class' type, use '.' (compiling source file ..\..\JuceLibraryCode\include_react_juce.cpp) neutron_SharedCode [my_path_to_react_juce]\react_juce\core\EcmascriptEngine.cpp 85 Error C2027 use of undefined type 'reactjuce::EcmascriptEngine::Pimpl' (compiling source file ..\..\JuceLibraryCode\include_react_juce.cpp) neutron_SharedCode [my_path_to_react_juce]\react_juce\core\EcmascriptEngine.cpp 91 Error C2039 'debuggerAttach': is not a member of 'std::unique_ptr<reactjuce::EcmascriptEngine::Pimpl,std::default_delete<reactjuce::EcmascriptEngine::Pimpl>>' (compiling source file ..\..\JuceLibraryCode\include_react_juce.cpp) neutron_SharedCode [my_path_to_react_juce]\react_juce\core\EcmascriptEngine.cpp 91 Error C2027 use of undefined type 'reactjuce::EcmascriptEngine::Pimpl' (compiling source file ..\..\JuceLibraryCode\include_react_juce.cpp) neutron_SharedCode [my_path_to_react_juce]\react_juce\core\EcmascriptEngine.cpp 96 Error C2039 'debuggerDetach': is not a member of 'std::unique_ptr<reactjuce::EcmascriptEngine::Pimpl,std::default_delete<reactjuce::EcmascriptEngine::Pimpl>>' (compiling source file ..\..\JuceLibraryCode\include_react_juce.cpp) neutron_SharedCode [my_path_to_react_juce]\react_juce\core\EcmascriptEngine.cpp 96
Platform: Windows 11 64-bit
Compiler: MSVC
IDE: VS2022
JUCE: 6.1.6
The text was updated successfully, but these errors were encountered: