Comments (7)
Try using cmake .
before make
from samples.
@No-User cmake works, make using makefile won't.
from samples.
that's because debugScreen is now a new object file
ded5780#diff-40ca84316d1604ae66b8676544118b83
can you try putting the CMake line ../common/debugScreen.c
before the main one ?
No idea why putting the main.c before the debugScreen.c one would fail tho.
from samples.
@yne
cmake works without any issues. Makefile won't.
from samples.
That's because the only job of CMake is to create a Makefile.
(why would we keep things simple when we can make them complicated huh).
And apparently it does not do it well.
So can you try something like this in your CMakelist.txt :
add_executable(${PROJECT_NAME}
debugScreen.c
src/main.c
)
or maybe
add_executable(${PROJECT_NAME}
../common/debugScreen.c
src/main.c
)
from samples.
@yne
I'm using already existed makefile. It works on previous commit.
from samples.
Oh okay I thought you were using the cmake .. && make
command
In this case I guess, the ../common/debugScreen.c
shall be added to this line
But I still don't understand why does this folder have both a Makefile+CMakelist.
from samples.
Related Issues (18)
- Needs more samples
- Need to rename lSceKernel_stub to lSceLibKernel_stub in the samples HOT 1
- CMake everything
- Create a sample plugin
- SDL2 Github Link 404s HOT 4
- cmake in samples don't add images into vpk HOT 6
- Sample 3 Net_http cant write file because it is unsafe HOT 4
- can you add a sample about loading and playing audio files? HOT 7
- New DebugScreeen implementation (was: "Missing psvDebugScreenClear() function") HOT 20
- offline api docs HOT 3
- undefiend reference errors when compiling hello_cpp_world HOT 4
- error with SDL2/SDL_mixer HOT 1
- Can't compile prx_simple - unknown type name 'SceDisplayFrameBuf' HOT 8
- error with SDL2/SDL2_ttf HOT 1
- Issue when building with cmake HOT 5
- CMake error on SDL when trying to compile on linux HOT 2
- What happened to the libgxm samples? 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 samples.