sudden export issues: undeclared indentifier in ChockWebView
-
Never had these issues before. Using HISE 3.6.2 on macOS. 12.2.1.
Plugins have been exporting fine until now. I tried cleaning build directory.Any ideas?
Last login: Sat Sep 7 15:48:35 on console /Volumes/Extreme\ SSD/Virtuscape\ Audio/_Porjects/Rhodecaswe88_V2_Test/Binaries/batchCompileOSX ; exit; cadencemusicent@Chriss-MacBook-Pro ~ % /Volumes/Extreme\ SSD/Virtuscape\ Audio/_Porjects/Rhodecaswe88_V2_Test/Binaries/batchCompileOSX ; exit; Re-saving file: /Volumes/Extreme SSD/Virtuscape Audio/_Porjects/Rhodecaswe88_V2_Test/Binaries/AutogeneratedProject.jucer Finished saving: Visual Studio 2017 Finished saving: Xcode (macOS) Finished saving: Xcode (iOS) Finished saving: Linux Makefile Compiling Instrument plugin Rhodecase88_v2_alpha ... Building targets in manual order is deprecated - check "Parallelize build for command-line builds" in the project editor, or set DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING in any of the targets in the current build to suppress this warning ▸ Compiling include_hi_snex_60.c ▸ Compiling include_hi_scripting_04.cpp ▸ Compiling include_hi_snex_61.c ▸ Compiling include_juce_product_unlocking.mm ▸ Compiling include_juce_osc.cpp ▸ Compiling include_juce_opengl.mm ▸ Compiling include_juce_gui_extra.mm ▸ Compiling include_juce_gui_basics.mm ▸ Compiling include_juce_graphics.mm ▸ Compiling include_juce_events.mm ▸ Compiling include_juce_dsp.mm ▸ Compiling include_juce_data_structures.mm ▸ Compiling include_juce_cryptography.mm ▸ Compiling include_juce_core.mm ▸ Compiling include_juce_audio_utils.mm ▸ Compiling include_juce_audio_processors.mm ▸ Compiling include_juce_audio_plugin_client_utils.cpp ▸ Compiling include_juce_audio_plugin_client_VST_utils.mm ▸ Compiling include_juce_audio_formats.mm ▸ Compiling include_juce_audio_devices.mm ▸ Compiling include_juce_audio_basics.mm ▸ Compiling include_hi_zstd_3.mm ▸ Compiling include_hi_zstd_2.mm ▸ Compiling include_hi_zstd_1.mm ▸ Compiling include_hi_tools.mm ❌ /Users/cadencemusicent/HISE/hi_tools/hi_standalone_components/ChocWebView.cpp:441:5: use of undeclared identifier 'content'; did you mean 'cgetent'? if(content != nullptr) ^~~~~~~ ⚠️ /Users/cadencemusicent/HISE/hi_tools/hi_standalone_components/ChocWebView.cpp:441:5: comparison of function 'cgetent' not equal to a null pointer is always true [-Wtautological-pointer-compare] if(content != nullptr) ^ ❌ /Users/cadencemusicent/HISE/hi_tools/hi_standalone_components/ChocWebView.cpp:442:3: use of undeclared identifier 'content'; did you mean 'cgetent'? content->setWindowHandle(nullptr); ^ ❌ /Users/cadencemusicent/HISE/hi_tools/hi_standalone_components/ChocWebView.cpp:442:10: member reference base type 'int (char **, char **, const char *)' is not a structure or union content->setWindowHandle(nullptr); ^ ❌ /Users/cadencemusicent/HISE/hi_tools/hi_standalone_components/ChocWebView.cpp:444:2: use of undeclared identifier 'content'; did you mean 'MarkdownContentIds::Content'? content = nullptr; ~~~~~~~^ ~~~~~~~~~~~~~~~ ❌ /Users/cadencemusicent/HISE/hi_tools/hi_standalone_components/ChocWebView.cpp:453:6: use of undeclared identifier 'content'; did you mean 'cgetent'? if (content != nullptr) ^ ⚠️ /Users/cadencemusicent/HISE/hi_tools/hi_standalone_components/ChocWebView.cpp:453:6: comparison of function 'cgetent' not equal to a null pointer is always true [-Wtautological-pointer-compare] if (content != nullptr) ^ ❌ /Users/cadencemusicent/HISE/hi_tools/hi_standalone_components/ChocWebView.cpp:455:3: use of undeclared identifier 'content'; did you mean 'cgetent'? content->setBounds(getLocalBounds()); ^ ❌ /Users/cadencemusicent/HISE/hi_tools/hi_standalone_components/ChocWebView.cpp:455:10: member reference base type 'int (char **, char **, const char *)' is not a structure or union content->setBounds(getLocalBounds()); ^ ❌ /Users/cadencemusicent/HISE/hi_tools/hi_standalone_components/ChocWebView.cpp:476:2: use of undeclared identifier 'content'; did you mean 'MarkdownContentIds::Content'? content = new NativeComponentType(); ~~~~~~~^ ~~~~~~~~~ ❌ /Users/cadencemusicent/HISE/hi_tools/hi_standalone_components/ChocWebView.cpp:476:10: no viable overloaded '=' content = new NativeComponentType(); ^ ** BUILD FAILED ** The following build commands failed: CompileC /Volumes/Extreme\ SSD/Virtuscape\ Audio/_Porjects/Rhodecaswe88_V2_Test/Binaries/Builds/MacOSX/build/Rhodecase88_v2_alpha.build/Release/Rhodecase88_v2_alpha\ -\ Shared\ Code.build/Objects-normal/x86_64/include_hi_tools.o /Volumes/Extreme\ SSD/Virtuscape\ Audio/_Porjects/Rhodecaswe88_V2_Test/Binaries/JuceLibraryCode/include_hi_tools.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'Rhodecase88_v2_alpha - Shared Code' from project 'Rhodecase88_v2_alpha') (1 failure) ❌ /Users/cadencemusicent/HISE/hi_tools/hi_standalone_components/ChocWebView.cpp:515:2: use of undeclared identifier 'content'; did you mean 'cgetent'? content->setWindowHandle(webView->getViewHandle()); ^ ❌ /Users/cadencemusicent/HISE/hi_tools/hi_standalone_components/ChocWebView.cpp:515:9: member reference base type 'int (char **, char **, const char *)' is not a structure or union content->setWindowHandle(webView->getViewHandle()); ^ ❌ /Users/cadencemusicent/HISE/hi_tools/hi_standalone_components/ChocWebView.cpp:518:20: use of undeclared identifier 'content' addAndMakeVisible(content); ~~~~~~~^ ~~~~~~~~~~~~~~~ ❌ /Users/cadencemusicent/HISE/hi_tools/hi_standalone_components/ChocWebView.cpp:530:6: use of undeclared identifier 'content'; did you mean 'cgetent'? if (content != nullptr) ^ ⚠️ /Users/cadencemusicent/HISE/hi_tools/hi_standalone_components/ChocWebView.cpp:530:6: comparison of function 'cgetent' not equal to a null pointer is always true [-Wtautological-pointer-compare] if (content != nullptr) ^ ❌ /Users/cadencemusicent/HISE/hi_tools/hi_standalone_components/ChocWebView.cpp:532:7: use of undeclared identifier 'content'; did you mean 'cgetent'? if (content->getLocalBounds().isEmpty()) ^ ❌ /Users/cadencemusicent/HISE/hi_tools/hi_standalone_components/ChocWebView.cpp:532:14: member reference base type 'int (char **, char **, const char *)' is not a structure or union if (content->getLocalBounds().isEmpty()) ^ ❌ /Users/cadencemusicent/HISE/hi_tools/hi_standalone_components/ChocWebView.cpp:534:4: use of undeclared identifier 'content'; did you mean 'cgetent'? content->setBounds(currentBounds); ~~~~~~~^ ~~~~~~~~~~~~~~ ❌ /Users/cadencemusicent/HISE/hi_tools/hi_standalone_components/ChocWebView.cpp:534:11: member reference base type 'int (char **, char **, const char *)' is not a structure or union content->setBounds(currentBounds); ^ ❌ /Users/cadencemusicent/HISE/hi_tools/hi_standalone_components/ChocWebView.cpp:537:3: use of undeclared identifier 'content'; did you mean 'cgetent'? content->resizeToFitCrossPlatform(); ~~~~~~~^ ~~~~~~~~~ ❌ /Users/cadencemusicent/HISE/hi_tools/hi_standalone_components/ChocWebView.cpp:537:10: member reference base type 'int (char **, char **, const char *)' is not a structure or union content->resizeToFitCrossPlatform(); ^ ❌ fatal error: too many errors emitted, stopping now [-ferror-limit=] ▸ Compiling include_hi_streaming.cpp ⚠️ /Users/cadencemusicent/HISE/hi_streaming/timestretch/signalsmith_stretch/dsp/./fft.h:516:78: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] complexBuffer1[i] = _fft_impl::complexMul<false>({input[2*i], input[2*i + 1]}, modifiedRotations[i]); ~~~~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~ ⚠️ /Users/cadencemusicent/HISE/hi_streaming/timestretch/signalsmith_stretch/dsp/./fft.h:516:63: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] complexBuffer1[i] = _fft_impl::complexMul<false>({input[2*i], input[2*i + 1]}, modifiedRotations[i]); ^ ⚠️ /Users/cadencemusicent/HISE/hi_streaming/timestretch/signalsmith_stretch/dsp/spectral.h:113:21: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int size = mrfft.size(); ~~~~~ ~^~ ⚠️ /Users/cadencemusicent/HISE/hi_streaming/timestretch/signalsmith_stretch/dsp/spectral.h:39:45: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] return MRFFT::fastSizeAbove(size/divisor)*divisor; ^ ⚠️ /Users/cadencemusicent/HISE/hi_streaming/timestretch/signalsmith_stretch/dsp/./fft.h:466:44: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] return FFTType::fastSizeAbove((size + 1)/2)*2; ^ ⚠️ /Users/cadencemusicent/HISE/hi_streaming/timestretch/signalsmith_stretch/dsp/./fft.h:496:34: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] return complexFft.setSize(size/2); ^ ⚠️ /Users/cadencemusicent/HISE/hi_streaming/timestretch/signalsmith_stretch/dsp/./fft.h:469:38: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] return FFTType::fastSizeBelow(size/2)*2; ^ ▸ Compiling include_hi_snex_62.cpp ▸ Compiling include_hi_snex.mm ▸ Compiling include_hi_scripting_03.cpp ▸ Compiling include_hi_scripting_02.cpp ▸ Compiling include_hi_scripting_01.cpp ▸ Compiling include_hi_rlottie_9.cpp ▸ Compiling include_hi_rlottie_8.cpp Saving session... ...copying shared history... ...saving history...truncating history files... ...completed. [Process completed]
-
@virtuscapeaudio Use the develop branch.
-
@d-healey I used your build_hise_osx.sh script to build develop and was successful. Now upon exporting same project I get this "no global header file was included"
-
@virtuscapeaudio How many copies of the HISE source do you have? Did you clean the build folder before exporting?
-
@d-healey Yes cleaned build directory. Only one copy. I think I solved this last time it happened by reverting to a previous commit from Sep 25, '03. I can do that again but figured maybe we try to sort out Global header issue if not too involved?
-
@virtuscapeaudio I'm not sure what's causing the issue or what the solution is. The develop branch is working for me.
-
@d-healey So using your build script, I built the develop branch, and made a new Rhapsody template, and can export from HISE successfully. That tells me that something must be up with my actual project that's causing the Global Header issue. I'm going to (painfully) rebuild it using this version of HISE. I need to update a few things anyway.
I searched JUCE forum about Global Header File error and few posters were thinking it was a mismatched version of JUCE used to build project vs. JUCE versions to export. I don't know.
Will report back
-
@virtuscapeaudio Any best practices advice for rebuilding?
Cheers
-
@virtuscapeaudio said in sudden export issues: undeclared indentifier in ChockWebView:
Any best practices advice for rebuilding?
I wouldn't, I would try and figure out what's wrong with the project.
You could duplicate the project folder. Then start removing stuff until it builds to try and find the cause of the issue.
-
This post is deleted!