Random Homebrew: Multi-Menu-Loader for eCFW-Exploits
Its an Simple Menu with all other developed Menu´s like TN-Menu, Y-Menu, V-Menu, PY-Meny. As an [...]
Friends: Coding 'n Cracking - Nymphaea - PS3 Forum - darkforestgroup - daxhordes.org - Tgames - coldbird - gopsp.it - pspstation.org - prometheus - hgoel.info - MakeSmartTV - ps vita

Image on the screen... THEFUQ

Forum rules
Any post not directly related to programming will be moderated.
Do not request people to code something for you.
Avoid posting messages that do not bring anything to the conversation. We want the threads in this subforum to stay focused.

Image on the screen... THEFUQ

Postby kmanev07 » Fri May 25, 2012 1:01 pm

lol guys i tried to develop on my old pc... i wanted to pront a image and see what i got: "no rule to make target graphics.o needed by image.elf" THEFUQ...
main.c:
Code: Select all
#include <pspkernel.h>
#include <pspdebug.h>
#include <pspcallbacks.h>
#include "graphics.h"

PSP_MODULE_INFO("Pocket School",0,1,1);

int main() {
   SetupCallbacks();
   initGraphics();
   Image* background = loadImage("image.png");
   blitAlphaImageToScreen(0,0,480,272,background,0,0);   
   flipScreen();
   sceKernelSleepThread();
   return 0;
}


make file:
Code: Select all
TARGET = image
OBJS = main.o graphics.o framebuffer.o

CFLAGS = -O2 -G0 -Wall
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)

LIBS = -lpspgu -lpng -lz -lm

EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = Image

PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak


\actually i got my maino ready but the other files...
kmanev07
 
Posts: 47
Joined: Fri Jun 03, 2011 9:39 am

Re: Image on the screen... THEFUQ

Postby FrEdDy » Fri May 25, 2012 1:07 pm

Put graphics.c & .h and framebuffer.c & .h in the directory.
https://github.com/freddy-156
<@n00b81> FREDDY CUTTIES
User avatar
FrEdDy
HBL Collaborator
 
Posts: 349
Joined: Mon Sep 27, 2010 7:08 pm

Re: Image on the screen... THEFUQ

Postby kmanev07 » Fri May 25, 2012 1:10 pm

of cource they are -_-
kmanev07
 
Posts: 47
Joined: Fri Jun 03, 2011 9:39 am

Re: Image on the screen... THEFUQ

Postby JJS » Fri May 25, 2012 1:14 pm

kmanev07 wrote:of cource they are -_-
make seems to have a different opinion on that...
JJS
Big Beholder
 
Posts: 1516
Joined: Mon Sep 27, 2010 2:18 pm

Re: Image on the screen... THEFUQ

Postby FrEdDy » Fri May 25, 2012 1:18 pm

kmanev07 wrote:of cource they are -_-

The error you gave us
"no rule to make target graphics.o needed by image.elf"
Tells exactly that there's no graphics.c in the folder.
https://github.com/freddy-156
<@n00b81> FREDDY CUTTIES
User avatar
FrEdDy
HBL Collaborator
 
Posts: 349
Joined: Mon Sep 27, 2010 7:08 pm

Re: Image on the screen... THEFUQ

Postby kmanev07 » Fri May 25, 2012 1:21 pm

acctually there only h files :D i will try now
kmanev07
 
Posts: 47
Joined: Fri Jun 03, 2011 9:39 am

Re: Image on the screen... THEFUQ

Postby kmanev07 » Fri May 25, 2012 1:23 pm

OMG of cource i need c file all the funcs in header files are extern.... :D
can you send me all the graphics and framebuffer becaouse the psp - rograming is closed and i cant find them PLEASE Media fire
kmanev07
 
Posts: 47
Joined: Fri Jun 03, 2011 9:39 am

Re: Image on the screen... THEFUQ

Postby FrEdDy » Fri May 25, 2012 1:27 pm

kmanev07 wrote:OMG of cource i need c file all the funcs in header files are extern.... :D
can you send me all the graphics and framebuffer becaouse the psp - rograming is closed and i cant find them PLEASE Media fire

You can grab them from here, no need to reupload
http://trac.assembla.com/PSPDev/browser
https://github.com/freddy-156
<@n00b81> FREDDY CUTTIES
User avatar
FrEdDy
HBL Collaborator
 
Posts: 349
Joined: Mon Sep 27, 2010 7:08 pm

Re: Image on the screen... THEFUQ

Postby kmanev07 » Fri May 25, 2012 1:52 pm

thank you all yo ucan close this
kmanev07
 
Posts: 47
Joined: Fri Jun 03, 2011 9:39 am


Return to Programming

Who is online

Users browsing this forum: No registered users and 1 guest