Comments (3)
Alternetively, the pspdev.cmake
toolchain can add the include paths using -isystem
instead of -I
Lines 12 to 13 in 6192ee8
becomes
SET(CMAKE_C_FLAGS_INIT "-isystem${PSPDEV}/psp/include -isystem${PSPDEV}/psp/sdk/include -DPSP -O2 -G0")
SET(CMAKE_CXX_FLAGS_INIT "-isystem${PSPDEV}/psp/include -isystem${PSPDEV}/psp/sdk/include -DPSP -O2 -G0")
from pspsdk.
Alternetively, the
pspdev.cmake
toolchain can add the include paths using-isystem
instead of-I
Lines 12 to 13 in 6192ee8
becomes
SET(CMAKE_C_FLAGS_INIT "-isystem${PSPDEV}/psp/include -isystem${PSPDEV}/psp/sdk/include -DPSP -O2 -G0") SET(CMAKE_CXX_FLAGS_INIT "-isystem${PSPDEV}/psp/include -isystem${PSPDEV}/psp/sdk/include -DPSP -O2 -G0")
Unfortunately, testing this yielded the same results. _PSP_FW_VERSION
is still being complained about as being undefined with -Wundef
. Interestingly though, this is only an issue I can reproduce with cmake. Using the standard build.mak
this issue does not occur.
I've gone ahead an made a PR guarding _PSP_FW_VERSION
. This probably should have been in place to begin with, so thanks for the report and potential fix suggestions.
from pspsdk.
Alternetively, the
pspdev.cmake
toolchain can add the include paths using-isystem
instead of-I
Lines 12 to 13 in 6192ee8
becomes
SET(CMAKE_C_FLAGS_INIT "-isystem${PSPDEV}/psp/include -isystem${PSPDEV}/psp/sdk/include -DPSP -O2 -G0") SET(CMAKE_CXX_FLAGS_INIT "-isystem${PSPDEV}/psp/include -isystem${PSPDEV}/psp/sdk/include -DPSP -O2 -G0")Unfortunately, testing this yielded the same results.
_PSP_FW_VERSION
is still being complained about as being undefined with-Wundef
. Interestingly though, this is only an issue I can reproduce with cmake. Using the standardbuild.mak
this issue does not occur.
That's strange. I applied this suggestion in the SDL workflow. Perhaps it only works on the first configuration.
I've gone ahead an made a PR guarding
_PSP_FW_VERSION
. This probably should have been in place to begin with, so thanks for the report and potential fix suggestions.
Thank you!
from pspsdk.
Related Issues (20)
- Trying to Compile sm-64 port, and I get this error related to the sdk HOT 3
- [ISSUE] SDL2_mixer: undefined reference to `ov_*` HOT 5
- SIO sample firmware version limitation HOT 2
- Remove Corrupt PrxEncrypter from Tools HOT 6
- add a sample for pspge HOT 1
- Global/Static variables never initialized HOT 1
- Remove -G0 flag in build_prx.mak ? HOT 2
- Wrong freetype path HOT 2
- sceGeEdramSetSize not working properly HOT 2
- sceUtilityLoadNetModule, audio and thread issue HOT 5
- `__retarget_lock_init.o, error: invalid type argument of ‘->’` HOT 6
- Environmental Variables HOT 4
- undefined reference to `sceKernelVolatileMemTryLock' HOT 2
- Missing header in psprtc.h HOT 2
- Missing `remove(const char *path)` HOT 3
- new dependency on pthread-embedded HOT 11
- configure doesn't set default CFLAGS HOT 3
- CMake using the incorect OUTPUT_NAME but stripping. HOT 8
- libpspdmac doesn't work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pspsdk.