udoprog / c10t

A minecraft cartography tool
Other
225 stars 50 forks source link

make c10t doesnt work #154

Closed prmsacks3000 closed 13 years ago

prmsacks3000 commented 13 years ago

When i type in "make c10t" and press enter this appears

No rule to make target `c10t'. Stop.

I'm on linux 64 bit

I'm a new to linux and i have no idea how to get it to work. Please help

erisdev commented 13 years ago

Try this for starters:

cmake .
make

You may need to install cmake through your system's package manager.

prmsacks3000 commented 13 years ago

Thanx for coming back so quick. When I enter that code I get this Make Error: The source directory /home/prmsacks3000/build" does not appear to contain CMakeLists.txt. Yes and cmake is already installed on ubuntu software centre

erisdev commented 13 years ago

I'm not sure what your directory structure looks like over there, but it looks like you're trying to build in a different directory. Try replacing the . with the path to c10t's source code.

prmsacks3000 commented 13 years ago

I know this is really, really, really stupid but I don't get linux. What file is the c10t's source code?

erisdev commented 13 years ago

I'm assuming you've downloaded one of the files like c10t-1.3-linux-x86_64.tar.gz, correct? That's an archive that contains the source code and the scripts to build it. When you open that file, it should create a new directory full of files that should include CMakeLists.txt, among others.

What you want to put in place of the ., then, is the path to that directory. The command might look like cmake /home/prmsacks3000/Downloads/c10t-1.3, for example, depending on where you extracted the archive.

I'm afraid explaining how compilers work and what source code is is a little beyond the scope of this issue tracker, so you might want to do some research elsewhere, but I hope I've given you enough information to get you started.

frymaster commented 13 years ago

@ OP: These are basically the critical 4 steps from a batch file I have that recompiles c10t when an update is out:

git clone git://github.com/udoprog/c10t.git cd c10t/ cmake . make c10t

The important thing is the third step - cmake. If there's any errors, it'll be there - probably along the lines of missing dependancies. And if that step failes, it could result in the "make c10t" step failing

prmsacks3000 commented 13 years ago

thanx so much for the help but the c10t-1.7-linux-x86_64.tar.gz does not contain a CMakeLists.txt I am really confused

prmsacks3000 commented 13 years ago

TThanks so much frymaster it works now.:D Also big thanks to erisdiscord who now has actually made me understand linux. :D