Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playback.c Issues on Windows #17

Open
SeekFind opened this issue Apr 14, 2023 · 0 comments
Open

Playback.c Issues on Windows #17

SeekFind opened this issue Apr 14, 2023 · 0 comments

Comments

@SeekFind
Copy link

SeekFind commented Apr 14, 2023

Hi. I'm trying to create a playback executable, and I've been able to troubleshoot my way past the common cv2, numpy, make, mingw-gcc, and xdd - i errors mentioned in other comments, and I'm currently getting variable definition errors when I run make playback.exe

mingw32-gcc -Wall -I../include -I ./include -L../lib -os -o playback.exe playback.c
playback.c: In function 'next_char':
playback.c:30:17: error: 'data_len' undeclared (first use in this function)
if(data_pos < data_len) {
^~~~~~~~
playback.c:30:17: note: each undeclared identifier is reported only once for each function it appears in
playback.c:31:14: error: 'data' undeclared (first use in this function)
return data[data_pos++];
^~~~
playback.c: In function 'peek_char':
playback.c:38:17: error: 'data_len' undeclared (first use in this function)
if(data_pos < data_len) {
^~~~~~~~
playback.c:39:14: error: 'data' undeclared (first use in this function)
return data[data_pos];
^~~~
make: *** [playback.exe] Error 1

Does anyone have any insight? Figuring out the scripting was one thing, but the programming itself is beyond me. I'm also just creating a bootable linux drive to test off that, since everyone having problems seems to be on windows. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant