Current Server Time: 11:50 (Central Europe)

#apertus IRC Channel Logs

2019/01/24

Timezone: UTC


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