compiling

Posted by Nick Gammon on Sun 26 May 2002 03:28 AM — 8 posts, 28,680 views.

Australia Forum Administrator #0
Sounds like you didn't install the Cygwin compiler. There are quite a few posts about that here, try searching for them.
Australia Forum Administrator #1
Have a search on the forum here. There are some lengthy posts about it. When downloading Cygwin you might not have got all of it, you need to compiling tools (eg. make, gcc etc.). Someone else had a similar problem, read what happened to him.
#2
ok this is probly the last question i will ask before i get this thing working. ok i compiled it ok and the exe file shows up in the folder. however when i go to run it in Crywin it doesnt showup like it got deleted. is it spost to go somewhere or something spost to happen to it? whenever i try to run it, it says no such file or directory. what is going wrong?
thanks
#3
ok well i figured out what i did wrong that caused it to disappear after reading alittle about others problems and looking at the errors more closely. however now that it is compiled i try to open it up and it says not a directory and wont open it. did i compile it wrong?
thanks
Australia Forum Administrator #4
Hard to say from your description. Can you post what you entered, and what it replied?

Usually after compiling you do this (in the Cygwin shell window) ...


cd ../area
../src/smaug
#5
unknown@VIAO c:/mydocu~1/mudd/area
$ cd c:/mydocu~1/mudd/area

unknown@VIAO c:/mydocu~1/mudd/area
$ cd ../src/smaug.exe
BASH: cd: ../src/smaug.exe: Not a directory

unknown@VIAO c:/mydocu~1/mudd/area
$


?????????
USA #6
You want to type ../src/smaug, no cd :)

-Edge
Australia Forum Administrator #7
Quite right. "cd" is "change directory". You can't change directory to a .exe file.

I didn't have 'cd' in the second line of my instructions.