Current Server Time: 13:48 (Central Europe)

#apertus IRC Channel Logs

2019/01/26

Timezone: UTC


06:53
se6astian|away
changed nick to: se6astian
08:09
BAndiT1983|away
changed nick to: BAndiT1983
08:16
se6astian
changed nick to: se6astian|away
08:20
BAndiT1983
se6astian|away, could you please try to build the firmware from command line? according to the mplab forum the command is: make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
08:21
BAndiT1983
tried to build in docker container, but it tries to execute the compiler from your machine, still investigating how to force it to use my local commands and not yours
08:21
BAndiT1983
you can find your absolute paths in a makefile
08:26
BAndiT1983
or we can try to move the build, like vup2 and anuejn suggested, to gcc or clang
08:28
BAndiT1983
changed nick to: BAndiT1983|away
08:31
BAndiT1983|away
changed nick to: BAndiT1983
10:25
Bertl
changed nick to: Bertl_zZ
10:37
se6astian|away
changed nick to: se6astian
10:38
se6astian
Will do BAndiT1983
10:38
se6astian
just arrived at office
10:38
BAndiT1983
take your time
11:24
RexOrCine|away
changed nick to: RexOrCine
12:57
sebastian_
joined the channel
12:58
sebastian_
BAndiT1983: mplabx seems to execute the following for building: make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
12:58
sebastian_
that is from the AXIOM-Remote/AXIOM_Remote_Prototype_V01.X/ directory
12:59
sebastian_
current errors: menu.c:27:16: error: static declaration of 'menu_offset' follows non-static declaration
12:59
sebastian_
static uint8_t menu_offset = 0; // when scrolling the menu this is the offset for the items
13:01
sebastian_
I see the same variable being declared in menu.c and globals.c
13:01
sebastian_
thats the source of the problem I assume
13:15
BAndiT1983
remove static in front
13:16
BAndiT1983
ah, right, then just remove it from menu, as i suppose that it will be used multiple times
13:16
BAndiT1983
between menus, i mean
13:23
BAndiT1983
sebastian_, tried the build command yesterday, after reading mplab forum about building from command line, but it quits as the paths to compiler are wrong, the cause is absolute paths from your computer
13:24
BAndiT1983
it's a shortcoming of mplab stuff, will check their forums again, but the docker container received latest version of their compiler
13:40
sebastian_
left the channel
13:41
sebastian_
joined the channel
13:56
sebastian_
wouldnt the same makefile with relative paths work as well?
13:57
sebastian_
needs to be tested I assume
13:57
BAndiT1983
of course, but we have to investigate, as CI should pull the repo and build it without much hassle, at the moment it's not possible
14:13
BAndiT1983
sebastian_, please read the comment in Makefile-local-default.mk file, do me a favour, remove/rename the file and open the project again, just as a test if the file can be removed for successful system independent build
14:13
sebastian_
checking
14:14
sebastian_
I got the code to almost compile again
14:14
sebastian_
now there is just some memory related error left...
14:16
BAndiT1983
which one?
14:17
BAndiT1983
also check please if the build folder of visualizer contains now the images folder with knob image, i'Ve supplied PNG and SVG, no license problems there, as they were created by me
14:17
sebastian_
"Finally, you can also # avoid using this file at all if you are only building from the command line with make."
14:17
sebastian_
is the next line related to that?
14:18
sebastian_
images are in https://github.com/apertus-open-source-cinema/AXIOM-Remote/tree/master/axiom_remote_visualizer/images
14:19
sebastian_
compile log: https://pastebin.com/X0gzNqvL
14:20
BAndiT1983
my comment was about checking if the images folder is residing next to the executable
14:20
BAndiT1983
will check with another xc32 docker container if i can build if the file is not there
14:20
BAndiT1983
checking log now
14:20
sebastian_
ok
14:21
BAndiT1983
oha, seems like there is something wrong, as the complaints are about exceeding the regions
14:21
BAndiT1983
what is .bss
14:21
BAndiT1983
?
14:22
BAndiT1983
nevermind -> .data for initialized data and .bss for uninitialized
14:24
sebastian_
possibly related to lots of vars being declared in main.h
14:24
sebastian_
that was already removed a few commits back but got in again through the merge
14:25
sebastian_
all moved to globals.c and globals.h
14:27
sebastian_
fixed
14:27
sebastian_
compiled
14:28
sebastian_
will push now
14:30
sebastian_
done
14:31
BAndiT1983
after removing the local default file, it complains about -g not found, investigating what's the cause
14:31
BAndiT1983
but at least it now tries to build
14:32
sebastian_
great
14:32
sebastian_
will try visualizer now
14:37
sebastian_
almost succeeds: https://pastebin.com/3KcautU1
14:37
sebastian_
lots of font related problems
14:38
BAndiT1983
let me check local state
14:38
BAndiT1983
do you have them in your globals.c?
14:39
BAndiT1983
there is still one with underscore
14:39
BAndiT1983
and in .h they all have them
14:39
sebastian_
yes just see it
14:40
sebastian_
yep that solves everything
14:40
sebastian_
will push
14:41
sebastian_
done
14:42
sebastian_
visualizer works
14:42
sebastian_
colors are off though interestingly in the menu
14:47
BAndiT1983
maybe the conversion is a bit off
14:47
BAndiT1983
but i have noticed also some strange line at the top of the menu
14:48
BAndiT1983
also some dots aobve top-left button of the home page
14:51
BAndiT1983
alright, have found a fix, now i need just to fix the errors, or to pull your fixes and maybe i can get the firmware binary built
14:53
BAndiT1983
sebastian_, has the merge changed transition_framebuffer to _transitionframebuffer?
14:57
BAndiT1983
ok, docker build is working now
14:57
BAndiT1983
some adjustments are still missing, but the compiler works
14:59
BAndiT1983
please commit latest makefiles, but without the local default one please, as the compiler complains about utility.cm which is now renamed
15:01
BAndiT1983
just as a reference for anyone who is interested ->
15:01
BAndiT1983
to successfully build in docker following commands are required (but also up to date nbproject files):
15:01
BAndiT1983
export MP_CC="/opt/microchip/xc32/v2.10/bin/xc32-gcc"
15:01
BAndiT1983
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
15:02
BAndiT1983
tested with docker container: marlon365/mplab-xc32-2.10:sat-xc32-2.10-fw
15:10
BAndiT1983
also for reference (to retrieve the info for docs later):
15:10
BAndiT1983
docker pull marlon365/mplab-xc32-2.10:sat-xc32-2.10-fw
15:10
BAndiT1983
docker run -it -v /home/dev/Source/AXIOM-Remote/AXIOM_Remote_Prototype_V01.X:/tmp/project marlon365/mplab-xc32-2.10:sat-xc32-2.10-fw
15:34
BAndiT1983
changed nick to: BAndiT1983|away
15:34
se6astian
sebastian_, has the merge changed transition_framebuffer to _transitionframebuffer? <- should be the other way around actually
15:35
se6astian
what makefile do you need commited ?
15:36
illwieckz
left the channel
15:51
sebastian_
Makefile-local-default.mk ?
16:20
illwieckz
joined the channel
16:27
Ashu
joined the channel
16:28
Ashu
Hello everyone .
16:34
Ashu
I want to participate in this years Gsoc . I want to know if opencine is in preference for Gsoc19 projects ?
16:36
se6astian
hi Ashu
16:36
se6astian
it seems like we will focus tasks more in directly camera related things this year, less focus on image post processing like Opencine
16:40
Ashu
hi se6astian , so what are other specific areas this year related to c++
16:46
Ashu
what are directed camera related subprojects of axiom beta ?
16:48
se6astian
the camera control daemon for example
16:48
se6astian
or the AXIOM Remote
16:52
sebastian_
left the channel
16:52
_Dev_
joined the channel
16:54
_Dev_
Hello sebastien ! , Is frameserver of opencine project is also not in preference which was incomplete last year , i was looking for that in upcoming gsoc 2k19
16:57
se6astian
frameserver might still be on the list yes
16:58
se6astian
we are still in the process of discussing it currently in the course of our own gsoc application
17:01
_Dev_
okay thanks , i was trying to figure out its action plan under supragya ,
17:03
se6astian
we should have more details soon, feb 6th at the latest as that is the org application deadline IIRC
17:05
se6astian
BAndiT1983|away: Makefile-local-default.mk is up to date, no commit required
17:05
se6astian
leaving axiom office now
17:05
se6astian
bbl
17:06
se6astian
changed nick to: se6astian|away
17:09
_Dev_
left the channel
17:28
Ashu
okay thanks sebastian , i will read about it and get back soon .
17:32
Ashu
and i was also studying and reading codebase of what TofuLynx implemented last year and thinking to continue from where he left , are there still chances that org would include that project in preference ?
17:53
se6astian|away
changed nick to: se6astian
17:59
se6astian
Ashu: if you make a good case for its inclusion very soon the chances would definitely increase :)
18:01
se6astian
what I mean with that is that you write an email to team (https://www.apertus.org/contact) outlining your conclusions from studying the code and plans for building on top of that
18:02
se6astian
if that impresses mentors its more likely to become a task for this year
18:05
Bertl_zZ
changed nick to: Bertl
18:05
Bertl
morning folks!
18:08
se6astian
hi there
18:14
_Dev_
joined the channel
18:22
_Dev_
left the channel
18:23
BAndiT1983|away
changed nick to: BAndiT1983
18:24
BAndiT1983
se6astian, about makefiles, in fact it should be the total opposite, local default makefile is specific to your mplab install and should be removed from repo, but other ones are required, as they contain the current structure of the project
18:25
BAndiT1983
that's why i've suggested to add another build platform, to be independent of makefiles from mplab, which is limiting us to the requirement that we need mplab ide on the local machine when changing the structure
18:26
BAndiT1983
my docker build fails with undefined references, as the files are up to date in the repo, but makefiles still contain old names or even miss files like globals.h and globals.c
18:29
se6astian
BAndiT1983: understood
18:32
Ashu
left the channel
18:33
se6astian
there are several other makefile related files I think
18:33
se6astian
but will remove nbproject folder from repo
18:40
se6astian
done
18:43
BAndiT1983
the files in nbproject are ok, just the local one shouldn't be there, i could build under docker, so at the moment they are required, till we can create independent makefile or cmake script
18:45
se6astian
ah, reverting
18:46
se6astian
and removed local file
18:46
BAndiT1983
thank you
18:55
BAndiT1983
will check master repo out and try to build
18:57
BAndiT1983
not important currently, but submodule is not properly connected yet, it's missing the commit hash, which points to original repo of it, will fix it later
18:57
BAndiT1983
just compare our other repos, like axiom daemon in beta firmware
18:59
se6astian
yeah something was fishy when the submodule init didnt work
19:00
BAndiT1983
please update the makefiles in the repo, they contain the old structure
19:01
BAndiT1983
you could add local default to gitignore
19:09
se6astian
left my dev machine at the hub unfortunately
19:09
se6astian
made a note so I will do it when I am there again
19:11
BAndiT1983
no problem, is not urgent, the docker container works fine, so we just need to test it at some point
19:12
BAndiT1983
but the dependency on mplab should be loosen
19:16
Spirit532
left the channel
19:19
Spirit532
joined the channel
19:30
se6astian
agreed
19:30
se6astian
btw regarding visualizer
19:30
se6astian
the knob can also be pushed (button)
20:19
illwieckz
left the channel
20:51
BAndiT1983
se6astian, noted, maybe i will add just additional button for this in the middle of the knob, to simplify the task
20:57
se6astian
that would be fine yes
21:02
BAndiT1983
so, now the knob rotation is on the list, do we need additional controls, like buttons, LEDs or similar?
21:09
se6astian
well 2 status leds are planned current for the next revision, one is installed in current hardware
21:09
se6astian
but thats probably not that critical for the visualizer
21:11
BAndiT1983
ok, adding new things is not problematic
21:31
se6astian
off to bed
21:31
se6astian
good ngith
21:32
se6astian
changed nick to: se6astian|away
21:55
BAndiT1983
changed nick to: BAndiT1983|away
21:55
BAndiT1983|away
changed nick to: BAndiT1983
21:56
illwieckz
joined the channel