Easiest way to compile existing source code?


Easiest way to compile existing source code?

by AshleyQuic » Thu, 27 Oct 2011 04:27:09

I'm a complete newbie. I just bought this software to learn (I'm retired so I have a lot of free time!). I have made a couple small changes to a project from sourceforge so now I want to compile the code. I have a folder entitled src with the .cpp and .h files along with a couple other folders. I also have the screensaver file (.scr) in the main directory. Can someone guide me


Easiest way to compile existing source code?

by rauhanlinnak » Sat, 29 Oct 2011 05:28:10

You may wish to use C++ compiler to compile those files. This is C# forum. C# files are typically with extension .cs (there is no header files in C#).

Simple Sample

Easiest way to compile existing source code?

by Simple Sample » Sun, 30 Oct 2011 07:30:12

Is the project a screen saver project Is the program it creates a screen saver If not, then the scr file is probably not a screen saver file.

It might help to mention what the project is in sourceforge; what is the name we can use to look at the project. Perhaps none of us will look at it but if we know what it is then there is a chance that we might look at it and that might help.

Is there a dsp file That is probably a project file for older versions of VC and you probably can convert it to a project file for VC 2005. If there is not a project file then there is probably makefile and you can create a VC project that uses the makefile. If you don't see a file with the name "makefile" without an extension then look for a file with a "mak" extension.

If there is not a file eith a dsp or vcproj extension then it might help to look in the comments for the sourceforge project and/or create a comment.

Bite Qiu - MSF

Easiest way to compile existing source code?

by Bite Qiu - MSF » Mon, 31 Oct 2011 06:29:11

Hi there,

Are you using visual studio If so, following information may helps:

Since I don't see any project file exist in your files(*.vcproj), so I suppose you only have the complete source code, in this case, you can make use of "project from existing code" functionality provided by visual studio, detailed steps can be found here: http://msdn2.microsoft.com/en-us/library/754c3hy7(VS.80).aspx

hope it helps