Magic Lantern Forum

Developing Magic Lantern => General Development => Topic started by: Pelican on February 03, 2013, 07:11:46 PM

Title: video_hacks.c compile error
Post by: Pelican on February 03, 2013, 07:11:46 PM
I've just made a fork from the main repo (last: 443aec4) and cannot compile 7D code.
Yesterday, and the day before also cannot compile because the ptp-ml.c


[ CC       ]   bmp.o
[ CC       ]   video_hacks.o
../../src/video_hacks.c: In function 'bitrate_flushing_rate_display':
../../src/video_hacks.c:41:30: error: 'MNI_WARNING' undeclared (first use in thi
s function)
../../src/video_hacks.c:41:30: note: each undeclared identifier is reported only
once for each function it appears in
../../src/video_hacks.c: In function 'bitrate_gop_size_display':
../../src/video_hacks.c:67:30: error: 'MNI_WARNING' undeclared (first use in thi
s function)
../../src/video_hacks.c: At top level:
../../src/video_hacks.c:159:17: error: unknown field 'display' specified in init
ializer
../../src/video_hacks.c:159:17: warning: initialization makes integer from point
er without a cast [enabled by default]
../../src/video_hacks.c:159:17: warning: (near initialization for '(anonymous)[0
].min') [enabled by default]
../../src/video_hacks.c:160:17: warning: initialized field overwritten [-Woverri
de-init]
../../src/video_hacks.c:160:17: warning: (near initialization for '(anonymous)[0
].min') [-Woverride-init]
../../src/video_hacks.c:167:17: error: unknown field 'display' specified in init
ializer
../../src/video_hacks.c:167:17: warning: initialization makes integer from point
er without a cast [enabled by default]
../../src/video_hacks.c:167:17: warning: (near initialization for '(anonymous)[1
].min') [enabled by default]
../../src/video_hacks.c:168:17: warning: initialized field overwritten [-Woverri
de-init]
../../src/video_hacks.c:168:17: warning: (near initialization for '(anonymous)[1
].min') [-Woverride-init]
../../Makefile.inc:641: recipe for target `video_hacks.o' failed
make: *** [video_hacks.o] Error 1
Title: Re: video_hacks.c compile error
Post by: a1ex on February 03, 2013, 07:28:49 PM
http://www.magiclantern.fm/forum/index.php?topic=4458