Comments (8)
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Open similar issues:
- Windows Debug - A cycle occurred while laying out the GUI (#17234), similarity score: 0.73
- [Windows] App crashes when rectangle sized by a Grid has a size of 1 on 125% scale screen (#22003), similarity score: 0.72
Closed similar issues:
- [Windows] Application.Current.OpenWindow() constantly crashes (#5383), similarity score: 0.75
- Default MAUI project cannot be launched for Windows (#6111), similarity score: 0.73
- Random System.NullReferenceException .Net Maui app under macOS (#6645), similarity score: 0.72
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
from maui.
Hi @janne-hmp ,
I can't build GnollHackM (.NET MAUI 9.0 project), the error is as follows, can you update the repository to help us reproduce the error?
Thanks for your patience.
from maui.
You need to follow these instructions:
The instructions require you also to build the Xamarin.Forms version of the game. You can copy the tileset images and sound banks from here:
- https://github.com/hyvanmielenpelit/GnollHackTileSet/releases
- https://github.com/hyvanmielenpelit/GnollHackSoundSet/releases
The instructions are for Android. @janne-hmp can provide instructions for Windows.
@janne-hmp : We should add the build instructions for the MAUI Windows version to the wiki.
from maui.
Thanks for looking at this. The initial build instructions were a bit limited, since I wasn't sure if anybody checks this in fact out anytime soon. There are indeed a few files that GnollHackM requires for successful building that are not a part of the repository due to the large size or since they contain private information like passwords etc., as pointed out by Tommi. Also, the game relies on building the NetHack game data file (called nhdat) for the Windows MAUI version using GnollHack.sln solution, which is another necessary step. Let me do a more complete set of instructions to the wiki to enable building the Windows version, and I send you link soon. I didn't have a chance to do this earlier, since I started looking at the WinUI version last Thursday.
from maui.
Hi @janne-hmp , I can't build GnollHackM (.NET MAUI 9.0 project), the error is as follows, can you update the repository to help us reproduce the error?
Thanks for your patience.
Here's the link to the more detailed version of the build instructions: https://github.com/hyvanmielenpelit/GnollHack/wiki/Build-Instructions-for-WinUI3-Version-on-Windows-(.NET-MAUI)
The whole Windows .NET MAUI version is very recent work-in-progress (started last week) so it was tough to say if the instructions are fully complete yet, but hopefully so. The build process is currently a bit intricately tied to both old NetHack / GnollHack Win32 Windows version (which generates Windows nhdat
game data file) and old Xamarin.Forms version (originally just Android and iOS), where the rest of the code comes from, so it is not super-straightforward currently. The gnollhackwin project creates the GnollHack C library called gnollhackwin.dll
to win\win32\xpl\GnollHackM\Platforms\Windows\libs
. That said, I managed to make .NET MAUI version work for me (even getting debugging work for the C library), and the game works generally well for Android and iOS in both Xamarin and .NET MAUI.
In any case, let me know if you encounter any further problems, and I can fix the instructions, if need be.
from maui.
Please attach a small reproduction sample to help debug this issue. A large app may have other, unrelated side effects and it is hard to debug any specific issue when there are many steps to get working. A smaller sample will help us get to it faster.
Also, please attach the full stack trace even if it does not make sense as there may be hints in there for the Windows teams.
from maui.
Hi @janne-hmp. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md
This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.
from maui.
I actually figured out where this was coming from. It was caused by me accidently calling a non-exported function from a DLL, which the system did not find. The error message was just extremely weird, indicating something wrong with combase while in fact P/Invoke did not find the function from the DLL. Perhaps that can be made a bit clearer going forward. I added now the __declspec(dllexport) attribute to the function on the DLL side, and this work out now ok in that respect.
from maui.
Related Issues (20)
- react native is used extensively in microsoft. Why should anyone use maui? HOT 2
- [iOS] Tooltip doesn't work HOT 4
- Unable to scroll Horizontal GridItemsLayout in CollectionView with a mouse wheel HOT 2
- Entry indicator wireframe rendering offset issue after clear button display HOT 2
- Views donβt default to native attributes HOT 6
- Scrollview doesn't recognize scroll command after any gesture recognizer implemented HOT 3
- Use native styling in project template
- [Android] ListView item rendering breaks when activity is Finished HOT 2
- DatePicker and TimePicker use outdated controls on iOS HOT 3
- Unhandled Exception appearing randomly HOT 2
- Android keystore parameter is relative to the project path not the working directory. HOT 2
- [Windows] Shell Flyout overlaps Title bar HOT 3
- [Android][CollectionView]Crash when quickly clicking to delete item HOT 2
- GestureRecognizers overlaps in a control HOT 2
- [MAUI][VS Code]When you quickly scroll the Vertical CollectionView, the page will get stuck. HOT 2
- Webview Navigating Cancel = true request is still send on WinUI HOT 1
- [Windows] Horizontal Scrollview and StackLayout not scrolling with mouse scroll wheel HOT 2
- [iOS] CollectionView flickers when Label in DataTemplate has TextType="Html" HOT 2
- [iOS] Crash because of FontIconSource HOT 2
- Geolocation.StartListeningForegroundAsync stopps calling event after 2 positions on Android HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maui.