PDA

View Full Version : rgb.h missing?



02-23-2004, 01:37 PM
when i try to compile packedpix.c (a simple example from this site) i get an error:

--------------------Configuration: packedpix - Win32 Debug--------------------
Compiling...
packedpix.c
c:\program files\microsoft visual studio\myprojects\opengl\opengl.org\packedpix.c(19 ) : fatal error C1083: Cannot open include file: 'rgb.h': No such file or directory
Error executing cl.exe.

packedpix.exe - 1 error(s), 0 warning(s)


my link list is: kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib glut32.lib glaux.lib glu32.lib opengl32.lib

should i look somewhere for the rgb.h file (since it is not posted on the examples page) or what?

thanks in advance,
arturo

nexusone
02-23-2004, 02:04 PM
Well a search is a good place to start, most people first search for something that is missing.

Also did you download the ZIP file located at the top of the page or just the .c source from the image?

All the files are located in the ZIP file.


[This message has been edited by nexusone (edited 02-23-2004).]