|
Hello
At school, we use Emacs to make .cpp files for OpenGL. I got it working at
home in windows using VC++.net, but in order to, I have to merge all of the
files into one.
Is there a way so that I can use the existing files (with minor adjustments)
so that when I build the solution, it will run correctly?
Right now, there is one main file to run it, say points.cpp. All this file
contains is:
#include <GL/glut.h>
#include "draw.cpp"
#include "init.cpp"
#include "myDisplay.cpp"
etc. When I try this in VC++.net, I get errors, so I took out all of the
include statements and try it, but it doesn't compile. It says it can't find
certain methods within another file.
Can someone help me set it up so that I can add separate files as in the
examples? I don't care about all of the includes, I can add that file when I
take my project to school, but I would like to be able just to hit F5 and it
run.
Thanks
Brett |