react-juce icon indicating copy to clipboard operation
react-juce copied to clipboard

Pointer to incomplete class type "reactjuce::EcmascriptEngine::Pimpl" is not allowed

Open the-jasoney opened this issue 3 years ago • 3 comments

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-jasoney avatar Aug 11 '22 02:08 the-jasoney

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

solved that by adding REACTJUCE_USE_HERMES=1

vvruspat avatar Sep 29 '22 17:09 vvruspat

REACTJUCE_USE_HERMES=1

Where did you add this too?

kylewatkins1202 avatar Dec 03 '22 23:12 kylewatkins1202