Hello everyone. I'm kinda new to Linux and new to these forums. I've been tinkering with Xubuntu for a week or two now and I like it.
I know pretty much nothing about programming and I'm almost a complete newbie at compiling source code and I've searched for hours on Google for an answer. I'm trying to compile source code of a little game called "Decker" made for *******. The developer released the source code but he did not make any makefiles or give info on how to compile it. I realize that the game would probably work without a hitch in Wine... but I figured attempting to migrate it to Linux entirely would be awesome. Not exactly easy.
At first, I tried the Make routine that tutorials on compiling teach us. But it doesn't have a makefile. Then, after looking for info on how to use gcc itself, I learned that I needed a C++ compiler. After installing g++, I tried to compile what seems to be the main source code file (decker.cpp). Didn't work. The code pointed to another file with a lowercase name. I knew then that I had to rename all the files to have lowercase names. Even after that, it pointed to a file that didn't even exist (afxwin.h) in any of the directories. I looked at decker.cpp with Kdevelop and noticed that the code deals with ******* registry in some way. NO idea what to do. I've searched for a while on Google on porting ******* programs to Linux and all I ever came up with was compiling programs on Linux for *******. I know this is a small issue... but I'd like to learn about these things.
I'm assuming that I would have to know programming and actually edit the files to work with Linux right? I guess I mainly just need clarification on that. I always thought that source code was basically universal, and that when you compile it, it is set to your OS' specifications. Am I wrong?
Here's a link to the SourceForge: http://sourceforge.net/projects/decker/
I tried to upload an archive of it, but it was too big.
Bookmarks