Current Server Time: 01:52 (Central Europe)

#apertus IRC Channel Logs

2019/01/24

Timezone: UTC


23:31
aombk
joined the channel
01:10
illwieckz
left the channel
01:10
illwieckz
joined the channel
01:11
siddhantsahu
joined the channel
01:11
siddhantsahu
left the channel
01:30
illwieckz
left the channel
04:27
BAndiT1983|away
changed nick to: BAndiT1983
04:36
Bertl_oO
off to bed now ... have a good one everyone!
04:36
Bertl_oO
changed nick to: Bertl_zZ
05:31
futarisIRCcloud
joined the channel
05:47
BAndiT1983
changed nick to: BAndiT1983|away
06:02
BAndiT1983|away
changed nick to: BAndiT1983
07:41
futarisIRCcloud
left the channel
07:50
siddhantsahu
joined the channel
07:50
siddhantsahu
left the channel
07:53
se6astian|away
changed nick to: se6astian
08:19
se6astian
changed nick to: se6astian|away
08:26
se6astian|away
changed nick to: se6astian
08:29
se6astian
changed nick to: se6astian|away
08:59
BAndiT1983
changed nick to: BAndiT1983|away
09:01
comradekingu
left the channel
09:02
se6astian|away
changed nick to: se6astian
09:58
BAndiT1983|away
changed nick to: BAndiT1983
12:13
RexOrCine|away
changed nick to: RexOrCine
12:31
Bertl_zZ
changed nick to: Bertl
12:31
Bertl
morning folks!
13:01
BAndiT1983
changed nick to: BAndiT1983|away
13:05
LordVan
joined the channel
13:50
BAndiT1983|away
changed nick to: BAndiT1983
14:07
sushmitaraj
joined the channel
14:08
sushmitaraj
hi
14:09
se6astian
good day
14:22
LordVan
left the channel
15:04
sebastian_
joined the channel
15:04
sushmitaraj
left the channel
15:04
sebastian_
In file included from /home/sebastian/github2/AXIOM-Remote/AXIOM_Remote_Prototype_V01.X/main.h:16:0,
15:04
sebastian_
from /home/sebastian/github2/AXIOM-Remote/AXIOM_Remote_Prototype_V01.X/menu.c:21:
15:04
sebastian_
/home/sebastian/github2/AXIOM-Remote/AXIOM_Remote_Prototype_V01.X/definitions.h:16:16: fatal error: xc.h: No such file or directory
15:04
sebastian_
compilation terminated.
15:06
BAndiT1983
this is probably still an artefact from the merge, main.h should not be included there, my proposed hierarchy is starting at globals.h, this one should be used for main definitions
15:06
se6astian
but main.h is required for the icons
15:07
se6astian
move icons to global.h as well?
15:07
BAndiT1983
they should be already there, let me check
15:07
BAndiT1983
in the media folder i've included media.h file which includes them, as the icons are .c files at the moment
15:08
se6astian
right
15:08
se6astian
but where did you include media.h?
15:08
BAndiT1983
so any menu/page which requires them, just includes media/media.h, if we move to external storage, then we can avoid this funky includes of .c
15:08
BAndiT1983
menu.c for example
15:09
se6astian
got it
15:09
BAndiT1983
we can also include them in globals, but i fear that the compiler will pump them all into the code, instead of just required ones
15:10
BAndiT1983
please check the build stats later, if there is any change
15:13
sebastian_
all errors solved
15:13
sebastian_
/usr/bin/ld: cannot find -lSDL2_image
15:13
sebastian_
collect2: error: ld returned 1 exit status
15:13
sebastian_
CMakeFiles/axiom_remote_visualizer.dir/build.make:198: recipe for target 'axiom_remote_visualizer' failed
15:13
sebastian_
make[2]: *** [axiom_remote_visualizer] Error 1
15:15
BAndiT1983
sudo apt install libsdl-image1.2-dev
15:15
BAndiT1983
sdl-image will be used for the virtual UI, to add image elements, like a knob, see sccreenshot
15:18
sebastian_
right, please add it to readme
15:18
comradekingu
joined the channel
15:19
sebastian_
make still fails with same error though
15:19
sebastian_
do I need to clean up first?
15:19
BAndiT1983
usually not, but try to rerun cmake
15:20
BAndiT1983
if that won't help, then you can edit cmake script to remove it from target libs, as current version is not using it
15:20
sebastian_
not change
15:20
BAndiT1983
will add CI build, to check on dependencies
15:20
BAndiT1983
TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${SDL2_LIBRARIES})
15:21
BAndiT1983
adjust CMakeLists.txt, so that the last line is looking like this
15:22
sebastian_
https://pastebin.com/bwtJavTF
15:23
BAndiT1983
first errors are telling me, that sdl2 is not bound correctly
15:23
BAndiT1983
is cmake output ok? or are there error?
15:23
BAndiT1983
*errors?
15:23
BAndiT1983
the other errors are about missing vars, which were renamed by removing underscores
15:24
sebastian_
yes working on the underscore vars currently
15:25
sebastian_
there are some
15:25
sebastian_
cmake reports no errors now
15:27
sebastian_
wait I made a mistake
15:27
sebastian_
CMake Error at CMakeLists.txt:35 (ADD_EXECUTABLE):
15:27
sebastian_
Target "axiom_remote_visualizer" links to item "-L/usr/lib/x86_64-linux-gnu
15:27
sebastian_
-lSDL2 " which has leading or trailing whitespace. This is now an error
15:27
sebastian_
according to policy CMP0004.
15:27
sebastian_
is what cmake reports
15:27
BAndiT1983
ah, maybe it's the cause of your problems
15:28
BAndiT1983
just add string(STRIP ${SDL2_LIBRARIES} SDL2_LIBRARIES)
15:28
BAndiT1983
under find_package line
15:28
BAndiT1983
i mean this one -> string(STRIP ${SDL2_LIBRARIES} SDL2_LIBRARIES)
15:30
sebastian_
great, now cmake is error free
15:32
sebastian_
page.c.o: In function `navigate_to_page':
15:32
sebastian_
page.c:(.text+0xd54): undefined reference to `startframebuffer_transition'
15:32
sebastian_
that function is in main.c
15:33
sebastian_
ah you commented it out for now
15:33
BAndiT1983
this is one of the methods i have deactivated in my version for now, have to check where to place it
15:34
BAndiT1983
as it's independent, we can possibly move it to draw.c
15:35
sebastian_
commented out as well, compile 100%
15:35
sebastian_
I see the menu!
15:35
BAndiT1983
but thanks for reminding me, will adjust the code and try to get animations in visualizer
15:36
BAndiT1983
very good! we are on a good way to provide some tool for development
15:36
sebastian_
indeed, historic moment!
15:37
sebastian_
pushed changes
15:39
BAndiT1983
thanks, will check them later
15:39
BAndiT1983
have you moved the fonts to the subfolder yet?
15:39
sebastian_
yes
15:40
BAndiT1983
good
15:42
BAndiT1983
we need also a second file like globals to hold parameters and related structs
15:43
sebastian_
good idea
15:44
sebastian_
are you home now and can push new visualizer?
15:46
BAndiT1983
give me a moment, adjusting the pages at the moment, afterwards i have to merge it to your folder and then i can push it
16:01
sebastian_
right, will head home soon
16:02
sebastian_
left the channel
16:05
se6astian
changed nick to: se6astian|away
16:07
BAndiT1983
se6astian|away, changes are pushed to my fork, please check if you can build them and can see the virtual UI with buttons and a knob, which is not working yet
16:09
BAndiT1983
button 7 and 8 are actually doing something, blanking the display to gray, probably because wrong routines are called, will check how to makes things simpler and prevent a lot of if/else
16:27
aombk2
joined the channel
16:28
aombk
left the channel
17:11
se6astian|away
changed nick to: se6astian
17:13
se6astian
home now, will check
17:13
se6astian
after some food
17:17
BAndiT1983
bon appetit!
17:17
BAndiT1983
off for a moment
17:23
RexOrCine
changed nick to: RexOrCine|away
17:24
RexOrCine|away
changed nick to: RexOrCine
17:39
BAndiT1983
changed nick to: BAndiT1983|away
17:44
se6astian
BAndiT1983|away: ping me when you are here, need instructions with the visualizer - compiled fine but still looks like the old one
17:56
anuejn
btw: i really liked axiom dictator
17:57
anuejn
bc it is not really a remote but rather a control surface. that was more clear with "dictator"
17:59
Bertl
it should have been called the 'Axiom Gamepad' :)
18:09
BAndiT1983|away
changed nick to: BAndiT1983
18:09
se6astian
I agree "dictator" was unique - but also not entirely with positive meaning :)
18:09
se6astian
ah there he is!
18:11
BAndiT1983
se6astian, am here, is something wrong? maybe you should execute cmake .. again, as there were new things added
18:11
se6astian
I deleted the build folder and started from scratch
18:11
BAndiT1983
you can call it conductor, you know, how the orchestra maestro ;)
18:14
se6astian
not a bad idea!
18:14
se6astian
I didnt include the 3rdParty folder, maybe thats the issue?
18:15
BAndiT1983
ah, my bad, should extend instructions
18:15
BAndiT1983
give me a sec
18:15
se6astian
moved readme into subfolder
18:15
se6astian
https://github.com/apertus-open-source-cinema/AXIOM-Remote/blob/master/axiom_remote_visualizer/README.md
18:15
se6astian
please extend there directly
18:15
BAndiT1983
git submodule update --init --recursive
18:16
se6astian
and how do I add it?
18:16
se6astian
reading up on it now
18:17
BAndiT1983
you should execute this command in the root folder of the project
18:17
BAndiT1983
we can move 3rdParty into visualizer folder later
18:18
anuejn
i would add ruler or monarch
18:19
anuejn
or simply lever ;)
18:22
BAndiT1983
crowbar, wrench, magic wand ;)
18:25
Bertl
ruler are used to measure things, monarchs are beautiful butterflies, levers are pulled and I do not comment about the other three suggestions :)
18:25
se6astian
git submodule update --init --recursive not doing anything
18:25
se6astian
I made sure .gitmodules is in place
18:26
se6astian
does anything else need to be prepared
18:31
BAndiT1983
usually not, the submodules should be initialized, then they are included in the build directly
18:32
BAndiT1983
se6astian, do you use any git client? using gitkraken here and it's more comfortable to handle things like submodules
18:33
anuejn
Bertl: with ruler we could do some nice case design ;-)
18:34
se6astian
I did it on the commandline
18:35
BAndiT1983
https://stackoverflow.com/questions/24057871/git-submodule-update-init-recursive-vs-git-submodule-foreach-recursive
18:35
BAndiT1983
maybe the second one in the answer could help
18:37
se6astian
reading
18:42
se6astian
manually added the submodule now - that works
18:47
sebastian_
joined the channel
18:47
sebastian_
/home/sebastian/github2/AXIOM-Remote/axiom_remote_visualizer/source/Main.cpp:7:28: fatal error: SDL2/SDL_image.h: No such file or directory
18:47
BAndiT1983
have you installed libsdl-image1.2-dev?
18:48
BAndiT1983
readme is extended with it already
18:48
se6astian
yes
18:50
illwieckz
joined the channel
18:50
BAndiT1983
https://stackoverflow.com/questions/6843572/sdl-sdl-image-h-no-such-file-or-directory
18:50
BAndiT1983
maybe it should be SDL2_image.h
18:51
BAndiT1983
really confusing between different linux distros
18:51
BAndiT1983
the version as it is in my fork, works on my ubuntu 18.10
18:52
se6astian
there is a libsdl2-image-dev - let me try that one
18:53
se6astian
think that works
18:53
illwieckz
left the channel
18:53
BAndiT1983
ah, you are right, have mixed the 2 up, as people still use sdl1 or sdl2 a lot
18:53
illwieckz
joined the channel
18:55
se6astian
VirtualUI.h tries to include page.h from the remote
18:55
se6astian
that doesnt exist
18:56
se6astian
its in your tree, will copy over
18:56
BAndiT1983
correct, have added a couple of headers to loosen up too tight dependency
18:58
sebastian_
on it
18:59
sebastian_
we should work on the same repo as soon as they are in sync...
19:10
BAndiT1983
ok, forked it to show possible adjustments as proposal, but if you are ok with it, then we can work on the same one
19:12
sebastian_
I hope I caught all changes now
19:12
sebastian_
https://pastebin.com/xQc5rtfn
19:12
sebastian_
remaining errors are in visualizer it seems
19:12
sebastian_
or are these missing ones from includes of remote
19:12
BAndiT1983
this ones are simple, they are defines in globalsw.h and globals.c
19:13
sebastian_
ah yes, see moves now
19:18
se6astian
making progress but gotta leave now
19:38
illwieckz
left the channel
20:04
se6astian
compile 100%
20:04
se6astian
segmentation fault
20:06
Bertl
use gdb
20:09
BAndiT1983
se6astian, knob image is missing
20:10
BAndiT1983
will added to repo, just use any png with knob_clean.png name
20:10
BAndiT1983
*will add it to repo
20:15
se6astian
ah, thanks
20:15
se6astian
my my lack of gdb skills would not have gotten me far
20:15
Bertl
I'm pretty sure they would have been more than sufficient
20:17
se6astian
the png did the trick!
20:17
se6astian
I see the buttons and menu now
20:18
BAndiT1983
7 and 8 are connected
20:19
BAndiT1983
but they jump to gray screen at the moment, have to analyze the routing in the firmware
20:19
BAndiT1983
first i will fix the image problem and add a folder which will be copied over to the build folder
20:22
sebastian_
left the channel
20:23
se6astian
thanks
20:23
se6astian
I will turn off for today
20:24
BAndiT1983
done
20:24
BAndiT1983
changes pushed, should not crash anymore, but needs proper error handling later
20:24
BAndiT1983
added also the source SVG file
20:25
se6astian
great
20:25
se6astian
we should next focus on merging the fork entirely
20:25
se6astian
in case I still missed anything
20:25
BAndiT1983
ok, we can check both forks with meld
20:28
se6astian
sure
20:28
se6astian
off to bed now
20:28
se6astian
good night
20:28
se6astian
changed nick to: se6astian|away
21:35
davidak
joined the channel
21:40
davidak
left the channel
21:51
BAndiT1983
changed nick to: BAndiT1983|away
21:59
RexOrCine
changed nick to: RexOrCine|away
22:14
vup2
BAndiT1983|away: what is the reason for using the systemd api manually in the control daemon, if I understand the service file correctly just using stdin for the socket and stderr for logging should do the exact same thing and would be compatible with inetd
22:25
anuejn
good night, everyone :)
22:25
Bertl
nn
22:26
vup2
Bertl: did you already try out the new image? is ethernet working fine for you?
22:27
Bertl
not yet
22:27
vup2
ok
22:52
illwieckz
joined the channel