CartoType / CartoType-Public-8.0

Publicly available source code for CartoType 8.0
MIT License
2 stars 0 forks source link

Please share spec. version of CartoType special for your GLUWP fork... #1

Closed mediaexplorer74 closed 1 year ago

mediaexplorer74 commented 2 years ago

Hi, I tried to "assemble" your GLUWP fork (solution). The result: false. The SampleApp.csproj contains the lines: `

False C:\Users\graham\CartoType\src\main\single_library\uwp\CartoType\x64\Release\CartoType\CartoType.winmd

` Please share your "uwp-compatible" version of CartoType library special tweaked for your GLUWP fork. I need it to research your fork compatibility with W10M...

Best wishes, mediaexplorer

GrahamAsher commented 2 years ago

Sorry for the late reply. I’m travelling right now and will be back at work on 26th Oct. I’ll try to answer you fully then.

Graham

On 23 Oct 2022, at 01:57, mprabhakarece @.***> wrote:

 =0D I=E2=80=99m trying to build this from source, and failing= .

=0D =0D Check out CartoType-Public repository, look around, observe .pro file= s and so try running qmake and then Make in src/apps/Maps: =0D =0D @. ~$ git clone https://github= .com/CartoType/CartoType-Public=0D @. ~$ cd CartoType-Public/src/apps/Maps=0D @. ~/CartoType-Public/src/apps/Maps$ <= span class=3D"pl-s1">qmake=0D Info: creating stash file /home/user/CartoType-Publ= ic/src/apps/Maps/.qmake.stash=0D @. ~/CartoType-Public/src/apps/Maps$ <= span class=3D"pl-s1">make=0D make: No rule to make target '/home/user/CartoT= ype-Public/src/apps/Maps/../../main/platform/qt/CartoTypeQtMapRenderer/bu= ild64/release/libCartoTypeQtMapRenderer.a', needed by 'CartoTypeMaps'. S= top. =0D =0D OK, so I guess we need to build CartoTypeQtMapRenderer first: =0D= =0D @. ~/CartoType-Public/src/apps/Maps$ cd ../../main/platform/qt/CartoTypeQt= MapRenderer=0D @. ~/CartoType-Public/src/main/platform/qt/Ca= rtoTypeQtMapRenderer$ qmake=0D Info: creating stash file /path/to/CartoType-Public= /src/main/platform/qt/CartoTypeQtMapRenderer/.qmake.stash=0D WARNING: Failure to find: ../../../graphics/cartoty= pe_opengl_es_render.cpp=0D WARNING: Failure to find: ../../../library/libtess2= /bucketalloc.c=0D WARNING: Failure to find: ../../../library/libtess2= /dict.c=0D WARNING: Failure to find: ../../../library/libtess2= /geom.c=0D WARNING: Failure to find: ../../../library/libtess2= /mesh.c=0D WARNING: Failure to find: ../../../library/libtess2= /priorityq.c=0D WARNING: Failure to find: ../../../library/libtess2= /sweep.c=0D WARNING: Failure to find: ../../../library/libtess2= /tess.c =0D =0D Uh oh, failed to find some of the things needed. Can=E2=80=99t get ca= rtotype_opengl_es_render.cpp, but libtess2 I can find: =0D =0D @. ~/CartoType-Public/src/main/platform/qt/CartoTypeQtMapRe= nderer$ cd ../.= ./../library=0D @. ~/CartoType-Public/src/main/platform/qt/Ca= rtoTypeQtMapRenderer$ git clone https://gith= ub.com/memononen/libtess2 ../../../../../../libtess2=0D @. ~/CartoType-Public/src/main/platform/qt/Ca= rtoTypeQtMapRenderer$ ln -s ../../../../libt= ess2/Source ../../../library/libtess2=0D @. ~/CartoType-Public/src/main/platform/qt/Ca= rtoTypeQtMapRenderer$ qmake=0D WARNING: Failure to find: ../../../graphics/cartoty= pe_opengl_es_render.cpp =0D =0D Well, slightly better, I guess. It says =E2=80=9Cwarning=E2=80=9D, wh= at happens if I try building without it? =0D =0D @. ~/CartoType-Public/src/main/platform/qt/CartoTypeQtMapRe= nderer$ make=0D g++ -c -pipe -O2 -fPIC -std=3Dgnu++1y -Wall -Wextra= -D_REENTRANT -DCARTOTYPE_FOR_QT -DNDEBUG -DQT_NO_DEBUG -DQT_GUI_LIB -DQT= _CORE_LIB -I. -I../../../base -I../../../framework -I../../../graphics -I= ../../../mapdata -I../../../svg -I../../../xml -I../../../library/libtess= 2 -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. = -I/usr/lib/qt/mkspecs/linux-g++ -o cartotype_qt_maprenderer.o cartotype= qt_map_renderer.cpp=0D cartotype_qt_map_renderer.cpp:9:10: fatal error: ca= rtotype_vector_tile.h: No such file or directory=0D 9 | #include "cartotype_vector_tile.h"=0D=

  |          ^~~~~~~~~~~~~~~~~~~~~~~~~=0D=

compilation terminated.=0D make: *** [Makefile:825: cartotype_qt_map_renderer.= o] Error 1 =0D =0D OK, seems I=E2=80=99m stuck, there=E2=80=99s no cartotype_vector_tile= .h anywhere. =0D =0D Maybe this is deliberate, but I file this issue in the ho= pe that it=E2=80=99s not. =F0=9F=99=82

=0D =0D &m= dash; You are receiving this because you are subscribed to this thre= ad. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go = with GitHub Mobile for iOS = or Android.=0D

=0D =

GrahamAsher commented 1 year ago

I haven't forgotten about this but I'm sorry, I've just been too busy fixing other things.

mediaexplorer74 commented 1 year ago

I haven't forgotten about this but I'm sorry, I've just been too busy fixing other things.

NP. I found another OpenGL-UWP solution... and tried on my old sweet Lumia 950. I catchad "white screen" phantom/effect. So, W10M is too old... No DX12, and normal OpenGL support... I decided to cancel this "GL-over-UWP game". Sorry for disturbing you. Cheers up, Andy