--- Log opened Wed Dec 28 00:00:42 2016 00:06 -!- xenos1984 [~xenos1984@22-164-191-90.dyn.estpak.ee] has joined #navit 05:57 -!- pini [~pini@bou-fi.pustule.org] has joined #navit 07:06 -!- pini [~pini@bou-fi.pustule.org] has quit [Ping timeout: 256 seconds] 09:34 -!- pini [~pini@bou-fi.pustule.org] has joined #navit 10:01 -!- pini [~pini@bou-fi.pustule.org] has quit [Ping timeout: 260 seconds] 11:00 -!- arny [~arny@cpc90324-wolv19-2-0-cust322.16-1.cable.virginm.net] has joined #navit 11:00 #navit: < arny> hey 11:01 #navit: < arny> I've just spent like 2 hours trying to get navit-0.5.0.tar.gz to compile and work 11:01 #navit: < arny> seems absolutely completely broken 11:02 #navit: < arny> I've got it compiled and installed but still broken, missing images etc 11:02 #navit: < arny> after working round about 5 problems whilst compiling 11:53 #navit: < kazer> 1hi there 11:53 #navit: < kazer> hey arny 11:53 #navit: < kazer> that's odd. let's fix that! what is your platform and what issues have you faced? 11:54 #navit: < arny> hi 11:54 #navit: < arny> ok I've kinda got it working now 11:54 #navit: < arny> you want the list of issues... 11:54 #navit: < arny> if I can remember them all 11:55 #navit: < kazer> yeah i'd like to fix them :) 11:55 #navit: < arny> using configure, make etc, compile fails because the C compiler doesnt get a proper version string, don't have that problem with cmake though 11:57 #navit: < kazer> ah! yeah we are moving away from autotools, so it's not really maintained 11:57 #navit: < arny> then it failed because a CAIRO ANTIALIAS GOOD constant wasnt recognised, I fixed that by changing the 'GOOD' part to 'DEFAULT' (maybe I have an old version of the lib, or maybe the programmer just got confused 11:58 #navit: < kazer> mmm never seen this one. what's your os version? 11:58 #navit: < arny> then the compile failed because it needed the -lrt option passing to the compiler/linker 11:59 #navit: < arny> I struggled with that for ages as I couldnt find where to tell the cmake stuff to include compiler options (I ended up just using a shell script wrapper round gcc and ld) 12:01 #navit: < arny> then make failed because it couldnt create an image, oddly a few attempts after the make continued, and make install succeeded too, and navit ran but was missing all the images 12:02 #navit: < arny> I realised that problem was caused by "make clean" deleting all the image files 12:02 #navit: < kazer> would you mind retrying to build from scratch in a new folder? so that we can reproduce and troubleshoot? 12:02 #navit: < arny> I got it working by copying navit/xpm/* etc from the original tar file over the copy I was working with 12:02 #navit: < arny> I'm using linux 12:03 #navit: < arny> about a 3 year old system 12:03 #navit: < arny> slackware 12:06 #navit: < kazer> ok. for the images there's 2 options, convert the svg to png or use the svg directly. we can look into that 12:06 #navit: < arny> I'm not really familar with cmake, I did: cmake . ; make ; make install 12:06 #navit: < kazer> the cmake summary from a clean build would help troubleshoot 12:06 #navit: < arny> I think the make clean deteted the source 12:06 #navit: < kazer> ok. one of the benefits of cmake is that it will build in a different folder, leaving your source directory clean 12:06 #navit: < arny> I tried a find . -name '*.svg' -print 12:07 #navit: < kazer> so instead, usually you would do mkdir bin && cd bin && cmake .. && make 12:07 #navit: < arny> and a find . -name '*.png' -print 12:07 #navit: < arny> and got virtually nothing 12:07 #navit: < kazer> images should be in navit/xpm 12:08 #navit: < arny> could you put basic instructions in the README file? 12:08 #navit: < arny> yeah if you do a cmake . ; make clean 12:08 #navit: < arny> it deletes them 12:09 #navit: < kazer> i think that it's because you did the build in the source directory 12:09 #navit: < arny> I see 12:09 -!- zoff99 [~chatzilla@unaffiliated/zoff99] has joined #navit 12:10 #navit: < kazer> you can create the build folder really anywhere, you just need to point cmake to the source folder "cmake $path" 12:10 #navit: < kazer> hi zoff99 12:10 #navit: < arny> ok what about the -lpr problem? 12:10 #navit: < arny> ack 12:10 #navit: < arny> ok what about the -lrt problem? 12:10 #navit: < arny> even 12:10 #navit: < kazer> not sure about this one yet. but let's reproduce it. 12:11 #navit: < arny> do you know offhand how I would have told the cmake stuff to add the -lrt option to gcc / ld ? 12:12 #navit: < kazer> you should not need to, as it should be in the NAVIT_LIBS variable when required 12:15 #navit: < arny> #ifdef _WIN32 12:15 #navit: < arny> gettimeofday(&ts, NULL); 12:15 #navit: < arny> #else 12:15 #navit: < arny> clock_gettime(CLOCK_REALTIME, &ts); 12:15 #navit: < arny> #endif 12:15 #navit: < arny> is what needed the -lrt option 12:15 #navit: < arny> in navit/maptool/maptool.c 12:17 #navit: < arny> ok I'll try a fresh build with cmake 12:17 #navit: < arny> in a seperate directory 12:18 #navit: < kazer> mmm interesting. I'll try to reproduce that. In the meantime you can disable the maptool build using "-DBUILD_MAPTOOL=n" 12:20 #navit: < arny> to make or cmake ? 12:20 #navit: < kazer> cmake 12:21 #navit: < arny> no option to tell cmake to link with the rt library? 12:21 #navit: < arny> that's all it needs 12:21 #navit: < arny> the man page for clock_gettime says so 12:22 #navit: < kazer> adding the -lrt option should not be a cmake argument, but should be handled in the CmakeLists i'll have a look 12:25 #navit: < arny> ok, first error on a clean build: 12:25 #navit: < arny> [ 3%] Building C object navit/graphics/gtk_drawing_area/CMakeFiles/graphics_gtk_drawing_area.dir/graphics_gtk_drawing_area.c.o 12:25 #navit: < arny> /root/install/navit-0.5.0/navit/graphics/gtk_drawing_area/graphics_gtk_drawing_area.c: In function 'configure': 12:26 #navit: < arny> /root/install/navit-0.5.0/navit/graphics/gtk_drawing_area/graphics_gtk_drawing_area.c:612:35: error: 'CAIRO_ANTIALIAS_GOOD' undeclared (first use in this function) 12:29 #navit: < arny> 12:29 #navit: < arny> fixing that with: 12:29 #navit: < arny> cairo_set_antialias (gra->cairo, CAIRO_ANTIALIAS_DEFAULT); 12:30 #navit: < arny> in line 612 of ../navit/graphics/gtk_drawing_area/graphics_gtk_drawing_area 12:30 #navit: < arny> .c 12:34 #navit: < arny> 12:34 #navit: < arny> image generation working this time ;-) 12:36 #navit: < arny> just built ;-) 12:39 #navit: < kazer> ok thanks. What version of cairo are you using? 12:45 #navit: < arny> OK great, seems to be working, so just needs some instructions of how to use cmake in the README file, and the cairo issue addressing 12:46 #navit: < arny> because building in a separate directory seems to have fixed the -lrt issue, and the make clean deleting the image source files issue 12:47 #navit: < kazer> ok. Did you disable the maptool build ? 12:47 -!- gernot_ [54968703@gateway/web/freenode/ip.84.150.135.3] has joined #navit 12:47 #navit: < gernot_> gernot 12:48 #navit: < kazer> hi gernot_ 12:48 #navit: < gernot_> hi 12:48 #navit: < arny> cairo-1.10.2 12:48 #navit: < arny> no, I didn't need to 12:49 #navit: < gernot_> kazer: the osd_cmdinterface /roll map problem exist also in the linux version. 12:49 #navit: < arny> for some reason it must have correctly realised it neeeded to link in the rt library 12:49 #navit: < gernot_> its not the cmdinterface itself, but a command. 12:49 #navit: < kazer> arny: ok thank that's helpful 12:49 #navit: < gernot_> I send demo code... 12:50 #navit: < arny> of course this release is from december 2015 I think, I think that's the most recent one? 12:51 #navit: < gernot_> kazer: http://pastebin.com/bXpYehuv 12:51 #navit: < kazer> arny: the most recent code would be https://github.com/navit-gps/navit/ but we haven't rolled out a release yet 12:52 #navit: < kazer> the code from github is worth a shot though as it's what most of us are using 12:52 #navit: < gernot_> The problem is "osd[@name=="my_osd_text"].label=" 12:52 #navit: < arny> yeah just saying incase you've already fixed any of it 12:53 #navit: < arny> it needs something adding in the README, otherwise people may try the autogen stuff with has an additional problem 12:53 #navit: < kazer> good point arny i'll update the doc thank you 12:53 #navit: < arny> there's a dead link in the README too 12:54 #navit: < kazer> gernot_: so this item is the one that makes your map jump? 12:54 #navit: < gernot_> Yes. it is the same at TT and actual linux. 12:55 #navit: < arny> could maybe add the minimum libary version requirements to address the cairo thing maybe (if it is a version problem) 12:56 #navit: < gernot_> The map only jump back while the mouse grab the map to scroll. 12:57 #navit: < kazer> arny: which link is dead? 12:57 #navit: < kazer> arny: yeah we can also check the version using cmake. i'll have to find the exact minimum required version 12:57 #navit: < kazer> thanks gernot_ that's helpful 13:14 #navit: < arny> If you don't know where to start, we recommend you to read the 13:14 #navit: < arny> Interactive Help : http://wiki.navit-project.org/index.php/Interactive_help 13:14 #navit: < kazer> thanks arny 13:17 -!- zoff99 [~chatzilla@unaffiliated/zoff99] has quit [Quit: ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.1/20090707221522]] 13:17 #navit: < arny> thanks for the help, good to know what was causing the issues 13:17 #navit: < arny> how'd you zoom in and out? ;-) 13:17 #navit: < kazer> np. Feel free to ask if you have any questions, and we are always interested in feedback 13:18 #navit: < kazer> to zoom, you should enable the zoom OSD in navit.xml 13:18 #navit: < kazer> i thought that they were enabled by default :) 13:19 #navit: < kazer> but they arent : https://github.com/navit-gps/navit/blob/trunk/navit/navit_shipped.xml#L177-L178 13:19 #navit: < kazer> arny: one of the key features of navit is that it is highly configurable. The drawback is that.. some configuration is needed :) 13:19 #navit: < kazer> here is an example : https://github.com/pgrandin/navit-nuc-layout 13:20 #navit: < kazer> (nuc_osd.xml is where most of the magic happens for this example) 13:23 #navit: < kazer> i have to step out but i'll be back in a few 13:24 #navit: < arny> OKs 13:25 #navit: < gernot_> Ok. 13:27 #navit: < gernot_> a additional info for ommand interface. Therosd_set_attre are a alternate command to change the label, but it give an error: osd_set_attr unknown command 13:30 #navit: < gernot_> a additional info for command interface: There are a alternate command to change the label, but it give an error: osd_set_attr unknown command 14:20 #navit: < gernot_> I think that the skip trigger is the drawing of the changed text, not the write to the osd variable. without the osd type="text" no problem. 14:48 #navit: < kazer> thanks gernot_ that's helpful 14:50 #navit: < gernot_> The text is not drawn while scrolling, but may be it sends a display refresh trigger 14:51 #navit: < gernot_> Use you nuc layout? 14:52 #navit: < kazer> yep 14:52 #navit: < gernot_> It use icons instead of text. Can you scroll without problems? 14:52 #navit: < kazer> nuc layout and osd. There's two parts in my repo 14:53 #navit: < kazer> give me a sec i'll share a video 14:58 #navit: < kazer> gernot_: https://cloud.kazer.org/index.php/s/O3dRHVrfyHgnrI0 15:03 #navit: < gernot_> Yes, I will try this 15:04 #navit: < gernot_> Then i show in place of next_turn 15:05 -!- j_f-f [~quassel@rs-6.jff-webhosting.net] has quit [Remote host closed the connection] 15:08 -!- j_f-f [~quassel@rs-6.jff-webhosting.net] has joined #navit 15:13 #navit: < kazer> cool 15:13 #navit: < gernot_> kazer: It save display space because next_turn is blank while route calvulating 15:15 #navit: < gernot_> 480x272 4.3'' is real small :-) 15:39 #navit: < kazer> indeed :) 15:54 #navit: < gernot_> by 15:55 -!- gernot_ [54968703@gateway/web/freenode/ip.84.150.135.3] has quit [] 19:06 -!- xenos1984 [~xenos1984@22-164-191-90.dyn.estpak.ee] has quit [Quit: Leaving.] 19:09 -!- Horwitz [~mich1@p200300800E08B600022268FFFE64E7C4.dip0.t-ipconnect.de] has quit [Ping timeout: 258 seconds] 19:23 -!- Horwitz [~mich1@p200300800E0B7E00022268FFFE64E7C4.dip0.t-ipconnect.de] has joined #navit 19:23 -!- mode/#navit [+o Horwitz] by ChanServ 19:54 #navit: < Navit> The following compiles failed: http://download.navit-project.org/logs/navit/android_armv5te/svn/navit-svn-7147.failed http://download.navit-project.org/logs/navit/openmoko/svn/navit-svn-7147.failed http://download.navit-project.org/logs/navit/win32/svn/navit-svn-7147.failed http://download.navit-project.org/logs/navit/n800/svn/navit-svn-7147.failed http://download.navit-project.org/logs/navit/android_armv4t/svn/navit-svn-7147.failed http://download.na 19:54 #navit: < Navit> /svn/navit-svn-7147.failed http://download.navit-project.org/logs/navit/tomtom/svn/navit-svn-7147.failed 19:54 #navit: < Navit> See compile results history at http://download.navit-project.org/logs/navit/stats.html 20:53 #navit: < Navit> The following compiles failed: http://download.navit-project.org/logs/navit/android_armv5te/svn/navit-svn-7147.failed http://download.navit-project.org/logs/navit/openmoko/svn/navit-svn-7147.failed http://download.navit-project.org/logs/navit/win32/svn/navit-svn-7147.failed http://download.navit-project.org/logs/navit/n800/svn/navit-svn-7147.failed http://download.navit-project.org/logs/navit/android_armv4t/svn/navit-svn-7147.failed http://download.na 20:53 #navit: < Navit> /svn/navit-svn-7147.failed http://download.navit-project.org/logs/navit/tomtom/svn/navit-svn-7147.failed 20:53 #navit: < Navit> See compile results history at http://download.navit-project.org/logs/navit/stats.html --- Log closed Thu Dec 29 00:00:43 2016