Log in
Register
Menu
Log in
Register
Home
What's new
Latest activity
Authors
Forums
New posts
Search forums
What's new
New posts
Latest activity
Members
Current visitors
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Satellite TV receivers & systems support forums
Analogue systems
Hacktv: analogue tv transmitter
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="steeviebops" data-source="post: 1087581" data-attributes="member: 414368"><p>Thanks for the mention! <img src="https://www.satellites.co.uk/styles/default/xenforo/smilies/smile.png" class="smilie" loading="lazy" alt=":)" title="Smile :)" data-shortname=":)" /> I've uploaded Windows binaries of today's new updates to the OneDrive.</p><p></p><p>Had some issues compiling your fork though (in both Ubuntu and for Windows). Looks like some of the syntax is platform-specific - I assume you're building this on MacOS as it appears to be BSD syntax?</p><p></p><p>I can get it to compile by replacing the ‘uint32_t' command with the command suggested by the error. It returns some warnings but compiles and appears to work OK.</p><p></p><p>Linux errors and warnings:</p><p>[CODE]</p><p>font.c: In function ‘get_line_width’:</p><p>font.c:270:9: warning: variable ‘l’ set but not used [-Wunused-but-set-variable]</p><p> 270 | int i, l;</p><p> | ^</p><p>gcc -g -Wall -Wno-unused-result -pthread -O3 -I/usr/include/x86_64-linux-gnu -I/usr/include/ -I/usr/include/libusb-1.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/freetype2 -I/usr/include/libpng16 -c subtitles.c -o subtitles.o</p><p>subtitles.c: In function ‘parse_time’:</p><p>subtitles.c:125:19: warning: ‘t’ may be used uninitialized in this function [-Wmaybe-uninitialized]</p><p> 125 | if(c == ti && t != i)</p><p> | ~~^~~~</p><p>gcc -g -Wall -Wno-unused-result -pthread -O3 -I/usr/include/x86_64-linux-gnu -I/usr/include/ -I/usr/include/libusb-1.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/freetype2 -I/usr/include/libpng16 -c bitmap.c -o bitmap.o</p><p>In file included from bitmap.c:18:</p><p>bitmap.h:23:27: error: unknown type name ‘uint32_t’; did you mean ‘u_int32_t’?</p><p> 23 | extern void resize_bitmap(uint32_t *input, uint32_t *output, int old_width, int old_height, int new_width, int new_height);</p><p> | ^~~~~~~~</p><p> | u_int32_t</p><p>bitmap.h:23:44: error: unknown type name ‘uint32_t’; did you mean ‘u_int32_t’?</p><p> 23 | extern void resize_bitmap(uint32_t *input, uint32_t *output, int old_width, int old_height, int new_width, int new_height);</p><p> | ^~~~~~~~</p><p> | u_int32_t</p><p>bitmap.c:23:20: error: unknown type name ‘uint32_t’; did you mean ‘u_int32_t’?</p><p> 23 | void resize_bitmap(uint32_t *input, uint32_t *output, int old_width, int old_height, int new_width, int new_height)</p><p> | ^~~~~~~~</p><p> | u_int32_t</p><p>bitmap.c:23:37: error: unknown type name ‘uint32_t’; did you mean ‘u_int32_t’?</p><p> 23 | void resize_bitmap(uint32_t *input, uint32_t *output, int old_width, int old_height, int new_width, int new_height)</p><p> | ^~~~~~~~</p><p> | u_int32_t</p><p>make: *** [Makefile:32: bitmap.o] Error 1</p><p></p><p>[/CODE]</p><p></p><p>Windows errors:</p><p>[CODE]In file included from bitmap.c:18:</p><p>bitmap.h:23:27: error: unknown type name 'uint32_t'; did you mean 'wint_t'?</p><p> 23 | extern void resize_bitmap(uint32_t *input, uint32_t *output, int old_width, int old_height, int new_width, int new_height);</p><p> | ^~~~~~~~</p><p> | wint_t</p><p>bitmap.h:23:44: error: unknown type name 'uint32_t'; did you mean 'wint_t'?</p><p> 23 | extern void resize_bitmap(uint32_t *input, uint32_t *output, int old_width, int old_height, int new_width, int new_height);</p><p> | ^~~~~~~~</p><p> | wint_t</p><p>bitmap.c:23:20: error: unknown type name 'uint32_t'; did you mean 'wint_t'?</p><p> 23 | void resize_bitmap(uint32_t *input, uint32_t *output, int old_width, int old_height, int new_width, int new_height)</p><p> | ^~~~~~~~</p><p> | wint_t</p><p>bitmap.c:23:37: error: unknown type name 'uint32_t'; did you mean 'wint_t'?</p><p> 23 | void resize_bitmap(uint32_t *input, uint32_t *output, int old_width, int old_height, int new_width, int new_height)</p><p> | ^~~~~~~~</p><p> | wint_t</p><p>make: *** [Makefile:32: bitmap.o] Error 1</p><p>make: *** Waiting for unfinished jobs....</p><p>eurocrypt.c: In function '_permute_f':</p><p>eurocrypt.c:285:28: warning: array subscript has type 'char' [-Wchar-subscripts]</p><p> 285 | s |= (unsigned long)SB[i][v] << (28 - 4 * i);</p><p>[/CODE]</p></blockquote><p></p>
[QUOTE="steeviebops, post: 1087581, member: 414368"] Thanks for the mention! :) I've uploaded Windows binaries of today's new updates to the OneDrive. Had some issues compiling your fork though (in both Ubuntu and for Windows). Looks like some of the syntax is platform-specific - I assume you're building this on MacOS as it appears to be BSD syntax? I can get it to compile by replacing the ‘uint32_t' command with the command suggested by the error. It returns some warnings but compiles and appears to work OK. Linux errors and warnings: [CODE] font.c: In function ‘get_line_width’: font.c:270:9: warning: variable ‘l’ set but not used [-Wunused-but-set-variable] 270 | int i, l; | ^ gcc -g -Wall -Wno-unused-result -pthread -O3 -I/usr/include/x86_64-linux-gnu -I/usr/include/ -I/usr/include/libusb-1.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/freetype2 -I/usr/include/libpng16 -c subtitles.c -o subtitles.o subtitles.c: In function ‘parse_time’: subtitles.c:125:19: warning: ‘t’ may be used uninitialized in this function [-Wmaybe-uninitialized] 125 | if(c == ti && t != i) | ~~^~~~ gcc -g -Wall -Wno-unused-result -pthread -O3 -I/usr/include/x86_64-linux-gnu -I/usr/include/ -I/usr/include/libusb-1.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/freetype2 -I/usr/include/libpng16 -c bitmap.c -o bitmap.o In file included from bitmap.c:18: bitmap.h:23:27: error: unknown type name ‘uint32_t’; did you mean ‘u_int32_t’? 23 | extern void resize_bitmap(uint32_t *input, uint32_t *output, int old_width, int old_height, int new_width, int new_height); | ^~~~~~~~ | u_int32_t bitmap.h:23:44: error: unknown type name ‘uint32_t’; did you mean ‘u_int32_t’? 23 | extern void resize_bitmap(uint32_t *input, uint32_t *output, int old_width, int old_height, int new_width, int new_height); | ^~~~~~~~ | u_int32_t bitmap.c:23:20: error: unknown type name ‘uint32_t’; did you mean ‘u_int32_t’? 23 | void resize_bitmap(uint32_t *input, uint32_t *output, int old_width, int old_height, int new_width, int new_height) | ^~~~~~~~ | u_int32_t bitmap.c:23:37: error: unknown type name ‘uint32_t’; did you mean ‘u_int32_t’? 23 | void resize_bitmap(uint32_t *input, uint32_t *output, int old_width, int old_height, int new_width, int new_height) | ^~~~~~~~ | u_int32_t make: *** [Makefile:32: bitmap.o] Error 1 [/CODE] Windows errors: [CODE]In file included from bitmap.c:18: bitmap.h:23:27: error: unknown type name 'uint32_t'; did you mean 'wint_t'? 23 | extern void resize_bitmap(uint32_t *input, uint32_t *output, int old_width, int old_height, int new_width, int new_height); | ^~~~~~~~ | wint_t bitmap.h:23:44: error: unknown type name 'uint32_t'; did you mean 'wint_t'? 23 | extern void resize_bitmap(uint32_t *input, uint32_t *output, int old_width, int old_height, int new_width, int new_height); | ^~~~~~~~ | wint_t bitmap.c:23:20: error: unknown type name 'uint32_t'; did you mean 'wint_t'? 23 | void resize_bitmap(uint32_t *input, uint32_t *output, int old_width, int old_height, int new_width, int new_height) | ^~~~~~~~ | wint_t bitmap.c:23:37: error: unknown type name 'uint32_t'; did you mean 'wint_t'? 23 | void resize_bitmap(uint32_t *input, uint32_t *output, int old_width, int old_height, int new_width, int new_height) | ^~~~~~~~ | wint_t make: *** [Makefile:32: bitmap.o] Error 1 make: *** Waiting for unfinished jobs.... eurocrypt.c: In function '_permute_f': eurocrypt.c:285:28: warning: array subscript has type 'char' [-Wchar-subscripts] 285 | s |= (unsigned long)SB[i][v] << (28 - 4 * i); [/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Satellite TV receivers & systems support forums
Analogue systems
Hacktv: analogue tv transmitter
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top