PDA

View Full Version : Is this right



splodger15
September 23rd, 2006, 16:58
here is a picture of one of my project folders of a game i am creating but how do i make my make file not a txt because it still says a txt document under it

psiko_scweek
September 23rd, 2006, 17:15
lol, no thats not right.

the Makefile needs to be just Makefile

not Makefile.txt

here is from my other post...


alright now that we know what the problem is we can work on getting it solved!

(im going to assume your using windows)

alright if it acutally says Makefile.txt when you lookat the file in windows, you can highlight the file by clicking on it, press the F2 key, so your renamng it and then just delete the ".txt" at the end.

now if it doesnt say ".txt" at the end here is how to do it, open the folder that has the Makefile, click on Tools -> Folder Optons. That will bring up a dialouge box, the second tab will say "View" click on that and toward the middle you will see a bunch of checkmarks and radio buttons, click on the box that says "Hide Extensions of Known File Types" so that it is no longer checked. Now of course hit apply and exit and now it will actually say "Makefile.txt" so you can follow the instructions above.

Please note, windows will ask you if your sure that you want to change the extension to a possible unusable type, please click on YES.

splodger15
September 23rd, 2006, 17:22
ok i have done that but now in cygwin when i go to make my file i get this

psiko_scweek
September 23rd, 2006, 17:26
check your makefile...if need be post the makefile here.

splodger15
September 23rd, 2006, 17:39
here is my make file i know the PSP_EBOOT_TITLE has to go in but i dont know whats wrong with it

psiko_scweek
September 23rd, 2006, 18:03
first things first:

did you do this?

change the Cygwin.Bat to:

@echo off

C:
chdir C:\cygwin\bin

set path=%path%;C:/cygwin/usr/local/pspdev/bin
set PSPSDK=C:/cygwin/usr/local/pspdev

bash --login -i

splodger15
September 23rd, 2006, 18:14
no i didnt do that i have changed the cygwin bat file

psiko_scweek
September 23rd, 2006, 18:17
that should have solved the problem right?

splodger15
September 23rd, 2006, 18:20
now i get this

psiko_scweek
September 23rd, 2006, 18:23
LOL! fun! alright, well its compiling now at least, or trying.

thats a step in the right direction.

hmm...it does appear that you may have the file written wrong.

splodger15
September 23rd, 2006, 18:29
do you know how to tidy the main.c file up

psiko_scweek
September 23rd, 2006, 18:31
how to tidy it up? umm.... nope why? lol!

splodger15
September 23rd, 2006, 18:34
how to tidy it up? umm.... nope why? lol!


cause if it has been written wrong i need someone to help me correct it

psiko_scweek
September 23rd, 2006, 18:38
well post it here and i can see what i can do to help.

Tinnus
September 23rd, 2006, 21:21
Looks like it's missing some includes like <pspkernel.h> and <pspctrl.h> .