PDA

View Full Version : Errors while using opengl buffers using visual studio 2010 in windows7



duttsankha
08-22-2012, 03:11 PM
Hi!
Myself Sankha and I am very new to openGL. I have just started with openGL. First I want to inform the members that I am writing CUDA C codes and trying to use openGL as my graphical interface for simulation purposes. I am using visual studio 2010 and using visual studio 2010 as for my development.
I was going through the cuda by example book and trying to write the codes mentioned in the book. So in the cuda openGL interoperability section everything was working fine until I started using "glGenBuffers". Other buffers like glBindBuffer are also none of the other buffers are being identified by the visual studio platform. I googled a lot about this and there are many suggestions like including "GL/glext" in the code and I have done everything. I would also like to mention that all of the headers ( like glut.h,glew.h, glxew.h and wglew.h) and lib files (like glut32.lib,glew32.lib,glew32s.lib) are present in the visual studio sdk lib and inc directory. In the VS 2020 project->properties->linker->input->additional dependencies I included the library files in the following order:

cudart.lib
glut32.lib
glu32.lib
glew32.lib
glew32s.lib
freeglut.lib
opengl32.lib

I will now paste my program and also the errors below


#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define GL_GLEXT_PROTOTYPES
#include <GL/gl.h>
#include <GL/glut.h>
#include <GL/freeglut.h>
#include <GL/glew.h>
#include <GL/glext.h>
#include <cuda.h>
#include <cuda_runtime.h>
#include <cutil.h>
#include <cudagl.h>
#include <cuda_gl_interop.h>

#define DIM 512;

GLuint bufferObj;
cudaGraphicsResource *resource;


void display (void)
{
glClearColor(1.0f, 0.0f, 0.0f, 1.0f); // Clear the background of our window to red
glClear(GL_COLOR_BUFFER_BIT); //Clear the colour buffer (more buffers later on)
glLoadIdentity(); // Load the Identity Matrix to reset our drawing locations
glFlush(); // Flush the OpenGL buffers to the window
}

void reshape (int width, int height)
{
glViewport(0, 0, (GLsizei)width, (GLsizei)height); // Set our viewport to the size of our window
glMatrixMode(GL_PROJECTION); // Switch to the projection matrix so that we can manipulate how our scene is viewed
glLoadIdentity(); // Reset the projection matrix to the identity matrix so that we don't get any artifacts (cleaning up)
gluPerspective(60, (GLfloat)width / (GLfloat)height, 1.0, 100.0); // Set the Field of view angle (in degrees), the aspect ratio of our window, and the new and far planes
glMatrixMode(GL_MODELVIEW); // Switch back to the model view matrix, so that we can start drawing shapes correctly
}


int main(int argc,char **argv)
{
cudaDeviceProp prop;
int dev;

memset(&prop,0,sizeof(cudaDeviceProp));
prop.major = 1;
prop.minor = 0;

cudaChooseDevice(&dev,&prop);
cudaGLSetGLDevice(dev);
glutInit(&argc, argv);
glutInitDisplayMode(GLUT_DOUBLE|GLUT_RGBA);
glutInitWindowSize(512, 512);
glutInitWindowPosition (100, 100);
glutCreateWindow("Bitmap");
glutDisplayFunc(display); // Tell GLUT to use the method "display" for rendering
glutReshapeFunc(reshape); // Tell GLUT to use the method "reshape" for rendering
glutMainLoop(); // Enter GLUT's main loop

glGenBuffers(1,&bufferObj);
//glBindBuffer()
}

The errors are given below :


1>------ Build started: Project: PROJ_NUM_1_OPENGL, Configuration: Debug Win32 ------
1>Build started 8/22/2012 4:40:56 PM.
1>InitializeBuildStatus:
1> Touching "Debug\PROJ_NUM_1_OPENGL.unsuccessfulbuild".
1>AddCudaCompileDeps:
1>Skipping target "AddCudaCompileDeps" because all output files are up-to-date with respect to the input files.
1>CudaBuild:
1> Compiling CUDA source file OPENGL_PRAC_1.cu...
1>
1> C:\Users\umdutta\Desktop\SANKHA_ALL_MATERIALS\PROG RAMMING_FOLDER\CUDA_OPENGL_C\2_PRACTICE_PROG_FOLDE R_(OPENGL_PRAC)\PROJ_NUM_1_OPENGL\PROJ_NUM_1_OPENG L>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.2\bin\nvcc.exe" -gencode=arch=compute_10,code=\"sm_10,compute_10\" --use-local-env --cl-version 2008 -ccbin "c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin" -I"C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.2\include" -G --keep-dir "Debug" -maxrregcount=0 --machine 32 --compile -g -Xcompiler "/EHsc /nologo /Od /Zi /MDd " -o "Debug\OPENGL_PRAC_1.cu.obj" "C:\Users\umdutta\Desktop\SANKHA_ALL_MATERIALS\PROG RAMMING_FOLDER\CUDA_OPENGL_C\2_PRACTICE_PROG_FOLDE R_(OPENGL_PRAC)\PROJ_NUM_1_OPENGL\PROJ_NUM_1_OPENG L\OPENGL_PRAC_1.cu"
1> OPENGL_PRAC_1.cu
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(78): warning C4005: 'GLUT_API_VERSION' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(95) : see previous definition of 'GLUT_API_VERSION'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(90): warning C4005: 'GLUT_KEY_F1' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(163) : see previous definition of 'GLUT_KEY_F1'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(91): warning C4005: 'GLUT_KEY_F2' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(164) : see previous definition of 'GLUT_KEY_F2'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(92): warning C4005: 'GLUT_KEY_F3' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(165) : see previous definition of 'GLUT_KEY_F3'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(93): warning C4005: 'GLUT_KEY_F4' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(166) : see previous definition of 'GLUT_KEY_F4'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(94): warning C4005: 'GLUT_KEY_F5' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(167) : see previous definition of 'GLUT_KEY_F5'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(95): warning C4005: 'GLUT_KEY_F6' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(168) : see previous definition of 'GLUT_KEY_F6'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(96): warning C4005: 'GLUT_KEY_F7' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(169) : see previous definition of 'GLUT_KEY_F7'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(97): warning C4005: 'GLUT_KEY_F8' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(170) : see previous definition of 'GLUT_KEY_F8'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(98): warning C4005: 'GLUT_KEY_F9' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(171) : see previous definition of 'GLUT_KEY_F9'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(99): warning C4005: 'GLUT_KEY_F10' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(172) : see previous definition of 'GLUT_KEY_F10'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(100): warning C4005: 'GLUT_KEY_F11' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(173) : see previous definition of 'GLUT_KEY_F11'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(101): warning C4005: 'GLUT_KEY_F12' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(174) : see previous definition of 'GLUT_KEY_F12'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(102): warning C4005: 'GLUT_KEY_LEFT' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(176) : see previous definition of 'GLUT_KEY_LEFT'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(103): warning C4005: 'GLUT_KEY_UP' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(177) : see previous definition of 'GLUT_KEY_UP'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(104): warning C4005: 'GLUT_KEY_RIGHT' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(178) : see previous definition of 'GLUT_KEY_RIGHT'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(105): warning C4005: 'GLUT_KEY_DOWN' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(179) : see previous definition of 'GLUT_KEY_DOWN'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(106): warning C4005: 'GLUT_KEY_PAGE_UP' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(180) : see previous definition of 'GLUT_KEY_PAGE_UP'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(107): warning C4005: 'GLUT_KEY_PAGE_DOWN' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(181) : see previous definition of 'GLUT_KEY_PAGE_DOWN'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(108): warning C4005: 'GLUT_KEY_HOME' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(182) : see previous definition of 'GLUT_KEY_HOME'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(109): warning C4005: 'GLUT_KEY_END' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(183) : see previous definition of 'GLUT_KEY_END'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(110): warning C4005: 'GLUT_KEY_INSERT' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(184) : see previous definition of 'GLUT_KEY_INSERT'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(115): warning C4005: 'GLUT_LEFT_BUTTON' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(153) : see previous definition of 'GLUT_LEFT_BUTTON'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(116): warning C4005: 'GLUT_MIDDLE_BUTTON' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(154) : see previous definition of 'GLUT_MIDDLE_BUTTON'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(117): warning C4005: 'GLUT_RIGHT_BUTTON' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(155) : see previous definition of 'GLUT_RIGHT_BUTTON'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(118): warning C4005: 'GLUT_DOWN' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(158) : see previous definition of 'GLUT_DOWN'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(119): warning C4005: 'GLUT_UP' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(159) : see previous definition of 'GLUT_UP'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(120): warning C4005: 'GLUT_LEFT' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(188) : see previous definition of 'GLUT_LEFT'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(121): warning C4005: 'GLUT_ENTERED' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(189) : see previous definition of 'GLUT_ENTERED'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(126): warning C4005: 'GLUT_RGB' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(135) : see previous definition of 'GLUT_RGB'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(127): warning C4005: 'GLUT_RGBA' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(136) : see previous definition of 'GLUT_RGBA'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(128): warning C4005: 'GLUT_INDEX' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(137) : see previous definition of 'GLUT_INDEX'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(129): warning C4005: 'GLUT_SINGLE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(138) : see previous definition of 'GLUT_SINGLE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(130): warning C4005: 'GLUT_DOUBLE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(139) : see previous definition of 'GLUT_DOUBLE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(131): warning C4005: 'GLUT_ACCUM' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(140) : see previous definition of 'GLUT_ACCUM'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(132): warning C4005: 'GLUT_ALPHA' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(141) : see previous definition of 'GLUT_ALPHA'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(133): warning C4005: 'GLUT_DEPTH' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(142) : see previous definition of 'GLUT_DEPTH'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(134): warning C4005: 'GLUT_STENCIL' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(143) : see previous definition of 'GLUT_STENCIL'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(135): warning C4005: 'GLUT_MULTISAMPLE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(145) : see previous definition of 'GLUT_MULTISAMPLE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(136): warning C4005: 'GLUT_STEREO' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(146) : see previous definition of 'GLUT_STEREO'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(137): warning C4005: 'GLUT_LUMINANCE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(149) : see previous definition of 'GLUT_LUMINANCE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(142): warning C4005: 'GLUT_MENU_NOT_IN_USE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(192) : see previous definition of 'GLUT_MENU_NOT_IN_USE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(143): warning C4005: 'GLUT_MENU_IN_USE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(193) : see previous definition of 'GLUT_MENU_IN_USE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(144): warning C4005: 'GLUT_NOT_VISIBLE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(196) : see previous definition of 'GLUT_NOT_VISIBLE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(145): warning C4005: 'GLUT_VISIBLE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(197) : see previous definition of 'GLUT_VISIBLE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(146): warning C4005: 'GLUT_HIDDEN' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(200) : see previous definition of 'GLUT_HIDDEN'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(147): warning C4005: 'GLUT_FULLY_RETAINED' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(201) : see previous definition of 'GLUT_FULLY_RETAINED'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(148): warning C4005: 'GLUT_PARTIALLY_RETAINED' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(202) : see previous definition of 'GLUT_PARTIALLY_RETAINED'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(149): warning C4005: 'GLUT_FULLY_COVERED' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(203) : see previous definition of 'GLUT_FULLY_COVERED'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(183): warning C4005: 'GLUT_STROKE_ROMAN' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(216) : see previous definition of 'GLUT_STROKE_ROMAN'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(184): warning C4005: 'GLUT_STROKE_MONO_ROMAN' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(217) : see previous definition of 'GLUT_STROKE_MONO_ROMAN'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(185): warning C4005: 'GLUT_BITMAP_9_BY_15' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(220) : see previous definition of 'GLUT_BITMAP_9_BY_15'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(186): warning C4005: 'GLUT_BITMAP_8_BY_13' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(221) : see previous definition of 'GLUT_BITMAP_8_BY_13'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(187): warning C4005: 'GLUT_BITMAP_TIMES_ROMAN_10' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(222) : see previous definition of 'GLUT_BITMAP_TIMES_ROMAN_10'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(188): warning C4005: 'GLUT_BITMAP_TIMES_ROMAN_24' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(223) : see previous definition of 'GLUT_BITMAP_TIMES_ROMAN_24'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(189): warning C4005: 'GLUT_BITMAP_HELVETICA_10' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(225) : see previous definition of 'GLUT_BITMAP_HELVETICA_10'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(190): warning C4005: 'GLUT_BITMAP_HELVETICA_12' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(226) : see previous definition of 'GLUT_BITMAP_HELVETICA_12'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(191): warning C4005: 'GLUT_BITMAP_HELVETICA_18' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(227) : see previous definition of 'GLUT_BITMAP_HELVETICA_18'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(197): warning C4005: 'GLUT_WINDOW_X' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(260) : see previous definition of 'GLUT_WINDOW_X'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(198): warning C4005: 'GLUT_WINDOW_Y' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(261) : see previous definition of 'GLUT_WINDOW_Y'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(199): warning C4005: 'GLUT_WINDOW_WIDTH' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(262) : see previous definition of 'GLUT_WINDOW_WIDTH'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(200): warning C4005: 'GLUT_WINDOW_HEIGHT' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(263) : see previous definition of 'GLUT_WINDOW_HEIGHT'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(201): warning C4005: 'GLUT_WINDOW_BUFFER_SIZE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(264) : see previous definition of 'GLUT_WINDOW_BUFFER_SIZE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(202): warning C4005: 'GLUT_WINDOW_STENCIL_SIZE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(265) : see previous definition of 'GLUT_WINDOW_STENCIL_SIZE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(203): warning C4005: 'GLUT_WINDOW_DEPTH_SIZE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(266) : see previous definition of 'GLUT_WINDOW_DEPTH_SIZE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(204): warning C4005: 'GLUT_WINDOW_RED_SIZE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(267) : see previous definition of 'GLUT_WINDOW_RED_SIZE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(205): warning C4005: 'GLUT_WINDOW_GREEN_SIZE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(268) : see previous definition of 'GLUT_WINDOW_GREEN_SIZE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(206): warning C4005: 'GLUT_WINDOW_BLUE_SIZE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(269) : see previous definition of 'GLUT_WINDOW_BLUE_SIZE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(207): warning C4005: 'GLUT_WINDOW_ALPHA_SIZE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(270) : see previous definition of 'GLUT_WINDOW_ALPHA_SIZE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(208): warning C4005: 'GLUT_WINDOW_ACCUM_RED_SIZE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(271) : see previous definition of 'GLUT_WINDOW_ACCUM_RED_SIZE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(209): warning C4005: 'GLUT_WINDOW_ACCUM_GREEN_SIZE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(272) : see previous definition of 'GLUT_WINDOW_ACCUM_GREEN_SIZE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(210): warning C4005: 'GLUT_WINDOW_ACCUM_BLUE_SIZE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(273) : see previous definition of 'GLUT_WINDOW_ACCUM_BLUE_SIZE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(211): warning C4005: 'GLUT_WINDOW_ACCUM_ALPHA_SIZE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(274) : see previous definition of 'GLUT_WINDOW_ACCUM_ALPHA_SIZE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(212): warning C4005: 'GLUT_WINDOW_DOUBLEBUFFER' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(275) : see previous definition of 'GLUT_WINDOW_DOUBLEBUFFER'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(213): warning C4005: 'GLUT_WINDOW_RGBA' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(276) : see previous definition of 'GLUT_WINDOW_RGBA'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(214): warning C4005: 'GLUT_WINDOW_PARENT' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(277) : see previous definition of 'GLUT_WINDOW_PARENT'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(215): warning C4005: 'GLUT_WINDOW_NUM_CHILDREN' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(278) : see previous definition of 'GLUT_WINDOW_NUM_CHILDREN'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(216): warning C4005: 'GLUT_WINDOW_COLORMAP_SIZE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(279) : see previous definition of 'GLUT_WINDOW_COLORMAP_SIZE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(217): warning C4005: 'GLUT_WINDOW_NUM_SAMPLES' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(281) : see previous definition of 'GLUT_WINDOW_NUM_SAMPLES'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(218): warning C4005: 'GLUT_WINDOW_STEREO' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(282) : see previous definition of 'GLUT_WINDOW_STEREO'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(219): warning C4005: 'GLUT_WINDOW_CURSOR' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(285) : see previous definition of 'GLUT_WINDOW_CURSOR'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(221): warning C4005: 'GLUT_SCREEN_WIDTH' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(287) : see previous definition of 'GLUT_SCREEN_WIDTH'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(222): warning C4005: 'GLUT_SCREEN_HEIGHT' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(288) : see previous definition of 'GLUT_SCREEN_HEIGHT'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(223): warning C4005: 'GLUT_SCREEN_WIDTH_MM' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(289) : see previous definition of 'GLUT_SCREEN_WIDTH_MM'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(224): warning C4005: 'GLUT_SCREEN_HEIGHT_MM' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(290) : see previous definition of 'GLUT_SCREEN_HEIGHT_MM'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(225): warning C4005: 'GLUT_MENU_NUM_ITEMS' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(291) : see previous definition of 'GLUT_MENU_NUM_ITEMS'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(226): warning C4005: 'GLUT_DISPLAY_MODE_POSSIBLE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(292) : see previous definition of 'GLUT_DISPLAY_MODE_POSSIBLE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(227): warning C4005: 'GLUT_INIT_WINDOW_X' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(293) : see previous definition of 'GLUT_INIT_WINDOW_X'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(228): warning C4005: 'GLUT_INIT_WINDOW_Y' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(294) : see previous definition of 'GLUT_INIT_WINDOW_Y'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(229): warning C4005: 'GLUT_INIT_WINDOW_WIDTH' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(295) : see previous definition of 'GLUT_INIT_WINDOW_WIDTH'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(230): warning C4005: 'GLUT_INIT_WINDOW_HEIGHT' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(296) : see previous definition of 'GLUT_INIT_WINDOW_HEIGHT'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(231): warning C4005: 'GLUT_INIT_DISPLAY_MODE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(297) : see previous definition of 'GLUT_INIT_DISPLAY_MODE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(232): warning C4005: 'GLUT_ELAPSED_TIME' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(299) : see previous definition of 'GLUT_ELAPSED_TIME'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(233): warning C4005: 'GLUT_WINDOW_FORMAT_ID' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(302) : see previous definition of 'GLUT_WINDOW_FORMAT_ID'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(239): warning C4005: 'GLUT_HAS_KEYBOARD' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(307) : see previous definition of 'GLUT_HAS_KEYBOARD'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(240): warning C4005: 'GLUT_HAS_MOUSE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(308) : see previous definition of 'GLUT_HAS_MOUSE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(241): warning C4005: 'GLUT_HAS_SPACEBALL' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(309) : see previous definition of 'GLUT_HAS_SPACEBALL'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(242): warning C4005: 'GLUT_HAS_DIAL_AND_BUTTON_BOX' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(310) : see previous definition of 'GLUT_HAS_DIAL_AND_BUTTON_BOX'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(243): warning C4005: 'GLUT_HAS_TABLET' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(311) : see previous definition of 'GLUT_HAS_TABLET'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(244): warning C4005: 'GLUT_NUM_MOUSE_BUTTONS' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(312) : see previous definition of 'GLUT_NUM_MOUSE_BUTTONS'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(245): warning C4005: 'GLUT_NUM_SPACEBALL_BUTTONS' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(313) : see previous definition of 'GLUT_NUM_SPACEBALL_BUTTONS'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(246): warning C4005: 'GLUT_NUM_BUTTON_BOX_BUTTONS' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(314) : see previous definition of 'GLUT_NUM_BUTTON_BOX_BUTTONS'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(247): warning C4005: 'GLUT_NUM_DIALS' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(315) : see previous definition of 'GLUT_NUM_DIALS'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(248): warning C4005: 'GLUT_NUM_TABLET_BUTTONS' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(316) : see previous definition of 'GLUT_NUM_TABLET_BUTTONS'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(249): warning C4005: 'GLUT_DEVICE_IGNORE_KEY_REPEAT' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(319) : see previous definition of 'GLUT_DEVICE_IGNORE_KEY_REPEAT'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(250): warning C4005: 'GLUT_DEVICE_KEY_REPEAT' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(320) : see previous definition of 'GLUT_DEVICE_KEY_REPEAT'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(251): warning C4005: 'GLUT_HAS_JOYSTICK' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(321) : see previous definition of 'GLUT_HAS_JOYSTICK'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(252): warning C4005: 'GLUT_OWNS_JOYSTICK' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(322) : see previous definition of 'GLUT_OWNS_JOYSTICK'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(253): warning C4005: 'GLUT_JOYSTICK_BUTTONS' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(323) : see previous definition of 'GLUT_JOYSTICK_BUTTONS'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(254): warning C4005: 'GLUT_JOYSTICK_AXES' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(324) : see previous definition of 'GLUT_JOYSTICK_AXES'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(255): warning C4005: 'GLUT_JOYSTICK_POLL_RATE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(325) : see previous definition of 'GLUT_JOYSTICK_POLL_RATE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(260): warning C4005: 'GLUT_OVERLAY_POSSIBLE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(330) : see previous definition of 'GLUT_OVERLAY_POSSIBLE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(261): warning C4005: 'GLUT_LAYER_IN_USE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(331) : see previous definition of 'GLUT_LAYER_IN_USE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(262): warning C4005: 'GLUT_HAS_OVERLAY' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(332) : see previous definition of 'GLUT_HAS_OVERLAY'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(263): warning C4005: 'GLUT_TRANSPARENT_INDEX' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(333) : see previous definition of 'GLUT_TRANSPARENT_INDEX'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(264): warning C4005: 'GLUT_NORMAL_DAMAGED' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(334) : see previous definition of 'GLUT_NORMAL_DAMAGED'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(265): warning C4005: 'GLUT_OVERLAY_DAMAGED' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(335) : see previous definition of 'GLUT_OVERLAY_DAMAGED'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(270): warning C4005: 'GLUT_VIDEO_RESIZE_POSSIBLE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(339) : see previous definition of 'GLUT_VIDEO_RESIZE_POSSIBLE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(271): warning C4005: 'GLUT_VIDEO_RESIZE_IN_USE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(340) : see previous definition of 'GLUT_VIDEO_RESIZE_IN_USE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(272): warning C4005: 'GLUT_VIDEO_RESIZE_X_DELTA' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(341) : see previous definition of 'GLUT_VIDEO_RESIZE_X_DELTA'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(273): warning C4005: 'GLUT_VIDEO_RESIZE_Y_DELTA' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(342) : see previous definition of 'GLUT_VIDEO_RESIZE_Y_DELTA'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(274): warning C4005: 'GLUT_VIDEO_RESIZE_WIDTH_DELTA' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(343) : see previous definition of 'GLUT_VIDEO_RESIZE_WIDTH_DELTA'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(275): warning C4005: 'GLUT_VIDEO_RESIZE_HEIGHT_DELTA' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(344) : see previous definition of 'GLUT_VIDEO_RESIZE_HEIGHT_DELTA'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(276): warning C4005: 'GLUT_VIDEO_RESIZE_X' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(345) : see previous definition of 'GLUT_VIDEO_RESIZE_X'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(277): warning C4005: 'GLUT_VIDEO_RESIZE_Y' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(346) : see previous definition of 'GLUT_VIDEO_RESIZE_Y'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(278): warning C4005: 'GLUT_VIDEO_RESIZE_WIDTH' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(347) : see previous definition of 'GLUT_VIDEO_RESIZE_WIDTH'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(279): warning C4005: 'GLUT_VIDEO_RESIZE_HEIGHT' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(348) : see previous definition of 'GLUT_VIDEO_RESIZE_HEIGHT'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(284): warning C4005: 'GLUT_NORMAL' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(211) : see previous definition of 'GLUT_NORMAL'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(285): warning C4005: 'GLUT_OVERLAY' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(212) : see previous definition of 'GLUT_OVERLAY'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(290): warning C4005: 'GLUT_ACTIVE_SHIFT' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(356) : see previous definition of 'GLUT_ACTIVE_SHIFT'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(291): warning C4005: 'GLUT_ACTIVE_CTRL' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(357) : see previous definition of 'GLUT_ACTIVE_CTRL'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(292): warning C4005: 'GLUT_ACTIVE_ALT' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(358) : see previous definition of 'GLUT_ACTIVE_ALT'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(297): warning C4005: 'GLUT_CURSOR_RIGHT_ARROW' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(362) : see previous definition of 'GLUT_CURSOR_RIGHT_ARROW'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(298): warning C4005: 'GLUT_CURSOR_LEFT_ARROW' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(363) : see previous definition of 'GLUT_CURSOR_LEFT_ARROW'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(299): warning C4005: 'GLUT_CURSOR_INFO' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(365) : see previous definition of 'GLUT_CURSOR_INFO'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(300): warning C4005: 'GLUT_CURSOR_DESTROY' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(366) : see previous definition of 'GLUT_CURSOR_DESTROY'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(301): warning C4005: 'GLUT_CURSOR_HELP' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(367) : see previous definition of 'GLUT_CURSOR_HELP'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(302): warning C4005: 'GLUT_CURSOR_CYCLE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(368) : see previous definition of 'GLUT_CURSOR_CYCLE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(303): warning C4005: 'GLUT_CURSOR_SPRAY' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(369) : see previous definition of 'GLUT_CURSOR_SPRAY'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(304): warning C4005: 'GLUT_CURSOR_WAIT' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(370) : see previous definition of 'GLUT_CURSOR_WAIT'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(305): warning C4005: 'GLUT_CURSOR_TEXT' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(371) : see previous definition of 'GLUT_CURSOR_TEXT'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(306): warning C4005: 'GLUT_CURSOR_CROSSHAIR' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(372) : see previous definition of 'GLUT_CURSOR_CROSSHAIR'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(307): warning C4005: 'GLUT_CURSOR_UP_DOWN' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(374) : see previous definition of 'GLUT_CURSOR_UP_DOWN'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(308): warning C4005: 'GLUT_CURSOR_LEFT_RIGHT' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(375) : see previous definition of 'GLUT_CURSOR_LEFT_RIGHT'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(309): warning C4005: 'GLUT_CURSOR_TOP_SIDE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(377) : see previous definition of 'GLUT_CURSOR_TOP_SIDE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(310): warning C4005: 'GLUT_CURSOR_BOTTOM_SIDE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(378) : see previous definition of 'GLUT_CURSOR_BOTTOM_SIDE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(311): warning C4005: 'GLUT_CURSOR_LEFT_SIDE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(379) : see previous definition of 'GLUT_CURSOR_LEFT_SIDE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(312): warning C4005: 'GLUT_CURSOR_RIGHT_SIDE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(380) : see previous definition of 'GLUT_CURSOR_RIGHT_SIDE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(313): warning C4005: 'GLUT_CURSOR_TOP_LEFT_CORNER' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(381) : see previous definition of 'GLUT_CURSOR_TOP_LEFT_CORNER'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(314): warning C4005: 'GLUT_CURSOR_TOP_RIGHT_CORNER' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(382) : see previous definition of 'GLUT_CURSOR_TOP_RIGHT_CORNER'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(315): warning C4005: 'GLUT_CURSOR_BOTTOM_RIGHT_CORNER' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(383) : see previous definition of 'GLUT_CURSOR_BOTTOM_RIGHT_CORNER'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(316): warning C4005: 'GLUT_CURSOR_BOTTOM_LEFT_CORNER' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(384) : see previous definition of 'GLUT_CURSOR_BOTTOM_LEFT_CORNER'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(317): warning C4005: 'GLUT_CURSOR_INHERIT' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(386) : see previous definition of 'GLUT_CURSOR_INHERIT'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(318): warning C4005: 'GLUT_CURSOR_NONE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(388) : see previous definition of 'GLUT_CURSOR_NONE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(319): warning C4005: 'GLUT_CURSOR_FULL_CROSSHAIR' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(390) : see previous definition of 'GLUT_CURSOR_FULL_CROSSHAIR'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(324): warning C4005: 'GLUT_RED' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(206) : see previous definition of 'GLUT_RED'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(325): warning C4005: 'GLUT_GREEN' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(207) : see previous definition of 'GLUT_GREEN'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(326): warning C4005: 'GLUT_BLUE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(208) : see previous definition of 'GLUT_BLUE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(331): warning C4005: 'GLUT_KEY_REPEAT_OFF' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(552) : see previous definition of 'GLUT_KEY_REPEAT_OFF'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(332): warning C4005: 'GLUT_KEY_REPEAT_ON' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(553) : see previous definition of 'GLUT_KEY_REPEAT_ON'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(333): warning C4005: 'GLUT_KEY_REPEAT_DEFAULT' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(554) : see previous definition of 'GLUT_KEY_REPEAT_DEFAULT'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(335): warning C4005: 'GLUT_JOYSTICK_BUTTON_A' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(557) : see previous definition of 'GLUT_JOYSTICK_BUTTON_A'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(336): warning C4005: 'GLUT_JOYSTICK_BUTTON_B' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(558) : see previous definition of 'GLUT_JOYSTICK_BUTTON_B'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(337): warning C4005: 'GLUT_JOYSTICK_BUTTON_C' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(559) : see previous definition of 'GLUT_JOYSTICK_BUTTON_C'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(338): warning C4005: 'GLUT_JOYSTICK_BUTTON_D' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(560) : see previous definition of 'GLUT_JOYSTICK_BUTTON_D'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(343): warning C4005: 'GLUT_GAME_MODE_ACTIVE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(568) : see previous definition of 'GLUT_GAME_MODE_ACTIVE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(344): warning C4005: 'GLUT_GAME_MODE_POSSIBLE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(569) : see previous definition of 'GLUT_GAME_MODE_POSSIBLE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(345): warning C4005: 'GLUT_GAME_MODE_WIDTH' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(570) : see previous definition of 'GLUT_GAME_MODE_WIDTH'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(346): warning C4005: 'GLUT_GAME_MODE_HEIGHT' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(571) : see previous definition of 'GLUT_GAME_MODE_HEIGHT'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(347): warning C4005: 'GLUT_GAME_MODE_PIXEL_DEPTH' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(572) : see previous definition of 'GLUT_GAME_MODE_PIXEL_DEPTH'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(348): warning C4005: 'GLUT_GAME_MODE_REFRESH_RATE' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(573) : see previous definition of 'GLUT_GAME_MODE_REFRESH_RATE'
1>c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.2\c\common\inc\gl\freeglut_std.h(349): warning C4005: 'GLUT_GAME_MODE_DISPLAY_CHANGED' : macro redefinition
1> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glut.h(574) : see previous definition of 'GLUT_GAME_MODE_DISPLAY_CHANGED'
1>C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\GL/glew.h(84): fatal error C1189: #error : gl.h included before glew.h
1>
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\BuildCustomizatio ns\CUDA 4.2.targets(361,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.2\bin\nvcc.exe" -gencode=arch=compute_10,code=\"sm_10,compute_10\" --use-local-env --cl-version 2008 -ccbin "c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin" -I"C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.2\include" -G --keep-dir "Debug" -maxrregcount=0 --machine 32 --compile -g -Xcompiler "/EHsc /nologo /Od /Zi /MDd " -o "Debug\OPENGL_PRAC_1.cu.obj" "C:\Users\umdutta\Desktop\SANKHA_ALL_MATERIALS\PROG RAMMING_FOLDER\CUDA_OPENGL_C\2_PRACTICE_PROG_FOLDE R_(OPENGL_PRAC)\PROJ_NUM_1_OPENGL\PROJ_NUM_1_OPENG L\OPENGL_PRAC_1.cu"" exited with code 2.
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.40
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


PLEASE HELP ME AS FAST AS POSSIBLE. THANK YOU FOR ALL YOUR ASSISTANCE.

SmiteOfHand
08-22-2012, 05:51 PM
I haven't used freeglut but it appears you are trying to use glut and freeglut and they are conflicting. I am not sure if freeglut has dependencies on glut, but that does not appear to be the case. Try removing the references to glut and only reference freeglut and see if that helps.

rtrobin
08-22-2012, 08:32 PM
It seems that you include so many head files, some of that are doing same thing. Thus it cause conflicts.
For example, glut and freeglut should only exists one. gl and glext seems not essential in your project.
And, glew head file should be included before freeglut head file.