Open acidhorse1972 opened 2 months ago
test_core.cpp Cannot open include file: 'test_rendering.hpp': No such file or directory main.cpp Cannot open include file: 'scwx/qt/main/versions.hpp': No such file or directory
I recently updated a few submodules. Whenever they update, you'll need to git submodule update --init --recursive
. This will likely take care of 3 of the 4 errors.
As for the versions.hpp not being found, I need to make version generation more robust; not sure what causes it, but I've seen this once before. If scwx-qt_generate_versions isn't generating the header file, you can remove versions_cache.json
, usually inside <build-dir>\scwx-qt\
. This will force the versions.hpp file to regenerate next time you build.
F:\supercell-wx>dir /s versions_cache.json Volume in drive F is My Book Volume Serial Number is XXXX-XXX File Not Found
I went to delete the file you mentioned but it isn't there or anywhere. If it wasn't there to begin with then that might be a cause.
There are no json files in the build-debug\scwx-qt\ directory or subdirectories
It is only generated once you build. If it is just an IDE error, you should be able to ignore it. If it is a build error, try building the scwx-qt_generate_versions target manually.
It is only generated once you build. If it is just an IDE error, you should be able to ignore it. If it is a build error, try building the scwx-qt_generate_versions target manually.
Tried building scwx-qt_generate_versions manually and this is what it gives
Is there more detailed info in the build output?
Is there more detailed info in the build output?
Yep I'm doing a clean and build again and I will post that output
Ok this is with scwx-qt.vcxproj loaded into the IDE. It wants to compile the other projects instead of just the one.
Build started at 11:17 PM...
1>------ Build started: Project: ZERO_CHECK, Configuration: Debug x64 ------
1>1>Checking Build System
2>------ Build started: Project: scwx-qt_lrelease, Configuration: Debug x64 ------
3>------ Build started: Project: scwx-qt_generate_versions, Configuration: Debug x64 ------
4>------ Build started: Project: scwx-qt_generate_counties_db, Configuration: Debug x64 ------
5>------ Build started: Project: mbgl-vendor-sqlite, Configuration: Debug x64 ------
6>------ Build started: Project: mbgl-vendor-parsedate, Configuration: Debug x64 ------
7>------ Build started: Project: mbgl-vendor-nunicode, Configuration: Debug x64 ------
8>------ Build started: Project: mbgl-vendor-csscolorparser, Configuration: Debug x64 ------
9>------ Build started: Project: imgui (imgui\imgui), Configuration: Debug x64 ------
2>Generating scwx_en_US.qm
2>Updating 'F:/supercell-wx/build-debug/scwx-qt/scwx_en_US.qm'...
2> Generated 0 translation(s) (0 finished and 0 unfinished)
2> Ignored 100 untranslated source text(s)
2>Building Custom Rule F:/supercell-wx/scwx-qt/CMakeLists.txt
4>Generating res/db/counties.db
5>Building Custom Rule F:/supercell-wx/external/maplibre-native/CMakeLists.txt
3>Generating scwx/qt/main/versions.hpp, scwx/qt/main/versions.hpp-ALWAYS_RUN
4>Traceback (most recent call last):
6>Building Custom Rule F:/supercell-wx/external/maplibre-native/CMakeLists.txt
4> File "F:\supercell-wx\scwx-qt\tools\generate_counties_db.py", line 2, in
I go back to the main solution file supercell-wx.sln and attempt to build the main solution and the output is:
Build started at 12:08 AM...
1>------ Build started: Project: ZERO_CHECK, Configuration: Debug x64 ------
2>------ Skipped Build: Project: update_translations, Configuration: Debug x64 ------
2>Project not selected to build for this solution configuration
3>------ Skipped Build: Project: uninstall, Configuration: Debug x64 ------
3>Project not selected to build for this solution configuration
4>------ Skipped Build: Project: scwx-qt_lupdate, Configuration: Debug x64 ------
4>Project not selected to build for this solution configuration
5>------ Build started: Project: scwx-qt_lrelease, Configuration: Debug x64 ------
6>------ Build started: Project: scwx-qt_generate_versions, Configuration: Debug x64 ------
7>------ Build started: Project: scwx-qt_generate_counties_db, Configuration: Debug x64 ------
8>------ Build started: Project: mbgl-vendor-sqlite, Configuration: Debug x64 ------
9>------ Build started: Project: mbgl-vendor-parsedate, Configuration: Debug x64 ------
10>------ Build started: Project: mbgl-vendor-nunicode, Configuration: Debug x64 ------
11>------ Build started: Project: mbgl-vendor-csscolorparser, Configuration: Debug x64 ------
12>------ Build started: Project: imgui (imgui\imgui), Configuration: Debug x64 ------
6>Generating scwx/qt/main/versions.hpp, scwx/qt/main/versions.hpp-ALWAYS_RUN
7>Generating res/db/counties.db
6>Traceback (most recent call last):
6> File "F:\supercell-wx\scwx-qt\tools\generate_versions.py", line 3, in
File "F:\supercell-wx\scwx-qt\tools\generate_versions.py", line 3, in 6> import git 6>ModuleNotFoundError: No module named 'git'
That's funny because I have python installed with the module gitpython already.
I suspect you have multiple conflicting installations of Python. You could check your path, or ensure you have the tools installed in each of your Python environments.
I suspect you have multiple conflicting installations of Python. You could check your path, or ensure you have the tools installed in each of your Python environments.
I think it's Streamlink that did it because it likes to install it's own stuff. I just didn't think they added it to the path.
Well it's not the python installations that had anything to do with it.
boost/1.84.0: Applying build-requirement: b2/4.10.1 boost/1.84.0: WARN: Build folder is dirty, removing it: C:.conan\696567\1 boost/1.84.0: Building your package in C:.conan\696567\1 boost/1.84.0: Generator txt created conanbuildinfo.txt boost/1.84.0: Calling generate() ERROR: boost/1.84.0: Error in generate() method, line 692 vc.generate() ConanException: VS non-existing installation: Visual Studio 17 CMake Error at external/cmake-conan/conan.cmake:651 (message): Conan install failed='1' Call Stack (most recent call first): CMakeLists.txt:35 (conan_cmake_install)
-- Configuring incomplete, errors occurred!
And still can't get it to compile
what version of CMAKE did you use?
CMake 3.29.2 is used by CI, but as old as 3.21 should be just fine. This looks to be the issue you had awhile back of Conan not finding your Visual Studio installation. The CMake error is later, caused by the Conan install failing.
Nope F:\supercell-wx>notepad3 setup-debug.bat
F:\supercell-wx>setup-debug.bat
F:\supercell-wx>call tools\setup-common.bat
F:\supercell-wx>pip install --upgrade "conan<2.0" Requirement already satisfied: conan<2.0 in c:\program files\python312\lib\site-packages (1.64.0) Requirement already satisfied: requests<3.0.0,>=2.25 in c:\program files\python312\lib\site-packages (from conan<2.0) (2.31.0) Requirement already satisfied: urllib3<1.27,>=1.26.6 in c:\program files\python312\lib\site-packages (from conan<2.0) (1.26.18) Requirement already satisfied: colorama<0.5.0,>=0.3.3 in c:\program files\python312\lib\site-packages (from conan<2.0) (0.4.6) Requirement already satisfied: PyYAML<6.1,>=3.11 in c:\program files\python312\lib\site-packages (from conan<2.0) (6.0.1) Requirement already satisfied: patch-ng<1.18,>=1.17.4 in c:\program files\python312\lib\site-packages (from conan<2.0) (1.17.4) Requirement already satisfied: fasteners>=0.14.1 in c:\program files\python312\lib\site-packages (from conan<2.0) (0.19) Requirement already satisfied: six<=1.16.0,>=1.10.0 in c:\program files\python312\lib\site-packages (from conan<2.0) (1.16.0) Requirement already satisfied: node-semver==0.6.1 in c:\program files\python312\lib\site-packages (from conan<2.0) (0.6.1) Requirement already satisfied: pygments<3.0,>=2.0 in c:\program files\python312\lib\site-packages (from conan<2.0) (2.17.2) Requirement already satisfied: tqdm<5,>=4.28.1 in c:\program files\python312\lib\site-packages (from conan<2.0) (4.66.2) Requirement already satisfied: python-dateutil<3,>=2.7.0 in c:\program files\python312\lib\site-packages (from conan<2.0) (2.9.0.post0) Requirement already satisfied: bottle<0.13,>=0.12.8 in c:\program files\python312\lib\site-packages (from conan<2.0) (0.12.25) Requirement already satisfied: pluginbase>=0.5 in c:\program files\python312\lib\site-packages (from conan<2.0) (1.0.1) Requirement already satisfied: PyJWT<3.0.0,>=2.4.0 in c:\program files\python312\lib\site-packages (from conan<2.0) (2.8.0) Requirement already satisfied: Jinja2<4.0.0,>=3.0 in c:\program files\python312\lib\site-packages (from conan<2.0) (3.1.3) Requirement already satisfied: MarkupSafe>=2.0 in c:\program files\python312\lib\site-packages (from Jinja2<4.0.0,>=3.0->conan<2.0) (2.1.5) Requirement already satisfied: charset-normalizer<4,>=2 in c:\program files\python312\lib\site-packages (from requests<3.0.0,>=2.25->conan<2.0) (3.3.2) Requirement already satisfied: idna<4,>=2.5 in c:\program files\python312\lib\site-packages (from requests<3.0.0,>=2.25->conan<2.0) (3.7) Requirement already satisfied: certifi>=2017.4.17 in c:\program files\python312\lib\site-packages (from requests<3.0.0,>=2.25->conan<2.0) (2024.2.2)
F:\supercell-wx>pip install --upgrade geopandas Requirement already satisfied: geopandas in c:\program files\python312\lib\site-packages (0.14.3) Requirement already satisfied: fiona>=1.8.21 in c:\program files\python312\lib\site-packages (from geopandas) (1.9.6) Requirement already satisfied: packaging in c:\program files\python312\lib\site-packages (from geopandas) (24.0) Requirement already satisfied: pandas>=1.4.0 in c:\program files\python312\lib\site-packages (from geopandas) (2.2.2) Requirement already satisfied: pyproj>=3.3.0 in c:\program files\python312\lib\site-packages (from geopandas) (3.6.1) Requirement already satisfied: shapely>=1.8.0 in c:\program files\python312\lib\site-packages (from geopandas) (2.0.4) Requirement already satisfied: attrs>=19.2.0 in c:\program files\python312\lib\site-packages (from fiona>=1.8.21->geopandas) (23.2.0) Requirement already satisfied: certifi in c:\program files\python312\lib\site-packages (from fiona>=1.8.21->geopandas) (2024.2.2) Requirement already satisfied: click~=8.0 in c:\program files\python312\lib\site-packages (from fiona>=1.8.21->geopandas) (8.1.7) Requirement already satisfied: click-plugins>=1.0 in c:\program files\python312\lib\site-packages (from fiona>=1.8.21->geopandas) (1.1.1) Requirement already satisfied: cligj>=0.5 in c:\program files\python312\lib\site-packages (from fiona>=1.8.21->geopandas) (0.7.2) Requirement already satisfied: six in c:\program files\python312\lib\site-packages (from fiona>=1.8.21->geopandas) (1.16.0) Requirement already satisfied: numpy>=1.26.0 in c:\program files\python312\lib\site-packages (from pandas>=1.4.0->geopandas) (1.26.4) Requirement already satisfied: python-dateutil>=2.8.2 in c:\program files\python312\lib\site-packages (from pandas>=1.4.0->geopandas) (2.9.0.post0) Requirement already satisfied: pytz>=2020.1 in c:\program files\python312\lib\site-packages (from pandas>=1.4.0->geopandas) (2024.1) Requirement already satisfied: tzdata>=2022.7 in c:\program files\python312\lib\site-packages (from pandas>=1.4.0->geopandas) (2024.1) Requirement already satisfied: colorama in c:\program files\python312\lib\site-packages (from click~=8.0->fiona>=1.8.21->geopandas) (0.4.6)
F:\supercell-wx>pip install --upgrade GitPython Requirement already satisfied: GitPython in c:\program files\python312\lib\site-packages (3.1.43) Requirement already satisfied: gitdb<5,>=4.0.1 in c:\program files\python312\lib\site-packages (from GitPython) (4.0.11) Requirement already satisfied: smmap<6,>=3.0.1 in c:\program files\python312\lib\site-packages (from gitdb<5,>=4.0.1->GitPython) (5.0.1)
F:\supercell-wx>conan profile new default --detect ERROR: Profile already exists
F:\supercell-wx>set build_dir=build-debug
F:\supercell-wx>set build_type=Debug
F:\supercell-wx>set qt_version=6.6.2
F:\supercell-wx>mkdir build-debug A subdirectory or file build-debug already exists.
F:\supercell-wx>cmake -B build-debug -S . -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CONFIGURATION_TYPES=Debug -DCMAKE_PREFIX_PATH=F:/Qt/6.6.2/msvc2019_64 -- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.26040. -- The C compiler identification is MSVC 19.39.33321.0 -- The CXX compiler identification is MSVC 19.39.33321.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: F:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.39.33321/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: F:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.39.33321/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: Detected VS runtime: MDd -- Conan: checking conan executable -- Conan: Found program C:/Program Files/Python312/Scripts/conan.exe -- Conan: Version found Conan version 1.64.0 -- Conan executing: C:/Program Files/Python312/Scripts/conan.exe install F:/supercell-wx --remote conancenter --build missing --settings arch=x86_64 --settings build_type=Debug --settings compiler=Visual Studio --settings compiler.version=17 --settings compiler.runtime=MDd --settings compiler.cppstd=17 WARN: Conan 1 is legacy and on a deprecation path WARN: Please upgrade to Conan 2 Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Debug compiler=Visual Studio compiler.cppstd=17 compiler.runtime=MDd compiler.version=17 os=Windows os_build=Windows [options] [build_requires] [env]
WARN: boost/1.84.0: requirement zlib/[>=1.2.11 <2] overridden by your conanfile to zlib/1.3.1 WARN: cpr/1.10.5: requirement libcurl/[>=7.78.0 <9] overridden by your conanfile to libcurl/8.6.0 WARN: libcurl/8.6.0: requirement openssl/[>=1.1 <4] overridden by cpr/1.10.5 to openssl/3.2.1 WARN: libcurl/8.6.0: requirement zlib/[>=1.2.11 <2] overridden by cpr/1.10.5 to zlib/1.3.1 WARN: openssl/3.2.1: requirement zlib/[>=1.2.11 <2] overridden by libcurl/8.6.0 to zlib/1.3.1 WARN: freetype/2.13.2: requirement zlib/[>=1.2.10 <2] overridden by fontconfig/2.15.0 to zlib/1.3.1 WARN: libpng/1.6.43: requirement zlib/[>=1.2.11 <2] overridden by freetype/2.13.2 to zlib/1.3.1 WARN: libxml2/2.12.5: requirement zlib/[>=1.2.11 <2] overridden by your conanfile to zlib/1.3.1 boost/1.84.0: WARN: Package binary is corrupted, removing: 338305355f5a60b466f5c77b8c7c6b9b4a4d184d Version ranges solved Version range '>=1.6 <2' required by 'freetype/2.13.2' resolved to 'libpng/1.6.43' in local cache
conanfile.py: Installing package Requirements abseil/20230802.1 from 'conancenter' - Cache boost/1.84.0 from 'conancenter' - Cache brotli/1.1.0 from 'conancenter' - Cache bzip2/1.0.8 from 'conancenter' - Cache cpr/1.10.5 from 'conancenter' - Cache expat/2.6.0 from 'conancenter' - Cache fmt/10.2.1 from 'conancenter' - Cache fontconfig/2.15.0 from 'conancenter' - Cache freetype/2.13.2 from 'conancenter' - Cache geographiclib/2.3 from 'conancenter' - Cache geos/3.12.0 from 'conancenter' - Cache glew/2.2.0 from 'conancenter' - Cache glm/cci.20230113 from 'conancenter' - Cache glu/system from 'conancenter' - Cache gtest/1.14.0 from 'conancenter' - Cache libcurl/8.6.0 from 'conancenter' - Cache libiconv/1.17 from 'conancenter' - Cache libpng/1.6.43 from 'conancenter' - Cache libxml2/2.12.5 from 'conancenter' - Cache opengl/system from 'conancenter' - Cache openssl/3.2.1 from 'conancenter' - Cache re2/20231101 from 'conancenter' - Cache spdlog/1.13.0 from 'conancenter' - Cache sqlite3/3.45.2 from 'conancenter' - Cache vulkan-headers/1.3.243.0 from 'conancenter' - Cache vulkan-loader/1.3.243.0 from 'conancenter' - Cache zlib/1.3.1 from 'conancenter' - Cache Packages abseil/20230802.1:9309eb230a5457f6d9271b631c0f1d89595fe505 - Cache boost/1.84.0:338305355f5a60b466f5c77b8c7c6b9b4a4d184d - Build brotli/1.1.0:711ad6c34b7444d45d75e7b8e8e880c6bd0d8cc3 - Cache bzip2/1.0.8:d74f69022acf854c1ce6f27efa07ccbb6504e4b1 - Cache cpr/1.10.5:a31eb1f8ad1c8cb85031af58f382f3a3c35f7663 - Build expat/2.6.0:6d25719d9c42b8292d75a616961531c4d685e19a - Cache fmt/10.2.1:ef585413250e74c7fe9bab98367e66c2b705e99d - Cache fontconfig/2.15.0:e5c05fe005e2323b6f0271898e80cfee2b7efde1 - Cache freetype/2.13.2:c4ca976bc1c6492af3efa84fc6f6461f87f0427c - Cache geographiclib/2.3:1ade4490daa3305f61cb9b96c6a95b48b15c9f87 - Cache geos/3.12.0:8a274adaa8b3182a6b46d7a5311772c9a854dd39 - Cache glew/2.2.0:187c86e330f71652b242085ff4304d46863f17ab - Cache glm/cci.20230113:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache glu/system:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache gtest/1.14.0:b468a58d6292da4d81c926dc9acab0002185b263 - Cache libcurl/8.6.0:f08b9c6353ba73145b2b193188414c98ce972786 - Cache libiconv/1.17:bf9ec17af5844bd8d3cc139070000dc26fc5f076 - Cache libpng/1.6.43:d16518e542c3c6c90681c55aae54dd4ee2ca8000 - Cache libxml2/2.12.5:6ce521f53f59fe2d55c7bce12ff65b6f2a05423c - Cache opengl/system:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache openssl/3.2.1:3387c6a8f750585672f94d3142cea543b4b0f45c - Cache re2/20231101:9b734d85da3acdb4280457819ad8eb77dbbf0e91 - Build spdlog/1.13.0:d5e75127d6f43e22c398332819f233a09e38b0fc - Build sqlite3/3.45.2:53a0c927fe06bb08bbc43f2e832285d78e41278e - Cache vulkan-headers/1.3.243.0:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache vulkan-loader/1.3.243.0:2707748c473a017c2e80d0ac52d4ca8022f1e032 - Cache zlib/1.3.1:164640aad040835ac89882393a96d89200694f04 - Cache Build requirements b2/4.10.1 from 'conancenter' - Cache Build requirements packages b2/4.10.1:ca33edce272a279b24f87dc0d4cf5bbdcffbc187 - Cache
Installing (downloading, building) binaries... abseil/20230802.1: Already installed! b2/4.10.1: Already installed! brotli/1.1.0: Already installed! bzip2/1.0.8: Already installed! expat/2.6.0: Already installed! fmt/10.2.1: Already installed! geographiclib/2.3: Already installed! geos/3.12.0: Already installed! glm/cci.20230113: Already installed! gtest/1.14.0: Already installed! libiconv/1.17: Already installed! opengl/system: Already installed! sqlite3/3.45.2: Already installed! vulkan-headers/1.3.243.0: Already installed! zlib/1.3.1: Already installed! boost/1.84.0: Applying build-requirement: b2/4.10.1 boost/1.84.0: WARN: Build folder is dirty, removing it: C:.conan\696567\1 boost/1.84.0: Building your package in C:.conan\696567\1 boost/1.84.0: Generator txt created conanbuildinfo.txt boost/1.84.0: Calling generate() ERROR: boost/1.84.0: Error in generate() method, line 692 vc.generate() ConanException: VS non-existing installation: Visual Studio 17 CMake Error at external/cmake-conan/conan.cmake:651 (message): Conan install failed='1' Call Stack (most recent call first): CMakeLists.txt:35 (conan_cmake_install)
-- Configuring incomplete, errors occurred!
F:\supercell-wx>pause Press any key to continue . . .
what version of Conan does it need?
boost/1.84.0: Applying build-requirement: b2/4.10.1 Downloading conan_sources.tgz boost/1.84.0: Configuring sources in C:.conan\1b7362\1\src boost/1.84.0: boost/1.84.0: Apply patch (conan): Optional flag to specify iconv from either libc of libiconv boost/1.84.0: Apply patch (official): Fix compilation with cppstd=20 on libcxx platforms (e.g. MacOS) boost/1.84.0: Building your package in C:.conan\696567\1 boost/1.84.0: Generator txt created conanbuildinfo.txt boost/1.84.0: Calling generate() ERROR: boost/1.84.0: Error in generate() method, line 692 vc.generate() ConanException: VS non-existing installation: Visual Studio 17 CMake Error at external/cmake-conan/conan.cmake:651 (message): Conan install failed='1' Call Stack (most recent call first): CMakeLists.txt:35 (conan_cmake_install)
-- Configuring incomplete, errors occurred!
I have junctions for the Microsoft Visual Studio directory in the Program Files and Program Files x86 directories on the main drive and that still doesn't resolve it.
Conan 1.x is required. 2.x is not yet supported (#109).
CMake is finding Visual Studio, but not Conan. Conan does not find preview installations of Visual Studio by default. I remember our fix last time was to manually specify the path to Visual Studio. I'm wondering if your Conan profile got clobbered.
Try updating your Conan profile:
conan profile update conf.tools.microsoft.msbuild:installation_path="F:\Program Files\Microsoft Visual Studio\2022\Preview" default
I have junctions for the Microsoft Visual Studio directory in the Program Files and Program Files x86 directories on the main drive and that still doesn't resolve it.
Conan 1.x is required. 2.x is not yet supported (#109).
CMake is finding Visual Studio, but not Conan. Conan does not find preview installations of Visual Studio by default. I remember our fix last time was to manually specify the path to Visual Studio. I'm wondering if your Conan profile got clobbered.
Try updating your Conan profile:
conan profile update conf.tools.microsoft.msbuild:installation_path="F:\Program Files\Microsoft Visual Studio\2022\Preview" default
I think you nailed it. Conan seems to be the problem on everything. It looks for literally anything in the PATH variable that it can use. It even found a GCC installation that was used for some other kind of project that needed a special type of GCC and once it found it, it was trying to use it for some purpose even thought MSVC was the desired environment. Then there was the issue of two pythons installed and I don't understand how those conflicts existed while other projects compiled with no problems.
Spoke too soon.
16>F:\supercell-wx\external\maplibre-native-qt\test\widgets\gl_tester.hpp(7,10): error C1083: Cannot open include file: 'QMapLibreWidgets/GLWidget': No such file or directory 16>(compiling source file 'test_mln_widgets_autogen/mocs_compilation_Debug.cpp') 14>HttpRequestResponse.cpp 16>gl_tester.cpp 16>F:\supercell-wx\external\maplibre-native-qt\test\widgets\gl_tester.hpp(7,10): error C1083: Cannot open include file: 'QMapLibreWidgets/GLWidget': No such file or directory 16>(compiling source file '../../../../../external/maplibre-native-qt/test/widgets/gl_tester.cpp') 16>test_widgets.cpp 16>F:\supercell-wx\external\maplibre-native-qt\test\widgets\gl_tester.hpp(7,10): error C1083: Cannot open include file: 'QMapLibreWidgets/GLWidget': No such file or directory 16>(compiling source file '../../../../../external/maplibre-native-qt/test/widgets/test_widgets.cpp') 16>Generating Code... 14>Bootstrap.cpp 16>Done building project "test_mln_widgets.vcxproj" -- FAILED. 15>test_rendering.cpp 14>ChannelHandler.cpp 14>EventLoopGroup.cpp 15>map_tester.cpp 14>Generating Code... 15>test_core.cpp 15>Generating Code... 14>Compiling... 14>HostResolver.cpp 15>F:\supercell-wx\external\maplibre-native-qt\test\core\test_core.cpp(6,10): error C1083: Cannot open include file: 'test_rendering.hpp': No such file or directory 14>Pkcs11.cpp 15>Done building project "test_mln_core.vcxproj" -- FAILED.
....
20>F:\supercell-wx\scwx-qt\source\scwx\qt\util\tooltip.cpp(7,10): error C1083: Cannot open include file: 'TextFlow.hpp': No such file or directory 20>qrc_generated.cpp 20>qrc_scwx-qt_translations.cpp 20>qrc_scwx-qt.cpp 20>Done building project "scwx-qt.vcxproj" -- FAILED.
22>LINK : fatal error LNK1104: cannot open file 'F:\supercell-wx\build-debug\scwx-qt\scwx-qt.dir\Debug\tooltip.obj' 22>Done building project "supercell-wx.vcxproj" -- FAILED. 21>LINK : fatal error LNK1104: cannot open file 'F:\supercell-wx\build-debug\scwx-qt\scwx-qt.dir\Debug\tooltip.obj' 21>Done building project "wxtest.vcxproj" -- FAILED.
These aren't because it can't find my VC installation.
Looks like you got past the Conan issue and ran into another.
Try the following sequence:
git submodule sync
git submodule update --init --recursive
The first one will make sure you're pointing to the correct submodule URL. If that doesn't work, let me know what the output of those commands are.
Build started at 9:28 PM... 1>------ Skipped Build: Project: update_translations, Configuration: Debug x64 ------ 1>Project not selected to build for this solution configuration 2>------ Skipped Build: Project: uninstall, Configuration: Debug x64 ------ 2>Project not selected to build for this solution configuration 3>------ Skipped Build: Project: scwx-qt_lupdate, Configuration: Debug x64 ------ 3>Project not selected to build for this solution configuration 4>------ Build started: Project: scwx-qt_lrelease, Configuration: Debug x64 ------ 5>------ Build started: Project: scwx-qt_generate_versions, Configuration: Debug x64 ------ 6>------ Build started: Project: scwx-qt_generate_counties_db, Configuration: Debug x64 ------ 7>------ Skipped Build: Project: RUN_TESTS, Configuration: Debug x64 ------ 7>Project not selected to build for this solution configuration 5>Generating scwx/qt/main/versions.hpp, scwx/qt/main/versions.hpp-ALWAYS_RUN 5>Collecting version info 5>Commit String: 1e19f630e3+dirty 5>Copyright Year: 2024 5>Version String: 0.4.3 5>Loading cache 5>No version changes detected 5>F:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): warning MSB8065: Custom build for item "F:\supercell-wx\build-debug\CMakeFiles\7594549027e08896f0bf47add2b8a98e\versions.hpp.rule" succeeded, but specified output "f:\supercell-wx\build-debug\scwx-qt\scwx\qt\main\versions.hpp-always_run" has not been created. This may cause incremental build to work incorrectly. 5>Done building project "scwx-qt_generate_versions.vcxproj". 8>------ Build started: Project: test_mln_core, Configuration: Debug x64 ------ 9>------ Skipped Build: Project: scwx-qt_other_files, Configuration: Debug x64 ------ 9>Project not selected to build for this solution configuration 10>------ Skipped Build: Project: release_translations, Configuration: Debug x64 ------ 10>Project not selected to build for this solution configuration 11>------ Build started: Project: test_mln_widgets, Configuration: Debug x64 ------ 12>------ Build started: Project: scwx-qt, Configuration: Debug x64 ------ 8>Automatic MOC for target test_mln_core 8>test_core.cpp 11>Automatic MOC for target test_mln_widgets 11>mocs_compilation_Debug.cpp 11>gl_tester.cpp 11>test_widgets.cpp 11>Generating Code... 11>F:\supercell-wx\external\maplibre-native-qt\test\widgets\gl_tester.hpp(7,10): error C1083: Cannot open include file: 'QMapLibreWidgets/GLWidget': No such file or directory 11>(compiling source file '../../maplibre-native-qt/test/widgets/test_mln_widgets_autogen/mocs_compilation_Debug.cpp') 11>F:\supercell-wx\external\maplibre-native-qt\test\widgets\gl_tester.hpp(7,10): error C1083: Cannot open include file: 'QMapLibreWidgets/GLWidget': No such file or directory 11>(compiling source file '../../../../external/maplibre-native-qt/test/widgets/gl_tester.cpp') 11>F:\supercell-wx\external\maplibre-native-qt\test\widgets\gl_tester.hpp(7,10): error C1083: Cannot open include file: 'QMapLibreWidgets/GLWidget': No such file or directory 11>(compiling source file '../../../../external/maplibre-native-qt/test/widgets/test_widgets.cpp') 12>Automatic MOC and UIC for target scwx-qt 11>Done building project "test_mln_widgets.vcxproj" -- FAILED. 8>F:\supercell-wx\external\maplibre-native-qt\test\core\test_core.cpp(6,10): error C1083: Cannot open include file: 'test_rendering.hpp': No such file or directory 8>Done building project "test_mln_core.vcxproj" -- FAILED. 12>tooltip.cpp 12>F:\supercell-wx\scwx-qt\source\scwx\qt\util\tooltip.cpp(7,10): error C1083: Cannot open include file: 'TextFlow.hpp': No such file or directory 12>Done building project "scwx-qt.vcxproj" -- FAILED. 13>------ Build started: Project: wxtest, Configuration: Debug x64 ------ 14>------ Build started: Project: supercell-wx, Configuration: Debug x64 ------ 14>Automatic MOC and UIC for target supercell-wx 14>LINK : fatal error LNK1104: cannot open file 'F:\supercell-wx\build-debug\scwx-qt\scwx-qt.dir\Debug\tooltip.obj' 13>LINK : fatal error LNK1104: cannot open file 'F:\supercell-wx\build-debug\scwx-qt\scwx-qt.dir\Debug\tooltip.obj' 13>Done building project "wxtest.vcxproj" -- FAILED. 14>Done building project "supercell-wx.vcxproj" -- FAILED. 15>------ Skipped Build: Project: PACKAGE, Configuration: Debug x64 ------ 15>Project not selected to build for this solution configuration 16>------ Skipped Build: Project: INSTALL, Configuration: Debug x64 ------ 16>Project not selected to build for this solution configuration ========== Build: 3 succeeded, 5 failed, 27 up-to-date, 8 skipped ========== ========== Build completed at 9:37 PM and took 09:14.845 minutes ==========
F:\supercell-wx>git submodule sync Synchronizing submodule url for 'data' Synchronizing submodule url for 'external/aws-sdk-cpp' Synchronizing submodule url for 'external/cmake-conan' Synchronizing submodule url for 'external/date' Synchronizing submodule url for 'external/hsluv-c' Synchronizing submodule url for 'external/imgui' Synchronizing submodule url for 'external/imgui-backend-qt' Synchronizing submodule url for 'external/maplibre-native' Synchronizing submodule url for 'external/maplibre-native-qt' Synchronizing submodule url for 'external/stb' Synchronizing submodule url for 'external/textflowcpp' Synchronizing submodule url for 'external/units' Synchronizing submodule url for 'test/data'
F:\supercell-wx>git submodule update --init --recursive
F:\supercell-wx>
should I run setup-debug.bat after those git commands?
TextFlow.hpp isn't being generated scwx-textflowcpp doesn't seem to be anywhere in any subdirectories
The test_mln* projects shouldn't need to be built. If you build supercell-wx and not ALL_BUILD, it should skip those.
setup-debug.bat should not be needed at this stage.
TextFlow.hpp should be coming from external/textflowcpp. It is not generated.
dpaul@DESKTOP-xxxxxxx MINGW64 ~/git/supercell-wx/external/textflowcpp (master)
$ git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
dpaul@DESKTOP-xxxxxxx MINGW64 ~/git/supercell-wx/external/textflowcpp (master)
$ ls -l
total 415
-rw-r--r-- 1 dpaul 197609 385169 Aug 30 2023 catch.hpp
-rw-r--r-- 1 dpaul 197609 196 Aug 30 2023 CMakeLists.txt
-rw-r--r-- 1 dpaul 197609 1338 Aug 30 2023 LICENSE.txt
-rw-r--r-- 1 dpaul 197609 47 Aug 30 2023 main.cpp
-rw-r--r-- 1 dpaul 197609 1145 Aug 30 2023 README.md
-rw-r--r-- 1 dpaul 197609 150 Aug 30 2023 Surrogate.cpp
-rw-r--r-- 1 dpaul 197609 11184 Aug 30 2023 TextFlow.hpp
-rw-r--r-- 1 dpaul 197609 12027 Aug 30 2023 TextFlow_Tests.cpp
In Solution Explorer, right click scwx-qt, and go to Properties. Under Configuration Properties > C/C++ > General, expand Additional Include Directories. You should see ...\supercell-wx\external\textflowcpp. This should allow TextFlow.hpp to be resolved.
If you don't see textflowcpp, have you modified anything?
F:\supercell-wx\external\textflowcpp>dir Volume in drive F is My Book Volume Serial Number is CA0A-BC13
Directory of F:\supercell-wx\external\textflowcpp
03/29/2024 05:43 AM
F:\supercell-wx\external\textflowcpp>
setup-debug.bat -- once ran -- doesn't call anything to start doing anything for textflowcpp
Is done by Conan?
The empty directory is definitely a problem. We're getting closer.
setup-debug.bat installs conan dependencies and uses CMake to generate your Visual Studio solution. It does not download any git submodules - which is what's missing in your case. At this point, we aren't looking at Conan as the source of errors.
Have you made any changes, or does git status
in the supercell-wx directory show any changes? What is in the .gitmodules file in the root of your repository?
dpaul@DESKTOP-xxxxxxx MINGW64 ~/git/supercell-wx (feature/units)
$ cat .gitmodules
[submodule "external/cmake-conan"]
path = external/cmake-conan
url = https://github.com/conan-io/cmake-conan.git
[submodule "test/data"]
path = test/data
url = https://github.com/dpaulat/supercell-wx-test-data
[submodule "external/hsluv-c"]
path = external/hsluv-c
url = https://github.com/hsluv/hsluv-c.git
[submodule "external/stb"]
path = external/stb
url = https://github.com/nothings/stb.git
[submodule "data"]
path = data
url = https://github.com/dpaulat/supercell-wx-data
[submodule "external/imgui"]
path = external/imgui
url = https://github.com/ocornut/imgui.git
[submodule "external/imgui-backend-qt"]
path = external/imgui-backend-qt
url = https://github.com/dpaulat/imgui-backend-qt
[submodule "external/aws-sdk-cpp"]
path = external/aws-sdk-cpp
url = https://github.com/aws/aws-sdk-cpp.git
[submodule "external/date"]
path = external/date
url = https://github.com/HowardHinnant/date.git
[submodule "external/units"]
path = external/units
url = https://github.com/nholthaus/units.git
[submodule "external/textflowcpp"]
path = external/textflowcpp
url = https://github.com/catchorg/textflowcpp.git
[submodule "external/maplibre-native-qt"]
path = external/maplibre-native-qt
url = https://github.com/dpaulat/maplibre-native-qt.git
[submodule "external/maplibre-native"]
path = external/maplibre-native
url = https://github.com/dpaulat/maplibre-gl-native.git
No I haven't made any changes. I'm running "git status" right now
.gitmodules
[submodule "external/cmake-conan"] path = external/cmake-conan url = https://github.com/conan-io/cmake-conan.git [submodule "test/data"] path = test/data url = https://github.com/dpaulat/supercell-wx-test-data [submodule "external/hsluv-c"] path = external/hsluv-c url = https://github.com/hsluv/hsluv-c.git [submodule "external/stb"] path = external/stb url = https://github.com/nothings/stb.git [submodule "data"] path = data url = https://github.com/dpaulat/supercell-wx-data [submodule "external/imgui"] path = external/imgui url = https://github.com/ocornut/imgui.git [submodule "external/imgui-backend-qt"] path = external/imgui-backend-qt url = https://github.com/dpaulat/imgui-backend-qt [submodule "external/aws-sdk-cpp"] path = external/aws-sdk-cpp url = https://github.com/aws/aws-sdk-cpp.git [submodule "external/date"] path = external/date url = https://github.com/HowardHinnant/date.git [submodule "external/units"] path = external/units url = https://github.com/nholthaus/units.git [submodule "external/textflowcpp"] path = external/textflowcpp url = https://github.com/catchorg/textflowcpp.git [submodule "external/maplibre-native-qt"] path = external/maplibre-native-qt url = https://github.com/dpaulat/maplibre-native-qt.git [submodule "external/maplibre-native"] path = external/maplibre-native url = https://github.com/dpaulat/maplibre-gl-native.git
What about git submodule
?
dpaul@DESKTOP-xxxxxxx MINGW64 ~/git/supercell-wx (feature/units)
$ git submodule
1d93f4106761cabbe61e1265bb1d2b8501600177 data (heads/main)
9629e731155d73abaa8cb4b916d3eb3b5f7e1271 external/aws-sdk-cpp (1.6.0-2313-g9629e73115)
df0f64a0920eab35033b17cc1104aa8b37af204f external/cmake-conan (0.18.1)
cc4685a21e4a4fdae707ad1233c61bbaff241f93 external/date (v3.0.1-35-gcc4685a)
59539e04a6fa648935cbe57c2104041f23136c4a external/hsluv-c (1.0.0)
d6cb3c923d28dcebb2d8d9605ccc7229ccef19eb external/imgui (v1.62-3271-gd6cb3c923)
0fe974ebd037844c9f23d6325dbcc128e9973749 external/imgui-backend-qt (heads/main)
6932d9b49cf01ac75b79aff9f9a9f0f9ce97a9ae external/maplibre-native (supercell-wx-v0.4.2)
fe734916414ce761e053dafaeecafeb19d51509c external/maplibre-native-qt (supercell-wx-v0.4.2)
beebb24b945efdea3b9bba23affb8eb3ba8982e7 external/stb (heads/master)
12010ddc8d15538ceea20622d22977e7c5a25da5 external/textflowcpp (heads/master)
da6dd9176e8515323c75030d5e51ee19cf6c9afd external/units (v1.0.0-506-gda6dd91)
03b6188cdf1b85f65bae0de822194bc6fab9bd14 test/data (heads/master)
Another thing to try:
git submodule update --init --recursive --force
: This will force each submodule to re-check itself out, if the git index somehow got hosed.
I'll be able to help out some more in a bit. What we need to figure out is why the git submodule isn't populating.
Another thing to try:
git submodule update --init --recursive --force
: This will force each submodule to re-check itself out, if the git index somehow got hosed.I'll be able to help out some more in a bit. What we need to figure out is why the git submodule isn't populating.
Instead I downloaded the TextFlowCpp code from their git account and unzipped it into the textflowcpp directory. However this got things going further only to have issues with Qt6 complaining about not finding the dlls it needed but once they were all supplied it bitched about some sort of link error or something. So it's got unresolved issues still.
I does pop up the console window while everything is happening although.
I forgot to add that it pops up that console window because it did build the supercell-wx.exe executable successfully but it won't fully run because of some issue it's having even when all the Qt6 dlls are present
Add the Qt bin directory to your PATH variable, and you should be good to go.
Add the Qt bin directory to your PATH variable, and you should be good to go.
Nope! qt.qpa.plugin: Could not find the Qt platform plugin "windows" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Tried it with 6.6.1 too and still no cigar
'supercell-wx.exe' (Win32): Loaded 'F:\supercell-wx\build-debug\bin\supercell-wx.exe'. Symbols loaded. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\ntdll.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\kernel32.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\KernelBase.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\bcrypt.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\crypt32.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\ucrtbase.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\shlwapi.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\msvcrt.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\advapi32.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\sechost.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\rpcrt4.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\ws2_32.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\imm32.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\win32u.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\user32.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\gdi32.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\gdi32full.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\msvcp_win.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\wininet.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\winhttp.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\secur32.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\ncrypt.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\userenv.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\version.dll'. 'supercell-wx.exe' (Win32): Loaded 'F:\supercell-wx\build-debug\bin\libssl-3-x64.dll'. 'supercell-wx.exe' (Win32): Loaded 'F:\supercell-wx\build-debug\bin\libcrypto-3-x64.dll'. Symbols loaded. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\wsock32.dll'. 'supercell-wx.exe' (Win32): Loaded 'F:\supercell-wx\build-debug\bin\iconv-2.dll'. Module was built without symbols. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\dbghelp.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\combase.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\oleaut32.dll'. 'supercell-wx.exe' (Win32): Loaded 'F:\supercell-wx\build-debug\bin\Qt6OpenGLWidgetsd.dll'. 'supercell-wx.exe' (Win32): Loaded 'F:\supercell-wx\build-debug\bin\Qt6Widgetsd.dll'. 'supercell-wx.exe' (Win32): Loaded 'F:\supercell-wx\build-debug\bin\Qt6OpenGLd.dll'. 'supercell-wx.exe' (Win32): Loaded 'F:\supercell-wx\build-debug\bin\Qt6Multimediad.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\ole32.dll'. 'supercell-wx.exe' (Win32): Loaded 'F:\supercell-wx\build-debug\bin\Qt6Positioningd.dll'. 'supercell-wx.exe' (Win32): Loaded 'F:\supercell-wx\build-debug\bin\Qt6Svgd.dll'. 'supercell-wx.exe' (Win32): Loaded 'F:\supercell-wx\build-debug\bin\Qt6Guid.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\shell32.dll'. 'supercell-wx.exe' (Win32): Loaded 'F:\supercell-wx\build-debug\bin\Qt6Cored.dll'. 'supercell-wx.exe' (Win32): Loaded 'F:\supercell-wx\build-debug\bin\QMapLibred.dll'. Symbols loaded. 'supercell-wx.exe' (Win32): Loaded 'F:\supercell-wx\build-debug\bin\geos.dll'. Symbols loaded. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\glu32.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\msvcp140d.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\msvcp140d_atomic_wait.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\vcruntime140d.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\vcruntime140_1d.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\ucrtbased.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\dwmapi.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\uxtheme.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\msvcp140_1d.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\winmm.dll'. 'supercell-wx.exe' (Win32): Loaded 'F:\supercell-wx\build-debug\bin\Qt6Networkd.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\d3d11.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\dxgi.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\D3D12.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\DWrite.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\msvcp140_2d.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\mpr.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\authz.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\netapi32.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\opengl32.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\dnsapi.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\IPHLPAPI.DLL'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\sspicli.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\cryptbase.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\DXCore.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\srvcli.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\netutils.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\ntasn1.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\bcryptprimitives.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\nsi.dll'. The thread 18744 has exited with code 0 (0x0). 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\windows.storage.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\SHCore.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\profapi.dll'. Debug Error!
Program: F:\supercell-wx\build-debug\bin\Qt6Cored.dll Module: 6.6.2 File: C:\Users\qt\work\qt\qtbase\src\gui\kernel\qguiapplication.cpp Line: 1284
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
(Press Retry to debug the application) 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\kernel.appcore.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\TextShaping.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\msctf.dll'. clientcore\windows\advcore\ctf\uim\tim.cpp(809)\MSCTF.dll!00007FFDAE48F822: (caller: 00007FFDAE4A2991) LogHr(1) tid(6974) 8007029C An assertion failure has occurred. clientcore\windows\advcore\ctf\uim\tim.cpp(809)\MSCTF.dll!00007FFDAE48F822: (caller: 00007FFDAE4A2991) LogHr(2) tid(6974) 8007029C An assertion failure has occurred. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\TextInputFramework.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\oleacc.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\clbcatq.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\ApplicationTargetedFeatureDatabase.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\twinapi.appcore.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\WinTypes.dll'. clientcore\windows\advcore\ctf\shellhandwriting\delegation\shellhandwritingdelegation.cpp(353)\MSCTF.dll!00007FFDAE57C0B8: (caller: 00007FFDAE57DCE0) LogHr(3) tid(6974) 8000FFFF Catastrophic failure The thread 'ShellHandwriting Delegate Thread' (26976) has exited with code 0 (0x0). 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\CoreMessaging.dll'. 'supercell-wx.exe' (Win32): Loaded 'C:\WINDOWS\System32\CoreUIComponents.dll'. 'supercell-wx.exe' (Win32): Unloaded 'C:\WINDOWS\System32\ApplicationTargetedFeatureDatabase.dll' 'supercell-wx.exe' (Win32): Unloaded 'C:\WINDOWS\System32\twinapi.appcore.dll' The thread 19188 has exited with code 3 (0x3). The thread 30536 has exited with code 3 (0x3). The thread 26996 has exited with code 3 (0x3). The program '[5168] supercell-wx.exe' has exited with code 3 (0x3).
The application is starting, but the program is failing when Qt6Cored.dll is attempting to load plugins. I need more time to figure out why this is happening, but you can try the following quick fix. Create a qt.conf
file next to supercell-wx.exe, with the following contents, replacing my Qt path with yours:
[Paths]
Prefix = C:\Qt\6.6.2\msvc2019_64
The Qt DLL is expecting a "plugins" folder at that location.
The application is starting, but the program is failing when Qt6Cored.dll is attempting to load plugins. I need more time to figure out why this is happening, but you can try the following quick fix. Create a
qt.conf
file next to supercell-wx.exe, with the following contents, replacing my Qt path with yours:[Paths] Prefix = C:\Qt\6.6.2\msvc2019_64
The Qt DLL is expecting a "plugins" folder at that location.
Didn't make a change in the results. The same error dialog pops up stating the same thing.
I just found out that the Qt installation didn't set the environment variables so I entered them by hand and ran setup-debug.bat once again. Then I ran supercell-wx.exe on the commandline and it loaded up. The issue is environment variables and things not being found. QT_QPA_PLATFORM=windows QT_PLUGIN_PATH=F:\Qt\6.6.2\msvc2019_64\plugins\ QT_QPA_PLATFORM_PLUGIN_PATH=F:\Qt\6.6.2\msvc2019_64\plugins\platforms\ might be the culprit
Excellent. The Qt installation doesn't typically set those environment variables, and they shouldn't typically be required, but I'm glad it fixed your issue.
Excellent. The Qt installation doesn't typically set those environment variables, and they shouldn't typically be required, but I'm glad it fixed your issue.
I've tried warnings.cod.edu and no warnings are showing up still. Is their warning files different than Allison House's? Also another thing is that I want to set this to have the default four panels to have
static const std::array<std::string, kCount> kDefaultRadarProduct { "N0B", "N0G", "RHO", "EET"};
But this only will do L3 products per how it is coded apparently but my manual selection is "N0B", "N0G", "RHO", "EET" and even if I set it to how I want it, it will still default to N0B, N0G, N0C, ... How or where can I find that area that handles the current 4 panel setup?
F:\supercell-wx\external\maplibre-native-qt\test\widgets\ <--- gl_tester.hpp CAN NOT FIND: F:\supercell-wx\build-debug\external\maplibre-native-qt\src\widgets\include\QMapLibreWidgets\ <--- GLWidget