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
[2.5D Map] Future #440
Comments
good job. @wolfgang-ch: have you compiled it with ant? the crash when running from ide is not new. that was occurring on windows since a while. wasnt it the problem, to build MT with a newer eclipse, necessary for the dark theme? have you tried to build MT with a new eclipse? |
no
no, I don't expect that it will work
I don't know, I tested the build with Eclipse 21-06 and this worked |
Since my last commit 86dab61, a week ago, I try to setup a dev environment to build I discovered, that the build script build-windows64.xml existed in the the commit 59ab24d from 2014-09-20 but was deleted the commit afterwards. So I tried to build With The good news is, that this created .dll is working as the old .dll but now the investigations start, to find the reason why it's still crashing I save my dev tests in this branch https://github.com/mytourbook/vtm/commits/0.16_with_build-windows64.xml My C/C++ environment:
|
With very useful hints from corretto/corretto-11#178 (comment) I could fix this exception in mytourbook/vtm@351183c :-) ...
... but now another exception occurs
|
Could also fix the above reading address exceptions in mytourbook/vtm@7ac4f9b, it had the same problem, long -> jlong and now the 2.5D map is working in the Eclipse IDE 2021-12 :-)))) Finally, I will update the vtm plugin but you could test it already now by copying the new |
👏 👏 |
was an interesting bug. good finding. |
When I started this rescue project for the 2.5D map, I didn't know how long it takes and if I will succeed. Then was the question, how to fix it. I searched a lot in the internet until I found this corretto/corretto-11#178 (comment) issue and read the whole comment which is explaining why this exception happens. With the classic printf statements (I could not debug it) I could see at which line the crash happens. With this additional lines in the build file For me it was like a "Heureka" when the first exception was fixed as it didn't look that I could fix it, but then, the second exception occurred. With the knowledge of the first fix, the fix for the second exception was easy, it was the same as the first and then the 2.5D map worked as years before in the IDE I had some C skills from the 1980s when during my study, I helped a small company http://www.hellak.de/ to develop a mobile computer with a Z80 processor, 4x40 matrix display and membrane keyboard for the forester, to gather all data of harvested timber, e.g. wood, length, diameter,... I named this product HMC2000 but you cannot find anything about it in the internet. |
PR mapsforge/vtm#911 is merged into vtm project mapsforge/vtm@84ccf9d |
Yes setting up the ide and a successful first build is always a milestone for me.
i had read this comment also completely, it was really interesting.
for me i did not have much hope for a fix. i thought it would be a complicate 3D/GL problem.
My first computer had also a Zilog Z80a Processor. "Color Genie" |
My first computer was a ZX81 followed by SV-328 and then I had the idea to create/build a board computer for my car. I did a lot of tests (with water) but was not able to measure the flow of petrol, it meashured every time a different value. But I could place a sensor at the speedometer, so I could display time, distance and speed. I remember that the board computer was ready when we traveled to Portugal 1986, just after Tschernobyl havarie Sadly there is no picture from the hardware, it had a 4 digit display and a few buttons. This was circuit layout Keyboard / display features How to get a 1 second clock from the extreemly fast 4 MHz cpu clock :-) Counter for the distance Decoding memory Decoding I/O All was programmed with tons of assembler and all by hand. There was no multiply or division command in the Z80 but I could find such an assembler routine. When the program started, it made a display test by displaying 88:88 Routine to display 4 digits Routine to output one digit This was my cheat sheet with all Z80 commands |
my computer dealer had ZX81 and ColorGenie. i choosed the CG because i did not like the Keyboard from the Sinclair.
you will never need it again, but youre heart hang on it.
the 8255 was a great chip 3* 8bit IO.
twice speed of mine. 2,2Mhz But i upgraded my one from 16KB to 32KB
when i saw youre program listening, i had a Dejavu. often i had failures, in my first job later i had a VMEBug for 68000.
this i had also ;-) |
The 2.5D map has currently the following issue when using Eclipse > 2021-06 - MT is crashing
This issue is also discussed in https://groups.google.com/g/cruiser-users/c/bq3cXl9_ZvM where another app has the same issue. According to this discussion, this issue can may be fixed when the source is recompiled.
According to Emux words, who is currently the main VTM contributor, he is not planning to fix this issue in the near future
Emux: "There are no plans to change VTM compile, as it has to work on Android."
https://groups.google.com/g/cruiser-users/c/bq3cXl9_ZvM/m/FcA1f3bUBAAJ
When this issue is not fixed, then we are trapped with Eclipse 2021-06.
I've too few skills to fix/debug this issue, the source is in https://github.com/mapsforge/vtm/tree/master/jni
The text was updated successfully, but these errors were encountered: