Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


praveenchopra

Member Since 13 Aug 2012
Offline Last Active Aug 14 2012 02:29 AM

Topics I've Started

Playing AVI Files In OpenGL

13 August 2012 - 02:45 AM

hi i am using the code "Playing AVI Files In OpenGL" written by Jeff Molofee (NeHe).
when i am building on RHEL 6.1 i am getting this problem.

g++ -g -O2 -Wall -I./ -I/usr/local/include -lglut -lGL -lGLU -laviplay lesson35.cpp -o lesson35
lesson35.cpp:25:29: error: avifile/avifile.h: No such file or directory
lesson35.cpp:26:29: error: avifile/version.h: No such file or directory
lesson35.cpp:31:31: error: avifile/default.h: No such file or directory
lesson35.cpp:34:27: error: avifile/image.h: No such file or directory
lesson35.cpp:35:32: error: avifile/StreamInfo.h: No such file or directory
lesson35.cpp:70: error: ‘avm’ has not been declared
lesson35.cpp:70: error: expected constructor, destructor, or type conversion before ‘*’ token
lesson35.cpp:71: error: ‘avm’ has not been declared
lesson35.cpp:71: error: expected constructor, destructor, or type conversion before ‘*’ token
lesson35.cpp:72: error: expected constructor, destructor, or type conversion before ‘*’ token
lesson35.cpp:73: error: expected constructor, destructor, or type conversion before ‘*’ token
lesson35.cpp: In function ‘int main(int, char**)’:
lesson35.cpp:110: error: ‘avifile’ was not declared in this scope
lesson35.cpp:110: error: ‘avm’ has not been declared
lesson35.cpp:112: error: ‘avifile’ was not declared in this scope
lesson35.cpp:112: error: ‘avm’ has not been declared
lesson35.cpp:114: error: ‘avifile’ was not declared in this scope
lesson35.cpp:115: error: ‘avistream’ was not declared in this scope
lesson35.cpp:115: error: ‘avm’ has not been declared
lesson35.cpp:117: warning: deprecated conversion from string constant to ‘char*’
lesson35.cpp:119: error: ‘avistream’ was not declared in this scope
lesson35.cpp:120: error: ‘streaminfo’ was not declared in this scope
lesson35.cpp: In function ‘void timer_func(int)’:
lesson35.cpp:268: error: ‘image’ was not declared in this scope
lesson35.cpp:268: error: ‘avistream’ was not declared in this scope
lesson35.cpp:280: error: ‘memcpy’ was not declared in this scope
lesson35.cpp: In function ‘void keyboard_func(unsigned char, int, int)’:
lesson35.cpp:343: error: ‘avistream’ was not declared in this scope
make: *** [all] Error 1

i am new to RHEL and not able to find avifile.h any where in my system.please guide me to install the avifile package and remove this problem.thanks..

Playing AVI Files In OpenGL

13 August 2012 - 02:40 AM

hi i am using the code "Playing AVI Files In OpenGL" written by Jeff Molofee (NeHe). when i am building on RHEL 6.1 i am getting this problem.

g++ -g -O2 -Wall -I./ -I/usr/local/include -lglut -lGL -lGLU -laviplay lesson35.cpp -o lesson35
lesson35.cpp:25:29: error: avifile/avifile.h: No such file or directory
lesson35.cpp:26:29: error: avifile/version.h: No such file or directory
lesson35.cpp:31:31: error: avifile/default.h: No such file or directory
lesson35.cpp:34:27: error: avifile/image.h: No such file or directory
lesson35.cpp:35:32: error: avifile/StreamInfo.h: No such file or directory
lesson35.cpp:70: error: ‘avm’ has not been declared
lesson35.cpp:70: error: expected constructor, destructor, or type conversion before ‘*’ token
lesson35.cpp:71: error: ‘avm’ has not been declared
lesson35.cpp:71: error: expected constructor, destructor, or type conversion before ‘*’ token
lesson35.cpp:72: error: expected constructor, destructor, or type conversion before ‘*’ token
lesson35.cpp:73: error: expected constructor, destructor, or type conversion before ‘*’ token
lesson35.cpp: In function ‘int main(int, char**)’:
lesson35.cpp:110: error: ‘avifile’ was not declared in this scope
lesson35.cpp:110: error: ‘avm’ has not been declared
lesson35.cpp:112: error: ‘avifile’ was not declared in this scope
lesson35.cpp:112: error: ‘avm’ has not been declared
lesson35.cpp:114: error: ‘avifile’ was not declared in this scope
lesson35.cpp:115: error: ‘avistream’ was not declared in this scope
lesson35.cpp:115: error: ‘avm’ has not been declared
lesson35.cpp:117: warning: deprecated conversion from string constant to ‘char*’
lesson35.cpp:119: error: ‘avistream’ was not declared in this scope
lesson35.cpp:120: error: ‘streaminfo’ was not declared in this scope
lesson35.cpp: In function ‘void timer_func(int)’:
lesson35.cpp:268: error: ‘image’ was not declared in this scope
lesson35.cpp:268: error: ‘avistream’ was not declared in this scope
lesson35.cpp:280: error: ‘memcpy’ was not declared in this scope
lesson35.cpp: In function ‘void keyboard_func(unsigned char, int, int)’:
lesson35.cpp:343: error: ‘avistream’ was not declared in this scope
make: *** [all] Error 1

i am new to RHEL and not able to find avifile.h any where in my system.
please guide me to install the avifile package and remove this proble.
thanks..

PARTNERS