Answer the question
In order to leave comments, you need to log in
How to work with libraries when porting games to PSP?
I want to port Terraria to PSP. But I can't figure it out. Found an SDK called Minimalist PSPSDK. Wrote a couple of simple programs such as a calculator and a text editor. But as it came to games and graphics, there was a need to use third-party libraries. Type math,png,opengl,graphics but I can't figure out how to do it. Compiled via make.bat. I want to figure out how to work with libraries, I heard they are denoted by *.a format and *.h header. But I can not find any of them, how and where to install them, where to get the docks.
Answer the question
In order to leave comments, you need to log in
1. Libraries windows *.lib and *.Dll and linux .a and so
2. add the library when compiling. (or write it in files or tell the compiler where to get these libraries)
3. read the documentation about your compiler.
4. *.h is a header where functions, classes and so on are described.
It is similar to standard gcc then use -l for libraries -i for *.h files There are books on gcc
"GCC. The Complete Guide (Griffiths)"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question