maki-rxrz / Caption2Ass_PCR

[DL] https://1drv.ms/f/s!AtWZll0n7FiGjGj45fo564dwG5AW?e=FlPLXG
61 stars 13 forks source link

'_fseeki64' was not declared in this scope #1

Closed qiangbro closed 7 years ago

qiangbro commented 7 years ago

I am trying compile your code using eclipse-cdt. it reports:

Info: Internal Builder is used for build
g++ -O0 -g3 -Wall -c -fmessage-length=0 -o "src\\tslUtil.o" "..\\src\\tslUtil.cpp" 
..\src\tslUtil.cpp: In function 'BOOL resync(BYTE*, FILE*)':
..\src\tslUtil.cpp:53:41: error: '_fseeki64' was not declared in this scope
     _fseeki64(fp, -(188 - pos), SEEK_CUR);
                                     ^
qiangbro commented 7 years ago

I think I shouldn't use cdt to compile this. what should I use?

qiangbro commented 7 years ago

Okey, I installed visual studio express 2010, and built your project. succeed!