Questions tagged [pspsdk]
7 questions
4
votes
2 answers
Is there an advantage to upgrade Binutils from 2.16.1 to 2.19? Why?
In the PSPSDK (Homebrew) we are using the Binutils 2.16.1 to assemble and link the code for the PlayStation Portable, however that release is getting quite outdated (3 versions have superseded it). The community and me have been updating the GCC and…

Paulo Lopes
- 5,845
- 22
- 31
4
votes
4 answers
Calculate vertices of a circle
I am having a simple program, it draws a circle :/
This works fine...
for (k = 1; k < n+1+1; k++){
vertices[k].color = GU_COLOR( 0.0f, 0.0f, 1.0f, 0.0f );
vertices[k].x = cos_d( 360 - ((k-1) * dstep) );
vertices[k].y = sin_d( 360 - ((k-1) *…

jex
- 643
- 1
- 8
- 9
2
votes
4 answers
Help on Porting a SIP library to PSP
I'm currently trying to port a SIP stack library (pjSIP) to the PSP Console (using the PSPSDK toolchain), but I'm having too much trouble with the makefiles (making the proper changes and solving linking issues).
Does anyone know a good text, book…

fabiopedrosa
- 2,521
- 7
- 29
- 42
2
votes
0 answers
Expected unqualified-id before string constant in header file dealing with extern "C"
I am developing a PSP game and the compiler is complaing about extern "C" in a header file, which I do not see anything wrong with the header file.
Exact message:
1>------ Build started: Project: PSP Pong, Configuration: Debug Win32 ------
1> …

Daniel Lopez
- 1,728
- 3
- 24
- 40
2
votes
1 answer
Why is this class that does not declare any pure virtual member function abstract?
How is the following class Game abstract? And how do I make it concrete so I can create an instance of it?
game.h
#include
#include
class Game: public JApp
{
private:
JGE* Engine;
int x, y, x2, y2;
public:
Game(JGE…

Daniel Lopez
- 1,728
- 3
- 24
- 40
1
vote
0 answers
Programming A PSP Application And Keep Getting A Linker Error (Undefined Reference)
I do not know why I keep getting this linker error because I linked the right library I am sure of it unless I am linking the wrong one but maybe someone knows which is the right library for the function SonyOskGu. The error is:…

Daniel Lopez
- 1,728
- 3
- 24
- 40
0
votes
1 answer
Undefined reference to `oslIsWlanPowerOn'
I am developing a PSP homebrew application and I using the makefile from the exampel but it won't link because the stupid (excuse my French) linker says that oslIsWlanPowrOn is undefined. I know I am linking the right library, plus I am following an…

Daniel Lopez
- 1,728
- 3
- 24
- 40