Search found 26 matches

by Nine_Masquerade_
Sun Aug 09, 2009 1:47 pm
Forum: PSP Development
Topic: undefined reference to `vtable'?
Replies: 3
Views: 2288

undefined reference to `vtable'?

When compiling i get this error log: **** Build of configuration Default for project ITAWAS **** make all psp-gcc -I. -IC:/pspsdk/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=150 -L. -LC:/pspsdk/psp/sdk/lib main.o graphics.o framebuffer.o -lpspgu -lpng -lz -lm -lstdc++ -lpspdebug -lpspdisplay -lp...
by Nine_Masquerade_
Sat Jul 25, 2009 1:10 pm
Forum: PSP Development
Topic: 2D draw methods/ Java -> C++
Replies: 30
Views: 8218

hahah i was going to send it there because your profile said that was your msnm address...

But ok i'll email it to you. I wont include all of the png's cuz they take up a lot of space.

Thanks again

EDIT

hmm i didn't get the pm... ill pm you a mediafire link.
by Nine_Masquerade_
Fri Jul 24, 2009 11:52 am
Forum: PSP Development
Topic: 2D draw methods/ Java -> C++
Replies: 30
Views: 8218

Thanks pspPea
I could email you the project... just pm me your email address.

EDIT
Is it cool if i send it to this address: [email protected] ?
by Nine_Masquerade_
Fri Jul 24, 2009 6:23 am
Forum: PSP Development
Topic: 2D draw methods/ Java -> C++
Replies: 30
Views: 8218

Sure. Here is the whole log: **** Build of configuration Default for project ITAWAS **** make all psp-g++ -I. -IC:/pspsdk/psp/sdk/include -O2 -G0 -Wall -I. -IC:/pspsdk/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150 -c -o main.o main.cpp In file included from You.h:12, ...
by Nine_Masquerade_
Fri Jul 24, 2009 5:43 am
Forum: PSP Development
Topic: 2D draw methods/ Java -> C++
Replies: 30
Views: 8218

Thanks! Yea, the header files are all in the same directory. That helped me narrow down the error log to this: You.h:46: error: ISO C++ forbids declaration of 'Rectangle' with no type You.h:46: error: expected ';' before '*' token You.h:47: error: ISO C++ forbids declaration of 'Rectangle' with no t...
by Nine_Masquerade_
Fri Jul 24, 2009 3:58 am
Forum: PSP Development
Topic: 2D draw methods/ Java -> C++
Replies: 30
Views: 8218

Yes that did solve that error, but now sadly i am getting more... I did some cleanup and reduced the errors as much as i could, but now i've got some i can't figure out. In all i have 9 classes and each are experiencing similar errors when i try to compile. So solving them in one class will help me ...
by Nine_Masquerade_
Wed Jul 22, 2009 2:26 pm
Forum: PSP Development
Topic: 2D draw methods/ Java -> C++
Replies: 30
Views: 8218

Thanks for your continued help psPea. I renamed main.c to main.cpp and added -lstdc++ to LIBS. Now i get this error: **** Build of configuration Default for project ITAWAS **** make all psp-g++ -I. -IC:/pspsdk/psp/sdk/include -O2 -G0 -Wall -I. -IC:/pspsdk/psp/sdk/include -O2 -G0 -Wall -fno-exception...
by Nine_Masquerade_
Wed Jul 22, 2009 1:37 pm
Forum: PSP Development
Topic: 2D draw methods/ Java -> C++
Replies: 30
Views: 8218

As I've said before, im not too adept in C++, and therefore i cannot figure out what i am doing wrong here :(. When i try to compile this test code i get these errors: **** Build of configuration Default for project ITAWAS **** make all psp-gcc -I. -IC:/pspsdk/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW...
by Nine_Masquerade_
Wed Jul 22, 2009 11:43 am
Forum: PSP Development
Topic: 2D draw methods/ Java -> C++
Replies: 30
Views: 8218

Im just going to make my own rectangle class using this algorithm: In the case of axis-aligned ones, there are at most four checks you need to perform: 1. Check if box A is completely to the left of box B (a.left <= b.right). If so, then quit the process: they don't intersect. 2. Otherwise, check if...
by Nine_Masquerade_
Tue Jul 21, 2009 1:30 pm
Forum: PSP Development
Topic: 2D draw methods/ Java -> C++
Replies: 30
Views: 8218

All i found for the java Rectangle class source was this: http://kickjava.com/src/java/awt/Rectangle.java.htm I also found this http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGdk_1_1Rectangle.html Which i think might prove to be more practical. But since im developing under MinPSPw, im...
by Nine_Masquerade_
Tue Jul 21, 2009 12:16 pm
Forum: PSP Development
Topic: 2D draw methods/ Java -> C++
Replies: 30
Views: 8218

Thank you. This helps tremendously. I am using eclipse Galileo and i know for a fact there are many syntax errors that are not being shown. Having realized this, this process may take a couple more days :( but im up to the task. Is there something I can change in my eclipse preferences so these erro...
by Nine_Masquerade_
Tue Jul 21, 2009 11:37 am
Forum: PSP Development
Topic: 2D draw methods/ Java -> C++
Replies: 30
Views: 8218

Hmm found something worth looking at. I ran my java source through a java -> C++ translator and it changed the ArrayLists like this: ArrayList<Image> flamethrower = new ArrayList<Image>&#40;&#41;; is now std&#58;&#58;vector<Image*> flamethrower = std&#58;&#58;vector<Image*>&a...
by Nine_Masquerade_
Tue Jul 21, 2009 11:20 am
Forum: PSP Development
Topic: 2D draw methods/ Java -> C++
Replies: 30
Views: 8218

lol thats why i changed my post to "im almost positive i cant". The error went away when i did what you said, but i did a little test, where i misspell "ArrayList", save, and no errors show up... Im not sure why its not detecting a syntax error when i misspell ArrayList. Ill see ...
by Nine_Masquerade_
Tue Jul 21, 2009 10:44 am
Forum: PSP Development
Topic: 2D draw methods/ Java -> C++
Replies: 30
Views: 8218

Almost done. Quick question though. Can i make ArrayLists in C++ like i can in Java? Im almost positive i cant, but its strange because dont have any syntax errors for lines like this: ArrayList<Image> flamethrower = new ArrayList<Image>&#40;&#41;; yet for some reason when i try making an Ar...
by Nine_Masquerade_
Tue Jul 21, 2009 8:37 am
Forum: PSP Development
Topic: 2D draw methods/ Java -> C++
Replies: 30
Views: 8218

I was just gonna try that psPea.
Working on it now...
by Nine_Masquerade_
Tue Jul 21, 2009 8:34 am
Forum: PSP Development
Topic: 2D draw methods/ Java -> C++
Replies: 30
Views: 8218

lol i agree J.F.. I do need to review my C++ a bit. Ive realized what i was trying to do didnt make too much sense, so what im trying now is this (just an example from within "You.h"): for&#40; int i = 0; i < 6; i++ &#41; &#123; sprintf&#40;buffer, "cylus"+i+"...
by Nine_Masquerade_
Tue Jul 21, 2009 7:39 am
Forum: PSP Development
Topic: 2D draw methods/ Java -> C++
Replies: 30
Views: 8218

Thanks for your very prompt and comprehensible tips psPea; it works great! What I meant by this: >is it possible to have a constructor take main as a parameter so that i can do main.blitImageToScreen(blah, blah, blah); as the draw method within a object? Is this: Suppose I had a class called "Y...
by Nine_Masquerade_
Tue Jul 21, 2009 1:31 am
Forum: PSP Development
Topic: 2D draw methods/ Java -> C++
Replies: 30
Views: 8218

Thanks! It works perfectly. A couple other questions: -How do you define a custom color (through RBG values) and then set the background as that color? -is it possible to have a constructor take main as a parameter so that i can do main.blitImageToScreen(blah, blah, blah); as the draw method within ...
by Nine_Masquerade_
Mon Jul 20, 2009 10:11 am
Forum: PSP Development
Topic: 2D draw methods/ Java -> C++
Replies: 30
Views: 8218

2D draw methods/ Java -> C++

Hi, i am completely new to C++ coming entirely from a Java background and was wondering which C++/PSP lib functions would do the following: -Created a buffered image with set width and height. -Draw an image to an x and y coordinate on that buffered image. -Blit the buffered image to the PSP screen....
by Nine_Masquerade_
Mon Jul 20, 2009 9:05 am
Forum: PSP Development
Topic: [SOLVED] Trouble installing zlib
Replies: 8
Views: 2625

Ive switched to MinPSPw and it is working beautifully, so i will mark this thread as solved. Yet, in the future i may want to try to figure this error out and get the environment fully working on my Ubuntu install.
Thanks for your help J.F.
by Nine_Masquerade_
Wed Jul 15, 2009 3:38 pm
Forum: PSP Development
Topic: [SOLVED] Trouble installing zlib
Replies: 8
Views: 2625

Added those lines to .bashrc and i still get the same error.

Any other suggestions that might solve the problem?

Thanks in advance for your help :)
by Nine_Masquerade_
Wed Jul 15, 2009 1:56 pm
Forum: PSP Development
Topic: [SOLVED] Trouble installing zlib
Replies: 8
Views: 2625

I get this error: ../depends/check-pspdev.sh: 5: psp-gcc not found ERROR: Install the psptoolchain before continuing. ../depends/check-pspdev.sh: Failed; Im pretty sure my toolchain was successfully installed, however this is telling me otherwise :( Also, the file "psp-gcc" is located in t...
by Nine_Masquerade_
Wed Jul 15, 2009 7:30 am
Forum: PSP Development
Topic: [SOLVED] Trouble installing zlib
Replies: 8
Views: 2625

Any specific tutorials you could point me to? Im running on Ubuntu 9.04 and im trying to use this tutorial: http://www.psp-programming.com/tutorials/c/lesson04.htm Ive had the toolchain installed and up and running allowing me to successfully compile text-based apps, but now that im starting to add ...
by Nine_Masquerade_
Wed Jul 15, 2009 5:32 am
Forum: PSP Development
Topic: [SOLVED] Trouble installing zlib
Replies: 8
Views: 2625

[SOLVED] Trouble installing zlib

I successfully downloaded and made zlib, but when i go to type "make install" i get the following error: make: psp-config: Command not found Makefile:9: /lib/build.mak: No such file or directory make: *** No rule to make target '/lib/build.mak'. Stop. However, typing "psp-config"...
by Nine_Masquerade_
Thu Jun 18, 2009 1:49 pm
Forum: PSP Development
Topic: [SOLVED] Help Please!! error in Ubuntu 9.04 when compiling!!
Replies: 4
Views: 2089

I am seriously s****** my pants right now. I figured out the problem. I had two "pspdev" folders: one at: /usr/local/ the other at: /home/nine-masquerade/ it turns out that the script that i ran installed it to the second directory. The problem was that the export was pointing to the first...
by Nine_Masquerade_
Thu Jun 18, 2009 10:45 am
Forum: PSP Development
Topic: [SOLVED] Help Please!! error in Ubuntu 9.04 when compiling!!
Replies: 4
Views: 2089

[SOLVED] Help Please!! error in Ubuntu 9.04 when compiling!!

I've spent about two days tirelessly working to setup the environment, first in Cygwin on Vista, which was too much of a hassle so... I then hooked up a 20g slave and installed Ubuntu 9.04. I spent a disturbing amount of time lurking forums and progressing, conquering error after error, but now i th...