| View previous topic :: View next topic |
| Author |
Message |
YellowShadow
Joined: 27 Aug 2008 Posts: 7
|
Posted: Wed Aug 27, 2008 12:39 pm Post subject: Error running toolchain |
|
|
I'm building the toolchain in Windows using Cygwin. I checked out the latest version from the SVN but it says it can't find gmp. I installed gmp and from the cygwin install program and re-ran the toolchain only to get the same error. Am I missing something here?
Can anyone help?
Thanks! _________________ ------------------------
I develop games :) |
|
| Back to top |
|
 |
Insert_witty_name
Joined: 10 May 2006 Posts: 376
|
|
| Back to top |
|
 |
YellowShadow
Joined: 27 Aug 2008 Posts: 7
|
Posted: Wed Aug 27, 2008 2:10 pm Post subject: |
|
|
| Insert_witty_name wrote: | | http://forums.ps2dev.org/viewtopic.php?t=10889 |
There is no package called gmp-devel and mpfr-devel, but I've installed gmp and mpfr (thats how they were listed in the package selection screen). _________________ ------------------------
I develop games :) |
|
| Back to top |
|
 |
jojojoris
Joined: 30 Mar 2008 Posts: 261
|
Posted: Wed Aug 27, 2008 4:48 pm Post subject: |
|
|
Hey..
I had the same problem. It's was a while ago. but you have to search for
libmpfr-devel
and
libgmp-devel
But after i installed that i got some other problems. so im now trying to instal in with MINGW MSYS instead of Cygwin. |
|
| Back to top |
|
 |
YellowShadow
Joined: 27 Aug 2008 Posts: 7
|
Posted: Wed Aug 27, 2008 4:52 pm Post subject: |
|
|
| jojojoris wrote: | Hey..
I had the same problem. It's was a while ago. but you have to search for
libmpfr-devel
and
libgmp-devel
But after i installed that i got some other problems. so im now trying to instal in with MINGW MSYS instead of Cygwin. |
Oh okay, thanks will try that :D _________________ ------------------------
I develop games :) |
|
| Back to top |
|
 |
Heimdall
Joined: 10 Nov 2005 Posts: 259 Location: Netherlands
|
Posted: Wed Aug 27, 2008 5:18 pm Post subject: |
|
|
jojojoris if you use the SVN scripts directly with MSYS (no cygwin) they won't work, you have to modify them or just use my patched scripts (http://minpspw.sf.net) then you can use them under windows without cygwin.
To make it even easier you can just download the win32 binary and you have a working SDK without any work.
Cheers |
|
| Back to top |
|
 |
YellowShadow
Joined: 27 Aug 2008 Posts: 7
|
Posted: Thu Aug 28, 2008 3:30 am Post subject: |
|
|
Okay now I'm getting a new error saying this:
| Code: |
$ ./toolchain.sh
ERROR: Add C:/cygwin/usr/local/pspdev/bin to your path before continuing.
../depends/check-pspdev.sh: Failed.
|
My cygwin.bat file says
| Code: |
@echo off
C:
chdir C:\cygwin\bin
set PSPDEV=C:/cygwin/usr/local/pspdev
set PATH=%PATH%;C:/cygwin/usr/local/pspdev/bin
bash --login -i |
Am I doing something wrong here? _________________ ------------------------
I develop games :) |
|
| Back to top |
|
 |
Raphael

Joined: 17 Jan 2006 Posts: 646 Location: Germany
|
|
| Back to top |
|
 |
YellowShadow
Joined: 27 Aug 2008 Posts: 7
|
Posted: Thu Aug 28, 2008 1:00 pm Post subject: |
|
|
Thanks,
It worked :D _________________ ------------------------
I develop games :) |
|
| Back to top |
|
 |
YellowShadow
Joined: 27 Aug 2008 Posts: 7
|
Posted: Thu Aug 28, 2008 2:41 pm Post subject: |
|
|
How do I install the psp version of libraries like TinyXML, SDL, SDL_Image, SDL_Mixer, etc...
I know there in the ps2dev svn but don't know how to install them through cygwin. _________________ ------------------------
I develop games :) |
|
| Back to top |
|
 |
kralyk
Joined: 06 Apr 2008 Posts: 114 Location: Czech Republic, central EU
|
Posted: Thu Aug 28, 2008 7:33 pm Post subject: |
|
|
Why do you use cygwin on windows? Whats the benefit over heimdall's native sdk? _________________ ...sorry for my english... |
|
| Back to top |
|
 |
Raphael

Joined: 17 Jan 2006 Posts: 646 Location: Germany
|
Posted: Thu Aug 28, 2008 9:22 pm Post subject: |
|
|
| YellowShadow wrote: | How do I install the psp version of libraries like TinyXML, SDL, SDL_Image, SDL_Mixer, etc...
I know there in the ps2dev svn but don't know how to install them through cygwin. |
Most of the time it's just:
| Code: |
svn co svn://svn.ps2dev.org/psp/trunk/libraryname
cd libraryname
make && make install
|
Generally, you should read the included readme.txt or readme.psp before doing the make && make install step, as it contains exact information on how to make and install the libary.
| kralyk wrote: | | Why do you use cygwin on windows? Whats the benefit over heimdall's native sdk? |
Because it creates a POSIX environment that the toolchain natively requires for compilation. Heimdall's SDK works just fine, because it's precompiled and that environment isn't needed any more for plain compilation of your projects, unless you want to recompile the toolchain. It's perfectly fine if you just want to get a development setup working without caring for keeping up to date unless a new build is created. _________________ <Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki
Alexander Berl |
|
| Back to top |
|
 |
jojojoris
Joined: 30 Mar 2008 Posts: 261
|
Posted: Thu Aug 28, 2008 9:29 pm Post subject: |
|
|
well..
If you want the fastest toolchain you have to install Linux in your PC. I've Ubuntu installed on my PC to. (yes i have a dual boot). Building the toolchain on Linux is faster because cygwin is an emulator which is always slower.
With linux you shouldn't have any problems if you follow the instructions. |
|
| Back to top |
|
 |
YellowShadow
Joined: 27 Aug 2008 Posts: 7
|
Posted: Fri Aug 29, 2008 2:01 am Post subject: |
|
|
I'm trying to compile SDL and when I did this line:
| Code: |
./configure --host psp --prefix=$(psp-config --psp-prefix)
|
I get the following stuff in the console and it fails:
| Code: |
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-cygwin
checking host system type... mipsallegrexel-psp-elf
checking target system type... mipsallegrexel-psp-elf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for psp-strip... psp-strip
checking for style of include used by make... GNU
checking for psp-gcc... psp-gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
|
What am I doing wrong?
Also where can I find a list of libraries that are in the svn trunk and if I were to update the psptoolchain would I have to rebuild the whole thing or what? How would I do that?
Thanks _________________ ------------------------
I develop games :) |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Fri Aug 29, 2008 3:42 am Post subject: |
|
|
| Code: | svn checkout svn://svn.ps2dev.org/psp/trunk/psplibraries
cd psplibraries
sudo ./libraries-sudo.sh |
Enjoy! |
|
| Back to top |
|
 |
Jim

Joined: 02 Jul 2005 Posts: 487 Location: Sydney
|
|
| Back to top |
|
 |
|