Well, the toolchain guide here is missing essential parts:
1) to set up the environment, the only thing you have to do is to run the ps3dev.bat (before it you should open a cmd window and in there call the batch file, so it won't close after you executed!) Then you can do your work in THIS cmd window! (or rerun the bat in a new windows, etc...)
2) there is a readme.txt file in the dir as the bat, which said you should do some setup to work with the toolchain (you have to do these once, but once you SHOULD!)
/during the execution/setup sometimes it looks like as it's frozen, but it's not! you should wait until it's finished!/
If you use the toolchain as in 1) then other environments such as cygwin or mingw won't interfere with it. (the default PATH variable is often overcrumbled; messing with it will result in lot's of nasty side-effect)
If you don't do the 2), then maybe it will work, maybe not because it's not adjusted to your own computer. Example: if the toolchain was set to x86 cpu, and you have x64. Or what if these infos were omitted because you should setup anyways?!
Originally Posted by AnAngryTaco
Well it looks like he is just trying to make a sample OpenGL. Usually those are all just pre-made source. It should be set up correctly.
No it shouldn't! If you install a custom package, often it doesn't enough to copy/unpack to a specified place. You need to 'configure', 'make' and 'make install'.
If you try to use softGL, setup the environment (copy/overwrite the corresponding files in 'ps3sdksrc', then configure, make and make install)
In this way it SHOULD work!
It is a PS3SDK sample, I don't think he is actually trying to install it, just doing a test.
The softGL actually an external component/expansion to original/ which you have to install first.
Trust me, i've done the setup and building before my comment. Without proper installation i've got the same error, but after installation, the bld has been made flawlessly.
Last edited by CodeKiller; 06-10-2010 at 08:13 PMReason: added information
You have to copy modified files in ps3sdk and recompile it for use with softgl. I did some changes in the ps3sdk code and that is why it fails to compile. anyway, softgl is not required to perform the exploit. you can use simple printf
See if there's any "#include gl/xx.h" and try making the folder letters capitals. I always had this problem when porting my linux OpenGL applications onto Windows and it would always slip my mind that my library folders were named differently. It was a big pain, I troubleshooted for almost an hour once over folder names, lol.
EDIT: Also try re-arranging some libraries in the makefile. Just fool around with stuff like that. Good luck.