patric

Member
  • Content count

    3
  • Joined

  • Last visited

Community Reputation

101 Neutral

About patric

  • Rank
    Newbie
  1. I've been trying to use visual c++ 2008 express and whenever i try to debug a programme it says that it cant find the specified file. Heres my source code if that helps #include <GL/gl.h> #include <GL/glut.h> void display (void){ glClearColor (0.0, 0.0, 0.0, 1.0); glClear (GL_COLOR_BUFFER_BIT); glLoadIdentity(); gluLookAt (0.0, 0.0, 5.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0); square(); glFlush(); } int main (int argc, char **argv){ glutInit (&argc, argv); glutInitDisplayMode (GLUT_SINGLE); glutInitWindowSize (500,500); glutInitWindowPosition (100, 100); glutCreateWindow ("Simple Window"); glutDisplayFunc (display); glutMainLoop(); return 0; } Please help, I've been looking for a sulution for hours
  2. [quote name='Jason Z' timestamp='1336012041' post='4936936'] Do you have the DirectX SDK installed? If so, take a look at the property pages of some of the sample programs. They will show you how to set up the options for getting a D3D application to compile and run. Specifically, you should be looking at the "VC++ Directories" properties, and set the include, executable, and library folders like they are in the sample programs. That should get you going! [/quote] Okay, i got the SDK installed, but i cant find the "VC++ Directories". What are they? And, this is probably going to sound like a noobish question, but how do i compile just a normal program? Like I said before, i cant even get a simple hello world program to work
  3. I've been trying to use visual c++ 2010 but whenever i try to compile a program, even a simple hello world program, it keeps on coming up with this 1>LINK : fatal error LNK1104: cannot open file 'D3DX10.lib' 1> The command exited with code 1104. 1>Done executing task "Link" -- FAILED. 1>Done building target "Link" in project "Hello world.vcxproj" -- FAILED. Anything i can do to stop it? I even re-installed visual c++ but its still coming up with the same errors