Error running toolchain
-
- Posts: 7
- Joined: Wed Aug 27, 2008 12:35 pm
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!
Can anyone help?
Thanks!
------------------------
I develop games :)
I develop games :)
-
- Posts: 376
- Joined: Wed May 10, 2006 11:31 pm
-
- Posts: 7
- Joined: Wed Aug 27, 2008 12:35 pm
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).Insert_witty_name wrote:http://forums.ps2dev.org/viewtopic.php?t=10889
------------------------
I develop games :)
I develop games :)
-
- Posts: 7
- Joined: Wed Aug 27, 2008 12:35 pm
Oh okay, thanks will try that :Djojojoris 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.
------------------------
I develop games :)
I develop games :)
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
To make it even easier you can just download the win32 binary and you have a working SDK without any work.
Cheers
-
- Posts: 7
- Joined: Wed Aug 27, 2008 12:35 pm
Okay now I'm getting a new error saying this:
My cygwin.bat file says
Am I doing something wrong here?
Code: Select all
$ ./toolchain.sh
ERROR: Add C:/cygwin/usr/local/pspdev/bin to your path before continuing.
../depends/check-pspdev.sh: Failed.
Code: Select all
@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
------------------------
I develop games :)
I develop games :)
Yes. Whatever tutorial you used, it is outdated.
Here is an up-to-date tutorial on setting up the toolchain:
http://www.psp-programming.com/forums/i ... ,62.0.html
What you need to do is step 5.
Here is an up-to-date tutorial on setting up the toolchain:
http://www.psp-programming.com/forums/i ... ,62.0.html
What you need to do is step 5.
<Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki
Alexander Berl
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki
Alexander Berl
-
- Posts: 7
- Joined: Wed Aug 27, 2008 12:35 pm
Thanks,Raphael wrote:Yes. Whatever tutorial you used, it is outdated.
Here is an up-to-date tutorial on setting up the toolchain:
http://www.psp-programming.com/forums/i ... ,62.0.html
What you need to do is step 5.
It worked :D
------------------------
I develop games :)
I develop games :)
-
- Posts: 7
- Joined: Wed Aug 27, 2008 12:35 pm
Most of the time it's just: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.
Code: Select all
svn co svn://svn.ps2dev.org/psp/trunk/libraryname
cd libraryname
make && make install
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.kralyk wrote:Why do you use cygwin on windows? Whats the benefit over heimdall's native sdk?
<Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki
Alexander Berl
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki
Alexander Berl
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.
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.
-
- Posts: 7
- Joined: Wed Aug 27, 2008 12:35 pm
I'm trying to compile SDL and when I did this line:
I get the following stuff in the console and it fails:
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
Code: Select all
./configure --host psp --prefix=$(psp-config --psp-prefix)
Code: Select all
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.
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 :)
I develop games :)
Code: Select all
svn checkout svn://svn.ps2dev.org/psp/trunk/psplibraries
cd psplibraries
sudo ./libraries-sudo.sh