HELP! I can't get a working environment set up.

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
cosmonk
Posts: 3
Joined: Thu May 15, 2008 10:57 am

HELP! I can't get a working environment set up.

Post by cosmonk »

So, I have tried two completely different ways of setting up a development environment under Windows XP. First I tried using CYGWIN and installing the toolchain. The first time I tried it, it wouldn't install because my user name has a space in it, and so anytime the installation would call for the directory, there would be a problem. So, I created a dummy user under the home directory, and switched there and ran the toolshain from there. It runs for quite a while before finally giving me the same error repeatedly and ultimately reporting failure:

16320001 [main] sh 115220 fork: child -1 -CreateProcessA failed, errno 11

with the 8 and 6 digit numbers changing. The final lines are

make: *** [configure-gas] Error 1
../scripts/001-binutils-2.16.1.sh: Failed

The second method I tried was the non-CYGWIN method outlined by Paulo Lopes at http://www.jetcube.eu/archives/2008/01/entry_61.html, and it seems to be missing steps or something, because when I finally tried to compile using eclipse, the Make program didnt have a proper Makefile and I couldnt figure out how to supply it with one.

So I need help! Can someone walk me through this, or tell me what Im missing or something? I have had exensive experienve programming in C++, however I have never used Eclipse, and have never worked with an SDK under Linux, so Im quite lost. I think all will be good if I can get past this problem.
User avatar
Wally
Posts: 663
Joined: Mon Sep 26, 2005 11:25 am

Post by Wally »

G'day mate.

Try this one.
http://forums.ps2dev.org/viewtopic.php?t=9812

I haven't used it, however it seems pretty reliable and would be much quicker than installing via cygwin.

Wally
jojojoris
Posts: 255
Joined: Sun Mar 30, 2008 4:06 am

Post by jojojoris »

Did you also install the requirements like autoconf, automake, bison, flex, gcc, make, ncurses, patch, subversion, texinfo, wget in cygwin.
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

Folks, there are twenty BILLION threads on setting up the toolchain in Windows. I say the next person to make a new thread on this topic be banned just on the principle of the matter. I would settle for a filter that would prevent any new thread from being created with the words Windows, Vista, or cygwin in it.
User avatar
Wally
Posts: 663
Joined: Mon Sep 26, 2005 11:25 am

Post by Wally »

Perhaps a sticky J.F or the search button needs to be in bold and red.
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

Wally4000 wrote:Perhaps a sticky J.F or the search button needs to be in bold and red.
These folks never bother to look for existing threads (there's at least one on the first page here alone), much less use the search. Maybe a filter so if they try to create a thread with the words Windows, Vista, or CygWin, it automatically diverts them to search instead. :)
cosmonk
Posts: 3
Joined: Thu May 15, 2008 10:57 am

Post by cosmonk »

Well folks, the reason I posted was because, after searching, I hadnt seen anything relating to the problems Ive had. Yes I installed all the necessary parts of CYGWIN, and I did so a couple of times just to make absolutely sure I had them. And it still wouldnt work. In fact, I hadnt seen anyone else mention the problem I had with CYGWIN at all. Wally pointed me to a thread Id already tried, though I did finally get that method to work, somewhat. For some odd reason Eclipse seems to have problems using the Makefile. I compiled a simple Hello World last night, and today it won't compile. I am going to keep playing with it though. Also, thanks Wally for responding to my post so quick, and also for not flaming.
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

You provided almost no info, did not mention looking at any threads, and asked for a "walk-through". There are ten billion walk-throughs. I've also not seen a truly new problem with installing in Windows in the last thousand threads on it.

Finally, installing the toolchain is a right of passage / competency test for PSP programming. If you can't even install the toolchain from all the help and tutorials posted, you probably aren't ready to begin programming the PSP. Installing the toolchain is the EASY part. It only gets harder, and asking for help now tells us we have the misfortune of listening to you whine on every other subject until you finally give up.
cosmonk
Posts: 3
Joined: Thu May 15, 2008 10:57 am

Post by cosmonk »

I disagree that gettin that toolchain installed was the easy part. Now that Ive gotten Eclipse sorking and figured out the problems I was having with it, making programs has been quite easy. But I just won't bother you guys any more. Gonna go make me some games.
Post Reply