Compiling non-trivial programs
Posted on 2007-07-19
Hi, I downloaded an some source code and I want to recompile it. There's a subfolder called "SRC" with a bunch of header files and .cpp files. There's also a makefile in there.
I tried to compile it with Visual Studio 2005 Express but there was no project solution file. I also can't just open up the main.cpp file and go to "build" because the option is grayed out.
Then I gave up on VS2005 and I tried using the Makefile. However, the last time I used a makefile was in UNIX at school so I had very little success using getting it to work in Windows or even Linux (Ubuntu distribution).
My questions are how can I compile this program and can a Makefile also work for other OS besides UNIX? I know it's a stupid question but I haven't really programmed any non-trivial programs before.
Thanks for all your help in advance.