-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Comments
test_core.cpp |
I recently updated a few submodules. Whenever they update, you'll need to 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 |
F:\supercell-wx>dir /s versions_cache.json I went to delete the file you mentioned but it isn't there or anywhere. |
There are no json files in the build-debug\scwx-qt\ directory or subdirectories |
It is only generated once you build. If it is just an IDE error, you should be able to ignore it. If it is a build error, try building the scwx-qt_generate_versions target manually. |
Is there more detailed info in the build output? |
Yep I'm doing a clean and build again and I will post that output |
Ok this is with scwx-qt.vcxproj loaded into the IDE. It wants to compile the other projects instead of just the one. |
I go back to the main solution file supercell-wx.sln and attempt to build the main solution and the output is: |
File "F:\supercell-wx\scwx-qt\tools\generate_versions.py", line 3, in |
That's funny because I have python installed with the module gitpython already. |
I suspect you have multiple conflicting installations of Python. You could check your path, or ensure you have the tools installed in each of your Python environments. |
I think it's Streamlink that did it because it likes to install it's own stuff. I just didn't think they added it to the path. |
Well it's not the python installations that had anything to do with it. boost/1.84.0: Applying build-requirement: b2/4.10.1 -- Configuring incomplete, errors occurred! And still can't get it to compile |
what version of CMAKE did you use? |
CMake 3.29.2 is used by CI, but as old as 3.21 should be just fine. This looks to be the issue you had awhile back of Conan not finding your Visual Studio installation. The CMake error is later, caused by the Conan install failing. |
Nope F:\supercell-wx>setup-debug.bat F:\supercell-wx>call tools\setup-common.bat F:\supercell-wx>pip install --upgrade "conan<2.0" F:\supercell-wx>pip install --upgrade geopandas F:\supercell-wx>pip install --upgrade GitPython F:\supercell-wx>conan profile new default --detect 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 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 WARN: boost/1.84.0: requirement zlib/[>=1.2.11 <2] overridden by your conanfile to zlib/1.3.1 conanfile.py: Installing package Installing (downloading, building) binaries... -- Configuring incomplete, errors occurred! F:\supercell-wx>pause |
what version of Conan does it need? |
boost/1.84.0: Applying build-requirement: b2/4.10.1 -- Configuring incomplete, errors occurred! |
I have junctions for the Microsoft Visual Studio directory in the Program Files and Program Files x86 directories on the main drive and that still doesn't resolve it. |
Conan 1.x is required. 2.x is not yet supported (#109). CMake is finding Visual Studio, but not Conan. Conan does not find preview installations of Visual Studio by default. I remember our fix last time was to manually specify the path to Visual Studio. I'm wondering if your Conan profile got clobbered. Try updating your Conan profile:
|
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.
I think you nailed it. |
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 .... 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 22>LINK : fatal error LNK1104: cannot open file 'F:\supercell-wx\build-debug\scwx-qt\scwx-qt.dir\Debug\tooltip.obj' These aren't because it can't find my VC installation. |
Looks like you got past the Conan issue and ran into another. Try the following sequence:
The first one will make sure you're pointing to the correct submodule URL. If that doesn't work, let me know what the output of those commands are. |
Build started at 9:28 PM... |
F:\supercell-wx>git submodule sync F:\supercell-wx>git submodule update --init --recursive F:\supercell-wx> |
should I run setup-debug.bat after those git commands? |
TextFlow.hpp isn't being generated |
I does pop up the console window while everything is happening although. |
I forgot to add that it pops up that console window because it did build the supercell-wx.exe executable successfully but it won't fully run because of some issue it's having even when all the Qt6 dlls are present |
Add the Qt bin directory to your PATH variable, and you should be good to go. |
'supercell-wx.exe' (Win32): Loaded 'F:\supercell-wx\build-debug\bin\supercell-wx.exe'. Symbols loaded. Program: F:\supercell-wx\build-debug\bin\Qt6Cored.dll 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) |
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
The Qt DLL is expecting a "plugins" folder at that location. |
Didn't make a change in the results. The same error dialog pops up stating the same thing. |
I just found out that the Qt installation didn't set the environment variables so I entered them by hand and ran setup-debug.bat once again. Then I ran supercell-wx.exe on the commandline and it loaded up. |
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? static const std::array<std::string, kCount_> kDefaultRadarProduct_ { 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, ... |
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. |
Make sure you're using https://warnings.cod.edu. Omitting the https won't work. It's in a nearly identical format.
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. |
aaaaaaaaaaaaaah I see now. |
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. |
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. |
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. |
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. |
There are no active alerts. Make sure you unfilter your view. |
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. |
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. |
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... |
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. |
Here's one I just googled "Google Maps tornado path" and the first one was |
Here's Andover Kansas |
Thanks for the resources! Crazy tornado story!! |
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
The text was updated successfully, but these errors were encountered: