-
Notifications
You must be signed in to change notification settings - Fork 36
Description
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!