Skip to content
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

Build dependencies not found #191

Open
acidhorse1972 opened this issue Apr 22, 2024 · 70 comments
Open

Build dependencies not found #191

acidhorse1972 opened this issue Apr 22, 2024 · 70 comments
Labels
bug Something isn't working

Comments

@acidhorse1972
Copy link

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

@acidhorse1972 acidhorse1972 added the bug Something isn't working label Apr 22, 2024
@acidhorse1972
Copy link
Author

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

@dpaulat
Copy link
Owner

dpaulat commented Apr 22, 2024

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.

@acidhorse1972
Copy link
Author

acidhorse1972 commented Apr 23, 2024

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.

@acidhorse1972
Copy link
Author

There are no json files in the build-debug\scwx-qt\ directory or subdirectories

@dpaulat
Copy link
Owner

dpaulat commented Apr 23, 2024

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.

@acidhorse1972
Copy link
Author

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
error-scwx

@dpaulat
Copy link
Owner

dpaulat commented Apr 25, 2024

Is there more detailed info in the build output?

@acidhorse1972
Copy link
Author

Is there more detailed info in the build output?

Yep I'm doing a clean and build again and I will post that output

@acidhorse1972
Copy link
Author

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
4> import geopandas as gpd
4>ModuleNotFoundError: No module named 'geopandas'
4>F:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: Custom build for 'F:\supercell-wx\build-debug\CMakeFiles\8ecfaf26c28f79a81939bfa04d38aa33\counties.db.rule;F:\supercell-wx\build-debug\CMakeFiles\335ec5f40a7a201ebbb5c455279a5a97\scwx-qt_generate_counties_db.rule;F:\supercell-wx\scwx-qt\CMakeLists.txt' exited with code 1.
3>Traceback (most recent call last):
3> File "F:\supercell-wx\scwx-qt\tools\generate_versions.py", line 3, in
3> import git
3>ModuleNotFoundError: No module named 'git'
4>Done building project "scwx-qt_generate_counties_db.vcxproj" -- FAILED.
10>------ Build started: Project: hsluv-c, Configuration: Debug x64 ------
3>F:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: Custom build for 'F:\supercell-wx\build-debug\CMakeFiles\7594549027e08896f0bf47add2b8a98e\versions.hpp.rule;F:\supercell-wx\build-debug\CMakeFiles\335ec5f40a7a201ebbb5c455279a5a97\scwx-qt_generate_versions.rule;F:\supercell-wx\scwx-qt\CMakeLists.txt' exited with code 1.
3>Done building project "scwx-qt_generate_versions.vcxproj" -- FAILED.
11>------ Build started: Project: aws-c-common, Configuration: Debug x64 ------
7>Building Custom Rule F:/supercell-wx/external/maplibre-native/CMakeLists.txt
8>Building Custom Rule F:/supercell-wx/external/maplibre-native/CMakeLists.txt
10>Building Custom Rule F:/supercell-wx/external/hsluv-c/src/CMakeLists.txt
11>Building Custom Rule F:/supercell-wx/external/aws-sdk-cpp/crt/aws-crt-cpp/crt/aws-c-common/CMakeLists.txt
9>Building Custom Rule F:/supercell-wx/external/CMakeLists.txt
5>sqlite3.c
6>parsedate.cpp
7>ducet.c
8>csscolorparser.cpp
10>hsluv.c
9>imgui.cpp
11>allocator.c
11>allocator_sba.c
11>array_list.c
11>assert.c
11>byte_buf.c
11>cache.c
11>codegen.c
11>command_line_parser.c
9>imgui_demo.cpp
7>strcoll.c
7>strings.c
7>tolower.c
9>imgui_draw.cpp
7>tounaccent.c
7>toupper.c
7>utf8.c
7>Generating Code...
9>imgui_tables.cpp
9>imgui_widgets.cpp
9>imgui_impl_opengl3.cpp
9>imgui_freetype.cpp
11>common.c
11>date_time.c
11>encoding.c
11>error.c
11>cJSON.c
11>fifo_cache.c
11>hash_table.c
11>json.c
11>lifo_cache.c
11>linked_hash_table.c
11>log_channel.c
9>imgui_impl_qt.cpp
11>log_formatter.c
11>log_writer.c
11>logging.c
11>lru_cache.c
11>math.c
11>memtrace.c
11>priority_queue.c
11>process_common.c
11>promise.c
11>ref_count.c
11>ring_buffer.c
11>statistics.c
11>string.c
11>task_scheduler.c
11>thread_scheduler.c
11>thread_shared.c
11>uri.c
11>uuid.c
11>clock.c
11>cross_process_lock.c
11>environment.c
11>mutex.c
11>process.c
11>rw_lock.c
11>system_resource_utils.c
11>thread.c
11>time.c
11>xml_parser.c
9>Generating Code...
10>hsluv-c.vcxproj -> F:\supercell-wx\build-debug\lib\hsluv-c.lib
7>mbgl-vendor-nunicode.vcxproj -> F:\supercell-wx\build-debug\external\maplibre-native-qt\src\core\MapLibreCore\mbgl-vendor-nunicode.dir\Debug\mbgl-vendor-nunicode.lib
6>mbgl-vendor-parsedate.vcxproj -> F:\supercell-wx\build-debug\external\maplibre-native-qt\src\core\MapLibreCore\mbgl-vendor-parsedate.dir\Debug\mbgl-vendor-parsedate.lib
5>mbgl-vendor-sqlite.vcxproj -> F:\supercell-wx\build-debug\external\maplibre-native-qt\src\core\MapLibreCore\mbgl-vendor-sqlite.dir\Debug\mbgl-vendor-sqlite.lib
8>mbgl-vendor-csscolorparser.vcxproj -> F:\supercell-wx\build-debug\external\maplibre-native-qt\src\core\MapLibreCore\mbgl-vendor-csscolorparser.dir\Debug\mbgl-vendor-csscolorparser.lib
12>------ Build started: Project: mbgl-core, Configuration: Debug x64 ------
12>Automatic MOC for target mbgl-core
11>cpuid.c
9>imgui.vcxproj -> F:\supercell-wx\build-debug\lib\imgui.lib
11>cpuid.c
11>condition_variable.c
11>device_random.c
11>file.c
11>system_info.c
11>system_info.c
11>condition_variable.c
12>Building Custom Rule F:/supercell-wx/external/maplibre-native/CMakeLists.txt
11>device_random.c
12>mocs_compilation_Debug.cpp
11>file.c
12>mailbox.cpp
11>system_info.c
12>annotation_manager.cpp
11>encoding_avx2.c
11>aws-c-common.vcxproj -> F:\supercell-wx\build-debug\lib\aws-c-common.lib
13>------ Build started: Project: aws-checksums, Configuration: Debug x64 ------
14>------ Build started: Project: aws-c-sdkutils, Configuration: Debug x64 ------
15>------ Build started: Project: aws-c-compression, Configuration: Debug x64 ------
16>------ Build started: Project: aws-c-cal, Configuration: Debug x64 ------
14>Building Custom Rule F:/supercell-wx/external/aws-sdk-cpp/crt/aws-crt-cpp/crt/aws-c-sdkutils/CMakeLists.txt
13>Building Custom Rule F:/supercell-wx/external/aws-sdk-cpp/crt/aws-crt-cpp/crt/aws-checksums/CMakeLists.txt
16>Building Custom Rule F:/supercell-wx/external/aws-sdk-cpp/crt/aws-crt-cpp/crt/aws-c-cal/CMakeLists.txt
15>Building Custom Rule F:/supercell-wx/external/aws-sdk-cpp/crt/aws-crt-cpp/crt/aws-c-compression/CMakeLists.txt
14>aws_profile.c
14>endpoints_rule_engine.c
14>endpoints_ruleset.c
14>endpoints_standard_lib.c
14>endpoints_types_impl.c
14>endpoints_util.c
14>partitions.c
14>resource_name.c
16>cal.c
16>der.c
13>crc.c
15>compression.c
16>ecc.c
16>hash.c
13>crc_sw.c
15>huffman.c
16>hmac.c
16>rsa.c
14>sdkutils.c
15>huffman_testing.c
16>symmetric_cipher.c
16>bcrypt_aes.c
13>visualc_crc32c_sse42.c
16>bcrypt_ecc.c
16>bcrypt_hash.c
16>bcrypt_hmac.c
16>bcrypt_platform_init.c
16>bcrypt_rsa.c
12>F:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.39.33321\include\stdfloat(12): warning STL4038: The contents of are available only with C++23 or later.
13>aws-checksums.vcxproj -> F:\supercell-wx\build-debug\lib\aws-checksums.lib
15>aws-c-compression.vcxproj -> F:\supercell-wx\build-debug\lib\aws-c-compression.lib
14>aws-c-sdkutils.vcxproj -> F:\supercell-wx\build-debug\lib\aws-c-sdkutils.lib
16>aws-c-cal.vcxproj -> F:\supercell-wx\build-debug\lib\aws-c-cal.lib
17>------ Build started: Project: aws-c-io, Configuration: Debug x64 ------
17>Building Custom Rule F:/supercell-wx/external/aws-sdk-cpp/crt/aws-crt-cpp/crt/aws-c-io/CMakeLists.txt
17>alpn_handler.c
17>async_stream.c
17>channel.c
17>channel_bootstrap.c
17>event_loop.c
17>exponential_backoff_retry_strategy.c
17>future.c
17>io.c
17>message_pool.c
17>pem.c
17>pkcs11_lib.c
17>pkcs11_tls_op_handler.c
17>retry_strategy.c
17>socket_channel_handler.c
17>standard_retry_strategy.c
17>statistics.c
17>stream.c
17>tls_channel_handler.c
17>tls_channel_handler_shared.c
17>tracing.c
17>iocp_event_loop.c
17>pipe.c
17>socket.c
17>secure_channel_tls_handler.c
17>shared_library.c
17>windows_pki_utils.c
17>winsock_init.c
17>host_resolver.c
17>host_resolver.c
17>aws-c-io.vcxproj -> F:\supercell-wx\build-debug\lib\aws-c-io.lib
18>------ Build started: Project: aws-c-http, Configuration: Debug x64 ------
19>------ Build started: Project: aws-c-event-stream, Configuration: Debug x64 ------
19>Building Custom Rule F:/supercell-wx/external/aws-sdk-cpp/crt/aws-crt-cpp/crt/aws-c-event-stream/CMakeLists.txt
18>Building Custom Rule F:/supercell-wx/external/aws-sdk-cpp/crt/aws-crt-cpp/crt/aws-c-http/CMakeLists.txt
19>event_stream.c
19>event_stream_channel_handler.c
19>event_stream_rpc.c
19>event_stream_rpc_client.c
19>event_stream_rpc_server.c
18>connection.c
18>connection_manager.c
18>connection_monitor.c
18>h1_connection.c
18>h1_decoder.c
18>h1_encoder.c
18>h1_stream.c
18>h2_connection.c
18>h2_decoder.c
18>h2_frames.c
18>h2_stream.c
18>hpack.c
18>hpack_decoder.c
18>hpack_encoder.c
18>hpack_huffman_static.c
18>http.c
18>http2_stream_manager.c
18>proxy_connection.c
18>proxy_strategy.c
18>random_access_set.c
18>request_response.c
18>statistics.c
18>strutil.c
18>websocket.c
18>websocket_bootstrap.c
18>websocket_decoder.c
18>websocket_encoder.c
19>aws-c-event-stream.vcxproj -> F:\supercell-wx\build-debug\lib\aws-c-event-stream.lib
18>aws-c-http.vcxproj -> F:\supercell-wx\build-debug\lib\aws-c-http.lib
20>------ Build started: Project: aws-c-mqtt, Configuration: Debug x64 ------
21>------ Build started: Project: aws-c-auth, Configuration: Debug x64 ------
21>Building Custom Rule F:/supercell-wx/external/aws-sdk-cpp/crt/aws-crt-cpp/crt/aws-c-auth/CMakeLists.txt
20>Building Custom Rule F:/supercell-wx/external/aws-sdk-cpp/crt/aws-crt-cpp/crt/aws-c-mqtt/CMakeLists.txt
20>client.c
20>client_channel_handler.c
20>client_impl_shared.c
12>annotation_source.cpp
21>auth.c
21>aws_imds_client.c
21>aws_profile.c
21>aws_signing.c
20>fixed_header.c
20>mqtt.c
21>credentials.c
21>credentials_provider_anonymous.c
20>mqtt311_decoder.c
21>credentials_provider_cached.c
20>mqtt_subscription_set.c
20>packets.c
21>credentials_provider_chain.c
20>shared_constants.c
20>topic_tree.c
20>mqtt5_callbacks.c
20>mqtt5_client.c
20>mqtt5_decoder.c
21>credentials_provider_cognito.c
21>credentials_provider_default_chain.c
20>mqtt5_encoder.c
21>credentials_provider_delegate.c
21>credentials_provider_ecs.c
20>mqtt5_listener.c
21>credentials_provider_environment.c
21>credentials_provider_imds.c
20>mqtt5_options_storage.c
20>mqtt5_to_mqtt3_adapter.c
21>credentials_provider_process.c
21>credentials_provider_profile.c
20>mqtt5_topic_alias.c
20>mqtt5_types.c
21>credentials_provider_sso.c
21>credentials_provider_static.c
21>credentials_provider_sts.c
21>credentials_provider_sts_web_identity.c
20>mqtt5_utils.c
20>rate_limiters.c
21>credentials_provider_x509.c
21>credentials_utils.c
21>key_derivation.c
21>signable.c
21>signable_chunk.c
21>signable_http_request.c
21>signable_trailer.c
21>signing.c
21>signing_config.c
21>signing_result.c
21>sigv4_http_request.c
21>sso_token_utils.c
21>token_provider_sso_profile.c
21>token_provider_sso_session.c
12>F:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.39.33321\include\stdfloat(12): warning STL4038: The contents of are available only with C++23 or later.
20>aws-c-mqtt.vcxproj -> F:\supercell-wx\build-debug\lib\aws-c-mqtt.lib
21>aws-c-auth.vcxproj -> F:\supercell-wx\build-debug\lib\aws-c-auth.lib
22>------ Build started: Project: aws-c-s3, Configuration: Debug x64 ------
22>Building Custom Rule F:/supercell-wx/external/aws-sdk-cpp/crt/aws-crt-cpp/crt/aws-c-s3/CMakeLists.txt
22>s3.c
22>s3_auto_ranged_get.c
22>s3_auto_ranged_put.c
22>s3_buffer_pool.c
22>s3_checksum_stream.c
22>s3_checksums.c
22>s3_chunk_stream.c
22>s3_client.c
22>s3_copy_object.c
22>s3_default_meta_request.c
22>s3_endpoint.c
22>s3_list_objects.c
22>s3_list_parts.c
22>s3_meta_request.c
22>s3_paginator.c
22>s3_parallel_input_stream.c
22>s3_platform_info.c
22>s3_request.c
22>s3_request_messages.c
22>s3_util.c
22>s3express_credentials_provider.c
12>annotation_tile.cpp
22>aws-c-s3.vcxproj -> F:\supercell-wx\build-debug\lib\aws-c-s3.lib
23>------ Build started: Project: aws-crt-cpp, Configuration: Debug x64 ------
12>F:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.39.33321\include\stdfloat(12): warning STL4038: The contents of are available only with C++23 or later.
23>Building Custom Rule F:/supercell-wx/external/aws-sdk-cpp/crt/aws-crt-cpp/CMakeLists.txt
23>Allocator.cpp
23>Api.cpp
23>DateTime.cpp
23>ImdsClient.cpp
23>JsonObject.cpp
23>StringUtils.cpp
23>Types.cpp
12>fill_annotation_impl.cpp
23>UUID.cpp
23>Credentials.cpp
23>Sigv4Signing.cpp
12>F:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.39.33321\include\stdfloat(12): warning STL4038: The contents of are available only with C++23 or later.
23>HMAC.cpp
23>Hash.cpp
23>RuleEngine.cpp
23>HttpConnection.cpp
23>HttpConnectionManager.cpp
23>HttpProxyStrategy.cpp
12>line_annotation_impl.cpp
23>HttpRequestResponse.cpp
23>Bootstrap.cpp
23>ChannelHandler.cpp
12>F:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.39.33321\include\stdfloat(12): warning STL4038: The contents of are available only with C++23 or later.
23>EventLoopGroup.cpp
23>Generating Code...
23>Compiling...
23>HostResolver.cpp
12>render_annotation_source.cpp
23>Pkcs11.cpp
23>SocketOptions.cpp
23>Stream.cpp
23>TlsOptions.cpp
12>shape_annotation_impl.cpp
23>Uri.cpp
23>MqttCommon.cpp
23>Mqtt5ClientCore.cpp
12>F:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.39.33321\include\stdfloat(12): warning STL4038: The contents of are available only with C++23 or later.
23>Mqtt5Packets.cpp
23>MqttConnection.cpp
23>MqttConnectionCore.cpp
23>Generating Code...
12>symbol_annotation_impl.cpp
12>F:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.39.33321\include\stdfloat(12): warning STL4038: The contents of are available only with C++23 or later.
23>Mqtt5Client.cpp
23>MqttClient.cpp
12>dem_data.cpp
12>feature_index.cpp
23>Mqtt5Client.cpp
23>MqttClient.cpp
12>line_atlas.cpp
12>polyline_generator.cpp
23>aws-crt-cpp.vcxproj -> F:\supercell-wx\build-debug\lib\aws-crt-cpp.lib
24>------ Build started: Project: aws-cpp-sdk-core, Configuration: Debug x64 ------
24>Building Custom Rule F:/supercell-wx/external/aws-sdk-cpp/src/aws-cpp-sdk-core/CMakeLists.txt
12>fill_generator.cpp
24>ub_core.cpp
24>AmazonSerializableWebServiceRequest.cpp
24>AmazonStreamingWebServiceRequest.cpp
24>AmazonWebServiceRequest.cpp
24>Aws.cpp
24>Globals.cpp
24>Region.cpp
24>Version.cpp
24>cJSON.cpp
24>HttpClient.cpp
24>HttpClientFactory.cpp
24>HttpRequest.cpp
24>HttpResponse.cpp
24>HttpTypes.cpp
24>Scheme.cpp
24>URI.cpp
24>WinConnectionPoolMgr.cpp
24>WinHttpConnectionPoolMgr.cpp
24>WinHttpSyncHttpClient.cpp
24>WinINetConnectionPoolMgr.cpp
24>WinINetSyncHttpClient.cpp
24>WinSyncHttpClient.cpp
24>AWSHttpResourceClient.cpp
12>rendering_stats.cpp
24>DefaultMonitoring.cpp
24>HttpClientMetrics.cpp
24>MonitoringManager.cpp
24>Net.cpp
12>shader_group.cpp
24>SimpleUDP.cpp
24>Environment.cpp
24>FileSystem.cpp
24>OSVersionInfo.cpp
24>Security.cpp
24>Time.cpp
24>ARN.cpp
24>Array.cpp
24>DNS.cpp
24>DateTimeCommon.cpp
12>shader_registry.cpp
24>Directory.cpp
24>Document.cpp
24>EnumParseOverflowContainer.cpp
24>FileSystemUtils.cpp
24>GetTheLights.cpp
24>HashingUtils.cpp
24>RAIICounter.cpp
24>StringUtils.cpp
24>TempFile.cpp
24>UUID.cpp
24>CRC32.cpp
24>Cipher.cpp
24>ContentCryptoMaterial.cpp
12>background_layer_factory.cpp
24>ContentCryptoScheme.cpp
24>CryptoBuf.cpp
24>CryptoStream.cpp
24>EncryptionMaterials.cpp
24>KeyWrapAlgorithm.cpp
24>MD5.cpp
24>Sha1.cpp
24>Sha256.cpp
24>Sha256HMAC.cpp
24>CryptoImpl.cpp
24>Factories.cpp
24>EventDecoderStream.cpp
24>EventEncoderStream.cpp
24>EventHeader.cpp
24>EventMessage.cpp
24>EventStreamBuf.cpp
24>EventStreamDecoder.cpp
24>EventStreamEncoder.cpp
24>EventStreamErrors.cpp
24>JsonSerializer.cpp
12>circle_layer_factory.cpp
12>Generating Code...
24>aws-cpp-sdk-core.vcxproj -> F:\supercell-wx\build-debug\lib\aws-cpp-sdk-core.lib
25>------ Build started: Project: aws-cpp-sdk-s3, Configuration: Debug x64 ------
25>Building Custom Rule F:/supercell-wx/external/aws-sdk-cpp/generated/src/aws-cpp-sdk-s3/CMakeLists.txt
25>ub_S3.cpp
12>Compiling...
12>fill_extrusion_layer_factory.cpp
12>fill_layer_factory.cpp
12>heatmap_layer_factory.cpp
12>hillshade_layer_factory.cpp
25>aws-cpp-sdk-s3.vcxproj -> F:\supercell-wx\build-debug\lib\aws-cpp-sdk-s3.lib
26>------ Build started: Project: wxdata, Configuration: Debug x64 ------
12>layer_factory.cpp
26>Building Custom Rule F:/supercell-wx/wxdata/CMakeLists.txt
26>coded_location.cpp
26>coded_time_motion_location.cpp
26>message.cpp
26>phenomenon.cpp
26>pvtec.cpp
26>significance.cpp
26>text_product_file.cpp
26>text_product_message.cpp
12>line_layer_factory.cpp
26>ugc.cpp
26>wmo_header.cpp
26>characters.cpp
26>color_table.cpp
26>geographic.cpp
12>raster_layer_factory.cpp
26>products.cpp
26>sites.cpp
26>vcp.cpp
26>color.cpp
26>placefile.cpp
26>cpr.cpp
26>dir_list.cpp
26>aws_level2_data_provider.cpp
26>aws_level3_data_provider.cpp
26>aws_nexrad_data_provider.cpp
26>nexrad_data_provider.cpp
12>symbol_layer_factory.cpp
26>nexrad_data_provider_factory.cpp
26>warnings_provider.cpp
26>digest.cpp
26>environment.cpp
26>float.cpp
26>hash.cpp
26>logger.cpp
26>rangebuf.cpp
26>streams.cpp
26>strings.cpp
26>time.cpp
26>threads.cpp
26>Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example:
26>- add -D_WIN32_WINNT=0x0601 to the compiler command line; or
26>- add _WIN32_WINNT=0x0601 to your project's Preprocessor Definitions.
26>Assuming _WIN32_WINNT=0x0601 (i.e. Windows 7 target).
26>vectorbuf.cpp
26>ar2v_file.cpp
26>level3_file.cpp
26>nexrad_file.cpp
26>nexrad_file_factory.cpp
26>wsr88d_types.cpp
26>clutter_filter_bypass_map.cpp
26>clutter_filter_map.cpp
12>clip_lines.cpp
26>digital_radar_data.cpp
26>digital_radar_data_generic.cpp
26>generic_radar_data.cpp
12>merge_lines.cpp
26>level2_message.cpp
26>level2_message_factory.cpp
26>level2_message_header.cpp
26>performance_maintenance_data.cpp
12>symbol_instance.cpp
26>rda_adaptation_data.cpp
26>rda_status_data.cpp
26>volume_coverage_pattern_data.cpp
26>ccb_header.cpp
26>cell_trend_data_packet.cpp
26>cell_trend_volume_scan_times.cpp
26>digital_precipitation_data_array_packet.cpp
26>digital_radial_data_array_packet.cpp
26>general_status_message.cpp
26>generic_data_packet.cpp
12>symbol_layout.cpp
26>generic_radial_data_packet.cpp
26>graphic_alphanumeric_block.cpp
26>graphic_product_message.cpp
26>hda_hail_symbol_packet.cpp
26>level3_message.cpp
26>level3_message_factory.cpp
26>level3_message_header.cpp
26>linked_contour_vector_packet.cpp
26>linked_vector_packet.cpp
26>mesocyclone_symbol_packet.cpp
26>packet.cpp
26>packet_factory.cpp
26>point_feature_symbol_packet.cpp
26>point_graphic_symbol_packet.cpp
26>precipitation_rate_data_array_packet.cpp
26>product_description_block.cpp
26>product_symbology_block.cpp
26>radar_coded_message.cpp
26>radial_data_packet.cpp
12>symbol_projection.cpp
26>raster_data_packet.cpp
26>scit_data_packet.cpp
26>set_color_level_packet.cpp
26>special_graphic_symbol_packet.cpp
26>sti_circle_symbol_packet.cpp
26>storm_id_symbol_packet.cpp
26>storm_tracking_information_message.cpp
26>tabular_alphanumeric_block.cpp
26>tabular_product_message.cpp
26>text_and_special_symbol_packet.cpp
26>unlinked_contour_vector_packet.cpp
26>unlinked_vector_packet.cpp
26>vector_arrow_data_packet.cpp
12>map.cpp
26>wind_barb_data_packet.cpp
12>F:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.39.33321\include\stdfloat(12): warning STL4038: The contents of are available only with C++23 or later.
26>wxdata.vcxproj -> F:\supercell-wx\build-debug\wxdata\wxdata.dir\Debug\wxdata.lib
12>map_impl.cpp
12>F:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.39.33321\include\stdfloat(12): warning STL4038: The contents of are available only with C++23 or later.
12>map_options.cpp
12>map_projection.cpp
12>F:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.39.33321\include\stdfloat(12): warning STL4038: The contents of are available only with C++23 or later.
12>transform.cpp
12>transform_state.cpp
12>log2.cpp
12>Generating Code...
12>Compiling...
12>settings.cpp
12>background_program.cpp
12>circle_program.cpp
12>clipping_mask_program.cpp
12>collision_box_program.cpp
12>debug_program.cpp
12>fill_extrusion_program.cpp
12>fill_program.cpp
12>heatmap_program.cpp
12>heatmap_texture_program.cpp
12>hillshade_prepare_program.cpp
12>hillshade_program.cpp
12>line_program.cpp
12>program_parameters.cpp
12>programs.cpp
12>raster_program.cpp
12>symbol_program.cpp
12>backend_scope.cpp
12>bucket_parameters.cpp
12>circle_bucket.cpp
12>Generating Code...
12>Compiling...
12>debug_bucket.cpp
12>fill_bucket.cpp
12>fill_extrusion_bucket.cpp
12>heatmap_bucket.cpp
12>hillshade_bucket.cpp
12>line_bucket.cpp
12>raster_bucket.cpp
12>symbol_bucket.cpp
12>cross_faded_property_evaluator.cpp
12>group_by_layout.cpp
12>image_atlas.cpp
12>image_manager.cpp
12>render_background_layer.cpp
12>render_circle_layer.cpp
12>render_fill_extrusion_layer.cpp
12>render_fill_layer.cpp
12>render_heatmap_layer.cpp
12>render_hillshade_layer.cpp
12>render_line_layer.cpp
12>render_raster_layer.cpp
12>Generating Code...
12>Compiling...
12>render_symbol_layer.cpp
12>paint_parameters.cpp
12>pattern_atlas.cpp
12>render_layer.cpp
12>render_light.cpp
12>render_orchestrator.cpp
12>F:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.39.33321\include\stdfloat(12): warning STL4038: The contents of are available only with C++23 or later.
12>render_source.cpp
12>render_static_data.cpp
12>render_tile.cpp
12>renderer.cpp
12>F:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.39.33321\include\stdfloat(12): warning STL4038: The contents of are available only with C++23 or later.
12>renderer_impl.cpp
12>renderer_state.cpp
12>render_custom_geometry_source.cpp
12>render_geojson_source.cpp
12>render_image_source.cpp
12>render_raster_dem_source.cpp
12>render_raster_source.cpp
12>render_tile_source.cpp
12>render_vector_source.cpp
12>source_state.cpp
12>Generating Code...
12>Compiling...
12>style_diff.cpp
12>tile_pyramid.cpp
12>tile_render_data.cpp
12>sprite_loader.cpp
12>sprite_parser.cpp
12>network_status.cpp
12>resource.cpp
12>resource_options.cpp
12>resource_transform.cpp
12>response.cpp
12>color_ramp_property_value.cpp
12>constant.cpp
12>coordinate.cpp
12>custom_geometry_source_options.cpp
12>function.cpp
12>geojson.cpp
12>geojson_options.cpp
12>get_json_type.cpp
12>position.cpp
12>property_value.cpp
12>Generating Code...
12>Compiling...
12>rotation.cpp
12>tileset.cpp
12>transition_options.cpp
12>custom_tile_loader.cpp
12>assertion.cpp
12>at.cpp
12>boolean_operator.cpp
12>case.cpp
12>check_subtype.cpp
12>coalesce.cpp
12>coercion.cpp
12>collator_expression.cpp
12>comparison.cpp
12>compound_expression.cpp
12>distance.cpp
12>dsl.cpp
12>expression.cpp
12>find_zoom_curve.cpp
12>format_expression.cpp
12>formatted.cpp
12>Generating Code...
12>Compiling...
12>get_covering_stops.cpp
12>image_expression.cpp
12>in.cpp
12>index_of.cpp
12>is_constant.cpp
12>is_expression.cpp
12>length.cpp
12>let.cpp
12>literal.cpp
12>match.cpp
12>parsing_context.cpp
12>slice.cpp
12>step.cpp
12>util.cpp
12>within.cpp
12>image_impl.cpp
12>layer_impl.cpp
12>background_layer.cpp
12>background_layer_impl.cpp
12>background_layer_properties.cpp
12>Generating Code...
12>Compiling...
12>circle_layer.cpp
12>circle_layer_impl.cpp
12>circle_layer_properties.cpp
12>fill_extrusion_layer.cpp
12>fill_extrusion_layer_impl.cpp
12>fill_extrusion_layer_properties.cpp
12>fill_layer.cpp
12>fill_layer_impl.cpp
12>fill_layer_properties.cpp
12>heatmap_layer.cpp
12>heatmap_layer_impl.cpp
12>heatmap_layer_properties.cpp
12>hillshade_layer.cpp
12>hillshade_layer_impl.cpp
12>hillshade_layer_properties.cpp
12>line_layer.cpp
12>line_layer_impl.cpp
12>line_layer_properties.cpp
12>raster_layer.cpp
12>raster_layer_impl.cpp
12>Generating Code...
12>Compiling...
12>raster_layer_properties.cpp
12>symbol_layer.cpp
12>symbol_layer_impl.cpp
12>symbol_layer_properties.cpp
12>light_impl.cpp
12>parser.cpp
12>property_expression.cpp
12>source_impl.cpp
12>custom_geometry_source.cpp
12>custom_geometry_source_impl.cpp
12>geojson_source.cpp
12>geojson_source_impl.cpp
12>image_source.cpp
12>image_source_impl.cpp
12>raster_dem_source.cpp
12>raster_source.cpp
12>raster_source_impl.cpp
12>vector_source.cpp
12>vector_source_impl.cpp
12>style.cpp
12>Generating Code...
12>Compiling...
12>style_impl.cpp
12>types.cpp
12>check_max_angle.cpp
12>collision_feature.cpp
12>collision_index.cpp
12>cross_tile_symbol_index.cpp
12>get_anchors.cpp
12>glyph.cpp
12>glyph_atlas.cpp
12>glyph_manager.cpp
12>glyph_pbf.cpp
12>language_tag.cpp
12>placement.cpp
12>quads.cpp
12>shaping.cpp
12>tagged_string.cpp
12>custom_geometry_tile.cpp
12>geojson_tile.cpp
12>geometry_tile.cpp
12>geometry_tile_data.cpp
12>Generating Code...
12>Compiling...
12>geometry_tile_worker.cpp
12>raster_dem_tile.cpp
12>raster_dem_tile_worker.cpp
12>raster_tile.cpp
12>raster_tile_worker.cpp
12>tile.cpp
12>tile_cache.cpp
12>tile_id_hash.cpp
12>tile_id_io.cpp
12>vector_tile.cpp
12>vector_tile_data.cpp
12>camera.cpp
12>bounding_volumes.cpp
12>chrono.cpp
12>client_options.cpp
12>color.cpp
12>constants.cpp
12>convert.cpp
12>dtoa.cpp
12>event.cpp
12>Generating Code...
12>Compiling...
12>font_stack.cpp
12>geo.cpp
12>geojson_impl.cpp
12>geometry_util.cpp
12>grid_index.cpp
12>http_header.cpp
12>http_timeout.cpp
12>i18n.cpp
12>identity.cpp
12>intersection_tests.cpp
12>io.cpp
12>logging.cpp
12>mapbox.cpp
12>mat2.cpp
12>mat3.cpp
12>mat4.cpp
12>premultiply.cpp
12>quaternion.cpp
12>rapidjson.cpp
12>stopwatch.cpp
12>Generating Code...
12>Compiling...
12>string.cpp
12>string_indexer.cpp
12>thread_pool.cpp
12>tile_cover.cpp
12>tile_cover_impl.cpp
12>default_style.cpp
12>tile_server_options.cpp
12>tiny_sdf.cpp
12>url.cpp
12>work_request.cpp
12>command_encoder.cpp
12>context.cpp
12>fence.cpp
12>custom_layer.cpp
12>custom_layer_render_parameters.cpp
12>custom_layer_factory.cpp
12>custom_layer_impl.cpp
12>debugging_extension.cpp
12>enum.cpp
12>index_buffer_resource.cpp
12>Generating Code...
12>Compiling...
12>object.cpp
12>offscreen_texture.cpp
12>render_custom_layer.cpp
12>render_pass.cpp
12>texture.cpp
12>texture_resource.cpp
12>uniform.cpp
12>upload_pass.cpp
12>vertex_array.cpp
12>vertex_buffer_resource.cpp
12>location_indicator_layer_factory.cpp
12>render_location_indicator_layer.cpp
12>location_indicator_layer.cpp
12>location_indicator_layer_impl.cpp
12>location_indicator_layer_properties.cpp
12>bidi.cpp
12>headless_frontend.cpp
12>time.cpp
12>asset_file_source.cpp
12>database_file_source.cpp
12>Generating Code...
12>Compiling...
12>file_source_request.cpp
12>local_file_request.cpp
12>local_file_source.cpp
12>main_resource_loader.cpp
12>mbtiles_file_source.cpp
12>offline.cpp
12>offline_database.cpp
12>offline_download.cpp
12>online_file_source.cpp
12>sqlite3.cpp
12>compression.cpp
12>filesystem.cpp
12>monotonic_timer.cpp
12>async_task.cpp
12>headless_backend_qt.cpp
12>http_file_source.cpp
12>http_request.cpp
12>local_glyph_rasterizer.cpp
12>logging_qt.cpp
12>run_loop.cpp
12>Generating Code...
12>Compiling...
12>string_stdlib.cpp
12>thread_local.cpp
12>timer.cpp
12>utf.cpp
12>Generating Code...
12>scheduler.cpp
12>attribute.cpp
12>renderer_backend.cpp
12>layer_manager.cpp
12>file_source_manager.cpp
12>sprite.cpp
12>filter.cpp
12>layer.cpp
12>light.cpp
12>source.cpp
12>collator.cpp
12>image.cpp
12>interpolate.cpp
12>number_format.cpp
12>value.cpp
12>filter.cpp
12>image.cpp
12>sprite.cpp
12>layer.cpp
12>light.cpp
12>source.cpp
12>interpolate.cpp
12>thread.cpp
12>version.cpp
12>attribute.cpp
12>renderer_backend.cpp
12>value.cpp
12>gl_functions.cpp
12>headless_backend.cpp
12>headless_backend.cpp
12>collator.cpp
12>layer_manager.cpp
12>file_source_manager.cpp
12>gl_functions.cpp
12>image.cpp
12>number_format.cpp
12>thread.cpp
12>renderer_backend.cpp
12>scheduler.cpp
12>mbgl-core.vcxproj -> F:\supercell-wx\build-debug\external\maplibre-native-qt\src\core\MapLibreCore\mbgl-core.dir\Debug\mbgl-core.lib
12>Done building project "mbgl-core.vcxproj".
27>------ Build started: Project: Core, Configuration: Debug x64 ------
27>Automatic MOC for target Core
27>Building Custom Rule F:/supercell-wx/external/maplibre-native-qt/src/core/CMakeLists.txt
27>mocs_compilation_Debug.cpp
27>geojson.cpp
27>map_observer.cpp
27>map_renderer.cpp
27>map.cpp
27>settings.cpp
27>types.cpp
27>utils.cpp
27>style_parameter.cpp
27>layer_parameter.cpp
27>source_parameter.cpp
27>style_change.cpp
27>style_change_utils.cpp
27>image_style_change.cpp
27>layer_style_change.cpp
27>source_style_change.cpp
27>Generating Code...
27> Creating library F:/supercell-wx/build-debug/lib/QMapLibred.lib and object F:/supercell-wx/build-debug/lib/QMapLibred.exp
27>Core.vcxproj -> F:\supercell-wx\build-debug\bin\QMapLibred.dll
28>------ Build started: Project: scwx-qt, Configuration: Debug x64 ------
28>Automatic MOC and UIC for target scwx-qt
28>1>
28>2>Automatic RCC for scwx-qt.qrc
28>Running rcc for resource generated
28>RCC: Error in 'F:/supercell-wx/build-debug/scwx-qt/.rcc/generated.qrc': Cannot find file 'F:/supercell-wx/build-debug/scwx-qt/res/db/counties.db'
28>
28>F:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: Custom build for 'F:\supercell-wx\build-debug\CMakeFiles\102fac2f0a37c42dbab304a7b17c06f0\qrc_generated.cpp.rule;F:\supercell-wx\build-debug\CMakeFiles\102fac2f0a37c42dbab304a7b17c06f0\qrc_scwx-qt_translations.cpp.rule;F:\supercell-wx\scwx-qt\CMakeLists.txt' exited with code 1.
28>Done building project "scwx-qt.vcxproj" -- FAILED.
========== Build: 25 succeeded, 3 failed, 0 up-to-date, 0 skipped ==========
========== Build completed at 11:55 PM and took 38:28.043 minutes ==========

@acidhorse1972
Copy link
Author

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
6> import git
6>ModuleNotFoundError: No module named 'git'
6>F:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: Custom build for 'F:\supercell-wx\build-debug\CMakeFiles\7594549027e08896f0bf47add2b8a98e\versions.hpp.rule;F:\supercell-wx\build-debug\CMakeFiles\335ec5f40a7a201ebbb5c455279a5a97\scwx-qt_generate_versions.rule' exited with code 1.
6>Done building project "scwx-qt_generate_versions.vcxproj" -- FAILED.
13>------ Build started: Project: hsluv-c, Configuration: Debug x64 ------
8>mbgl-vendor-sqlite.vcxproj -> F:\supercell-wx\build-debug\external\maplibre-native-qt\src\core\MapLibreCore\mbgl-vendor-sqlite.dir\Debug\mbgl-vendor-sqlite.lib
7>Traceback (most recent call last):
7> File "F:\supercell-wx\scwx-qt\tools\generate_counties_db.py", line 2, in
7> import geopandas as gpd
7>ModuleNotFoundError: No module named 'geopandas'
7>F:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: Custom build for 'F:\supercell-wx\build-debug\CMakeFiles\8ecfaf26c28f79a81939bfa04d38aa33\counties.db.rule;F:\supercell-wx\build-debug\CMakeFiles\335ec5f40a7a201ebbb5c455279a5a97\scwx-qt_generate_counties_db.rule' exited with code 1.
7>Done building project "scwx-qt_generate_counties_db.vcxproj" -- FAILED.
11>mbgl-vendor-csscolorparser.vcxproj -> F:\supercell-wx\build-debug\external\maplibre-native-qt\src\core\MapLibreCore\mbgl-vendor-csscolorparser.dir\Debug\mbgl-vendor-csscolorparser.lib
14>------ Build started: Project: aws-c-common, Configuration: Debug x64 ------
15>------ Skipped Build: Project: scwx-qt_other_files, Configuration: Debug x64 ------
15>Project not selected to build for this solution configuration
9>mbgl-vendor-parsedate.vcxproj -> F:\supercell-wx\build-debug\external\maplibre-native-qt\src\core\MapLibreCore\mbgl-vendor-parsedate.dir\Debug\mbgl-vendor-parsedate.lib
16>------ Skipped Build: Project: release_translations, Configuration: Debug x64 ------
16>Project not selected to build for this solution configuration
10>mbgl-vendor-nunicode.vcxproj -> F:\supercell-wx\build-debug\external\maplibre-native-qt\src\core\MapLibreCore\mbgl-vendor-nunicode.dir\Debug\mbgl-vendor-nunicode.lib
12>imgui.vcxproj -> F:\supercell-wx\build-debug\lib\imgui.lib
13>hsluv-c.vcxproj -> F:\supercell-wx\build-debug\lib\hsluv-c.lib
17>------ Skipped Build: Project: RUN_TESTS, Configuration: Debug x64 ------
17>Project not selected to build for this solution configuration
18>------ Build started: Project: mbgl-core, Configuration: Debug x64 ------
14>aws-c-common.vcxproj -> F:\supercell-wx\build-debug\lib\aws-c-common.lib
18>Automatic MOC for target mbgl-core
19>------ Build started: Project: aws-checksums, Configuration: Debug x64 ------
20>------ Build started: Project: aws-c-sdkutils, Configuration: Debug x64 ------
21>------ Build started: Project: aws-c-compression, Configuration: Debug x64 ------
22>------ Build started: Project: aws-c-cal, Configuration: Debug x64 ------
19>aws-checksums.vcxproj -> F:\supercell-wx\build-debug\lib\aws-checksums.lib
20>aws-c-sdkutils.vcxproj -> F:\supercell-wx\build-debug\lib\aws-c-sdkutils.lib
21>aws-c-compression.vcxproj -> F:\supercell-wx\build-debug\lib\aws-c-compression.lib
22>aws-c-cal.vcxproj -> F:\supercell-wx\build-debug\lib\aws-c-cal.lib
23>------ Build started: Project: aws-c-io, Configuration: Debug x64 ------
23>aws-c-io.vcxproj -> F:\supercell-wx\build-debug\lib\aws-c-io.lib
24>------ Build started: Project: aws-c-http, Configuration: Debug x64 ------
25>------ Build started: Project: aws-c-event-stream, Configuration: Debug x64 ------
25>aws-c-event-stream.vcxproj -> F:\supercell-wx\build-debug\lib\aws-c-event-stream.lib
18>mbgl-core.vcxproj -> F:\supercell-wx\build-debug\external\maplibre-native-qt\src\core\MapLibreCore\mbgl-core.dir\Debug\mbgl-core.lib
24>aws-c-http.vcxproj -> F:\supercell-wx\build-debug\lib\aws-c-http.lib
26>------ Build started: Project: Core, Configuration: Debug x64 ------
27>------ Build started: Project: aws-c-mqtt, Configuration: Debug x64 ------
28>------ Build started: Project: aws-c-auth, Configuration: Debug x64 ------
26>Automatic MOC for target Core
26>Core.vcxproj -> F:\supercell-wx\build-debug\bin\QMapLibred.dll
27>aws-c-mqtt.vcxproj -> F:\supercell-wx\build-debug\lib\aws-c-mqtt.lib
28>aws-c-auth.vcxproj -> F:\supercell-wx\build-debug\lib\aws-c-auth.lib
29>------ Build started: Project: test_mln_core, Configuration: Debug x64 ------
30>------ Build started: Project: Widgets, Configuration: Debug x64 ------
31>------ Build started: Project: aws-c-s3, Configuration: Debug x64 ------
29>Automatic MOC for target test_mln_core
30>Automatic MOC for target Widgets
31>aws-c-s3.vcxproj -> F:\supercell-wx\build-debug\lib\aws-c-s3.lib
32>------ Build started: Project: aws-crt-cpp, Configuration: Debug x64 ------
32>aws-crt-cpp.vcxproj -> F:\supercell-wx\build-debug\lib\aws-crt-cpp.lib
29>test_core.cpp
33>------ Build started: Project: aws-cpp-sdk-core, Configuration: Debug x64 ------
33>aws-cpp-sdk-core.vcxproj -> F:\supercell-wx\build-debug\lib\aws-cpp-sdk-core.lib
34>------ Build started: Project: aws-cpp-sdk-s3, Configuration: Debug x64 ------
30>Widgets.vcxproj -> F:\supercell-wx\build-debug\bin\QMapLibreWidgetsd.dll
34>aws-cpp-sdk-s3.vcxproj -> F:\supercell-wx\build-debug\lib\aws-cpp-sdk-s3.lib
35>------ Build started: Project: test_mln_widgets, Configuration: Debug x64 ------
36>------ Build started: Project: wxdata, Configuration: Debug x64 ------
35>Automatic MOC for target test_mln_widgets
36>wxdata.vcxproj -> F:\supercell-wx\build-debug\wxdata\wxdata.dir\Debug\wxdata.lib
35>mocs_compilation_Debug.cpp
37>------ Build started: Project: scwx-qt, Configuration: Debug x64 ------
35>gl_tester.cpp
35>test_widgets.cpp
35>Generating Code...
37>Automatic MOC and UIC for target scwx-qt
35>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
35>(compiling source file 'test_mln_widgets_autogen/mocs_compilation_Debug.cpp')
35>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
35>(compiling source file '../../../../../external/maplibre-native-qt/test/widgets/gl_tester.cpp')
35>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
35>(compiling source file '../../../../../external/maplibre-native-qt/test/widgets/test_widgets.cpp')
35>Done building project "test_mln_widgets.vcxproj" -- FAILED.
37>Running rcc for resource generated
37>RCC: Error in 'F:/supercell-wx/build-debug/scwx-qt/.rcc/generated.qrc': Cannot find file 'F:/supercell-wx/build-debug/scwx-qt/res/db/counties.db'
37>
37>F:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: Custom build for 'F:\supercell-wx\build-debug\CMakeFiles\102fac2f0a37c42dbab304a7b17c06f0\qrc_generated.cpp.rule;F:\supercell-wx\build-debug\CMakeFiles\102fac2f0a37c42dbab304a7b17c06f0\qrc_scwx-qt_translations.cpp.rule' exited with code 1.
37>Done building project "scwx-qt.vcxproj" -- FAILED.
38>------ Build started: Project: wxtest, Configuration: Debug x64 ------
39>------ Build started: Project: supercell-wx, Configuration: Debug x64 ------
29>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
29>Done building project "test_mln_core.vcxproj" -- FAILED.
39>Automatic MOC and UIC for target supercell-wx
39>1>
39>Building Custom Rule F:/supercell-wx/scwx-qt/CMakeLists.txt
39>mocs_compilation_Debug.cpp
39>main.cpp
39>F:\supercell-wx\scwx-qt\source\scwx\qt\main\main.cpp(6,10): error C1083: Cannot open include file: 'scwx/qt/main/versions.hpp': No such file or directory
39>Done building project "supercell-wx.vcxproj" -- FAILED.
38>LINK : fatal error LNK1104: cannot open file 'F:\supercell-wx\build-debug\scwx-qt\scwx-qt.dir\Debug\mocs_compilation_Debug.obj'
38>Done building project "wxtest.vcxproj" -- FAILED.
40>------ Skipped Build: Project: PACKAGE, Configuration: Debug x64 ------
40>Project not selected to build for this solution configuration
41>------ Skipped Build: Project: INSTALL, Configuration: Debug x64 ------
41>Project not selected to build for this solution configuration
========== Build: 26 succeeded, 7 failed, 2 up-to-date, 8 skipped ==========
========== Build completed at 12:11 AM and took 03:13.119 minutes ==========

@acidhorse1972
Copy link
Author

File "F:\supercell-wx\scwx-qt\tools\generate_versions.py", line 3, in
6> import git
6>ModuleNotFoundError: No module named 'git'

@acidhorse1972
Copy link
Author

That's funny because I have python installed with the module gitpython already.

@dpaulat
Copy link
Owner

dpaulat commented Apr 25, 2024

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.

@acidhorse1972
Copy link
Author

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.

@acidhorse1972
Copy link
Author

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

@acidhorse1972
Copy link
Author

what version of CMAKE did you use?

@dpaulat
Copy link
Owner

dpaulat commented Apr 26, 2024

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.

@acidhorse1972
Copy link
Author

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 . . .

@acidhorse1972
Copy link
Author

what version of Conan does it need?

@acidhorse1972
Copy link
Author

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!

@acidhorse1972
Copy link
Author

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.

@dpaulat
Copy link
Owner

dpaulat commented Apr 27, 2024

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

@acidhorse1972
Copy link
Author

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.

@acidhorse1972
Copy link
Author

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.

@dpaulat
Copy link
Owner

dpaulat commented Apr 28, 2024

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.

@acidhorse1972
Copy link
Author

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: 1e19f63+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 ==========

@acidhorse1972
Copy link
Author

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>

@acidhorse1972
Copy link
Author

should I run setup-debug.bat after those git commands?

@acidhorse1972
Copy link
Author

TextFlow.hpp isn't being generated
scwx-textflowcpp doesn't seem to be anywhere in any subdirectories

@acidhorse1972
Copy link
Author

I does pop up the console window while everything is happening although.

@acidhorse1972
Copy link
Author

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

@dpaulat
Copy link
Owner

dpaulat commented Apr 28, 2024

Add the Qt bin directory to your PATH variable, and you should be good to go.

@acidhorse1972
Copy link
Author

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.
QT6mess
Tried it with 6.6.1 too and still no cigar

@acidhorse1972
Copy link
Author

'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).

@dpaulat
Copy link
Owner

dpaulat commented Apr 29, 2024

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.

@acidhorse1972
Copy link
Author

acidhorse1972 commented Apr 29, 2024

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.

@acidhorse1972
Copy link
Author

acidhorse1972 commented Apr 29, 2024

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

@dpaulat
Copy link
Owner

dpaulat commented Apr 29, 2024

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.

@acidhorse1972
Copy link
Author

acidhorse1972 commented Apr 29, 2024

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?

@acidhorse1972
Copy link
Author

acidhorse1972 commented Apr 29, 2024

Also I've noticed that the four panel graphics have a lag when panned individually a few may stick and that says to me that it isn't being properly blitted or buffered. A speedup needs to be done by blitting all four panels to one bitmap in memory otherwise it is going to have speed issues.
I think the four panel setting has four individual panel entities that handle their own graphics separate from each other and that has an overhead. It would be better to work with one single panel and divide it into four "panels" in its client area.

@dpaulat
Copy link
Owner

dpaulat commented Apr 30, 2024

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

Make sure you're using https://warnings.cod.edu. Omitting the https won't work. It's in a nearly identical format.

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?

This is defined in %AppData%\Supercell Wx\settings.json. Just no interface to change it currently.

@acidhorse1972
Copy link
Author

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

Make sure you're using https://warnings.cod.edu. Omitting the https won't work. It's in a nearly identical format.

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?

This is defined in %AppData%\Supercell Wx\settings.json. Just no interface to change it currently.

I know it has to be https://warnings.cod.edu but when it is just like that it still doesn't work.

@acidhorse1972
Copy link
Author

acidhorse1972 commented Apr 30, 2024

aaaaaaaaaaaaaah I see now.
settings.json
That's why I can't find any reference to where in code this was retaining the same values.
There needs to be a way to edit that so it doesn't create an urban legend.
Even a menu item link that pops up Notepad2 or Notepad3 with it loaded is a really good idea

@acidhorse1972
Copy link
Author

I've wrote apps in the past that use Google Maps and even allowed for StreetView to be selected. A feature like that will make it easier for chasers.

@dpaulat
Copy link
Owner

dpaulat commented Apr 30, 2024

Also I've noticed that the four panel graphics have a lag when panned individually a few may stick and that says to me that it isn't being properly blitted or buffered. A speedup needs to be done by blitting all four panels to one bitmap in memory otherwise it is going to have speed issues. I think the four panel setting has four individual panel entities that handle their own graphics separate from each other and that has an overhead. It would be better to work with one single panel and divide it into four "panels" in its client area.

When panning one panel, the other frames have the potential to lag one event loop frame.

Using a synchronization method like blitting into a single bitmap would be tricky with how everything is laid out. There are currently independent Qt OpenGL widgets rendering each map, that all render independently (each map typically only renders on change or mouse/keyboard event).

There is another feature request to output an animation to a video. This is quite a ways down the backlog, but I had considered doing some sort of manual synchronization of the map renderings to compose key frames.

@acidhorse1972
Copy link
Author

Also I've noticed that the four panel graphics have a lag when panned individually a few may stick and that says to me that it isn't being properly blitted or buffered. A speedup needs to be done by blitting all four panels to one bitmap in memory otherwise it is going to have speed issues. I think the four panel setting has four individual panel entities that handle their own graphics separate from each other and that has an overhead. It would be better to work with one single panel and divide it into four "panels" in its client area.

When panning one panel, the other frames have the potential to lag one event loop frame.

Using a synchronization method like blitting into a single bitmap would be tricky with how everything is laid out. There are currently independent Qt OpenGL widgets rendering each map, that all render independently (each map typically only renders on change or mouse/keyboard event).

There is another feature request to output an animation to a video. This is quite a ways down the backlog, but I had considered doing some sort of manual synchronization of the map renderings to compose key frames.

I've done it in C# with a scrollable soil temperature graph that shows the entire year continuously.

@acidhorse1972
Copy link
Author

Also I've noticed that the four panel graphics have a lag when panned individually a few may stick and that says to me that it isn't being properly blitted or buffered. A speedup needs to be done by blitting all four panels to one bitmap in memory otherwise it is going to have speed issues. I think the four panel setting has four individual panel entities that handle their own graphics separate from each other and that has an overhead. It would be better to work with one single panel and divide it into four "panels" in its client area.

When panning one panel, the other frames have the potential to lag one event loop frame.

Using a synchronization method like blitting into a single bitmap would be tricky with how everything is laid out. There are currently independent Qt OpenGL widgets rendering each map, that all render independently (each map typically only renders on change or mouse/keyboard event).

There is another feature request to output an animation to a video. This is quite a ways down the backlog, but I had considered doing some sort of manual synchronization of the map renderings to compose key frames.

Yeah you will have to do it the way I'm describing because that's how it's always been done in optimized smooth graphics.
And the trickiness you describe is the thing I had figured out long ago.

@acidhorse1972
Copy link
Author

I will pull out my code for that graph app of mine and get it cleaned up for inspection and locate that area in the code that has mine moving smooth.

@dpaulat
Copy link
Owner

dpaulat commented Apr 30, 2024

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

Make sure you're using https://warnings.cod.edu. Omitting the https won't work. It's in a nearly identical format.

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?

This is defined in %AppData%\Supercell Wx\settings.json. Just no interface to change it currently.

I know it has to be https://warnings.cod.edu but when it is just like that it still doesn't work.

There are no active alerts. Make sure you unfilter your view.

image

@dpaulat
Copy link
Owner

dpaulat commented Apr 30, 2024

Also I've noticed that the four panel graphics have a lag when panned individually a few may stick and that says to me that it isn't being properly blitted or buffered. A speedup needs to be done by blitting all four panels to one bitmap in memory otherwise it is going to have speed issues. I think the four panel setting has four individual panel entities that handle their own graphics separate from each other and that has an overhead. It would be better to work with one single panel and divide it into four "panels" in its client area.

When panning one panel, the other frames have the potential to lag one event loop frame.
Using a synchronization method like blitting into a single bitmap would be tricky with how everything is laid out. There are currently independent Qt OpenGL widgets rendering each map, that all render independently (each map typically only renders on change or mouse/keyboard event).
There is another feature request to output an animation to a video. This is quite a ways down the backlog, but I had considered doing some sort of manual synchronization of the map renderings to compose key frames.

Yeah you will have to do it the way I'm describing because that's how it's always been done in optimized smooth graphics. And the trickiness you describe is the thing I had figured out long ago.

The frame sync is far less of an issue building in Release mode, and it worked "well enough" for me to move onto other features.

I'm open to contributions, happy to learn new ways of doing things. I'm self-taught in OpenGL, so I'm sure there are better ways of doing things. In terms of my application-specific code, I'd imagine the MapContext would no longer inherit GlContext, but rather have a [shared?] GlContext (which holds context-specific objects) (#16). MapWidget would have to be reworked to an extent, as it inherits QOpenGLWidget. Things would break horribly if you just made 1 MapWidget with 4 maps. MapWidget might be able to lose its QWidget status and just provide a render function to a viewport within a larger widget.

@dpaulat
Copy link
Owner

dpaulat commented Apr 30, 2024

aaaaaaaaaaaaaah I see now. settings.json That's why I can't find any reference to where in code this was retaining the same values. There needs to be a way to edit that so it doesn't create an urban legend. Even a menu item link that pops up Notepad2 or Notepad3 with it loaded is a really good idea

I like this idea. I'd probably be apt to open the folder instead, since there are other JSON files in there as well (e.g., placefiles, layers). I recommend making a backup before manually editing though. If a syntax error gets introduced you could lose your file contents.

@dpaulat
Copy link
Owner

dpaulat commented Apr 30, 2024

I've wrote apps in the past that use Google Maps and even allowed for StreetView to be selected. A feature like that will make it easier for chasers.

Not seeing how much value an integrated street view would add without a 3D radar (enter OpenStorm). Maybe a link to open Bing/Google street view?

@acidhorse1972
Copy link
Author

acidhorse1972 commented Apr 30, 2024

I've wrote apps in the past that use Google Maps and even allowed for StreetView to be selected. A feature like that will make it easier for chasers.

Not seeing how much value an integrated street view would add without a 3D radar (enter OpenStorm). Maybe a link to open Bing/Google street view?

No I meant when viewing in 2D map mode an option to open up a window displaying the StreetView mode so that terrain can be inspected. Roads and other landscape features that could hinder the driving due to muddy roads and whatnot. Trees blocking viewing of the horizon...

@acidhorse1972
Copy link
Author

acidhorse1972 commented Apr 30, 2024

Also there is a hidden feature on Google Maps that shows tornado tracks. There's a way to bring up Andover and some others I have seen. That Arkansas tornado from last year that hit Little Rock.

@acidhorse1972
Copy link
Author

acidhorse1972 commented Apr 30, 2024

Here's one I just googled "Google Maps tornado path" and the first one was
https://www.google.com/maps/d/u/0/viewer?mid=1t8tffxOrnXZ61t7TA5zg_MRWOB8&hl=en_US&ll=0%2C0&z=8
There's an official one maintained by Google that shows all that have been recorded and can be referenced by date

@acidhorse1972
Copy link
Author

@acidhorse1972
Copy link
Author

@acidhorse1972
Copy link
Author

Screenshot 2024-04-30 003242
This is the one that went over my head while I was in the woods hunting mushrooms. It was tearing up the woods and I jumped into a creek ravine and waited for it to pass over. I ran out of the woods afterwards and looked up and it was a wall cloud that was rotating fast.

@dpaulat
Copy link
Owner

dpaulat commented Apr 30, 2024

Thanks for the resources! Crazy tornado story!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants