Search found 26 matches
- Sun Aug 09, 2009 1:47 pm
- Forum: PSP Development
- Topic: undefined reference to `vtable'?
- Replies: 3
- Views: 3551
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...
- Sat Jul 25, 2009 1:10 pm
- Forum: PSP Development
- Topic: 2D draw methods/ Java -> C++
- Replies: 30
- Views: 19774
- Fri Jul 24, 2009 11:52 am
- Forum: PSP Development
- Topic: 2D draw methods/ Java -> C++
- Replies: 30
- Views: 19774
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] ?
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] ?
- Fri Jul 24, 2009 6:23 am
- Forum: PSP Development
- Topic: 2D draw methods/ Java -> C++
- Replies: 30
- Views: 19774
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, ...
- Fri Jul 24, 2009 5:43 am
- Forum: PSP Development
- Topic: 2D draw methods/ Java -> C++
- Replies: 30
- Views: 19774
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...
- Fri Jul 24, 2009 3:58 am
- Forum: PSP Development
- Topic: 2D draw methods/ Java -> C++
- Replies: 30
- Views: 19774
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 ...
- Wed Jul 22, 2009 2:26 pm
- Forum: PSP Development
- Topic: 2D draw methods/ Java -> C++
- Replies: 30
- Views: 19774
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...
- Wed Jul 22, 2009 1:37 pm
- Forum: PSP Development
- Topic: 2D draw methods/ Java -> C++
- Replies: 30
- Views: 19774
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...
- Wed Jul 22, 2009 11:43 am
- Forum: PSP Development
- Topic: 2D draw methods/ Java -> C++
- Replies: 30
- Views: 19774
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...
- Tue Jul 21, 2009 1:30 pm
- Forum: PSP Development
- Topic: 2D draw methods/ Java -> C++
- Replies: 30
- Views: 19774
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...
- Tue Jul 21, 2009 12:16 pm
- Forum: PSP Development
- Topic: 2D draw methods/ Java -> C++
- Replies: 30
- Views: 19774
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...
- Tue Jul 21, 2009 11:37 am
- Forum: PSP Development
- Topic: 2D draw methods/ Java -> C++
- Replies: 30
- Views: 19774
- Tue Jul 21, 2009 11:20 am
- Forum: PSP Development
- Topic: 2D draw methods/ Java -> C++
- Replies: 30
- Views: 19774
- Tue Jul 21, 2009 10:44 am
- Forum: PSP Development
- Topic: 2D draw methods/ Java -> C++
- Replies: 30
- Views: 19774
- Tue Jul 21, 2009 8:37 am
- Forum: PSP Development
- Topic: 2D draw methods/ Java -> C++
- Replies: 30
- Views: 19774
- Tue Jul 21, 2009 8:34 am
- Forum: PSP Development
- Topic: 2D draw methods/ Java -> C++
- Replies: 30
- Views: 19774
- Tue Jul 21, 2009 7:39 am
- Forum: PSP Development
- Topic: 2D draw methods/ Java -> C++
- Replies: 30
- Views: 19774
- Tue Jul 21, 2009 1:31 am
- Forum: PSP Development
- Topic: 2D draw methods/ Java -> C++
- Replies: 30
- Views: 19774
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 ...
- Mon Jul 20, 2009 10:11 am
- Forum: PSP Development
- Topic: 2D draw methods/ Java -> C++
- Replies: 30
- Views: 19774
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....
- Mon Jul 20, 2009 9:05 am
- Forum: PSP Development
- Topic: [SOLVED] Trouble installing zlib
- Replies: 8
- Views: 5694
- Wed Jul 15, 2009 3:38 pm
- Forum: PSP Development
- Topic: [SOLVED] Trouble installing zlib
- Replies: 8
- Views: 5694
- Wed Jul 15, 2009 1:56 pm
- Forum: PSP Development
- Topic: [SOLVED] Trouble installing zlib
- Replies: 8
- Views: 5694
- Wed Jul 15, 2009 7:30 am
- Forum: PSP Development
- Topic: [SOLVED] Trouble installing zlib
- Replies: 8
- Views: 5694
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 ...
- Wed Jul 15, 2009 5:32 am
- Forum: PSP Development
- Topic: [SOLVED] Trouble installing zlib
- Replies: 8
- Views: 5694
[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"...
- Thu Jun 18, 2009 1:49 pm
- Forum: PSP Development
- Topic: [SOLVED] Help Please!! error in Ubuntu 9.04 when compiling!!
- Replies: 4
- Views: 4040
- Thu Jun 18, 2009 10:45 am
- Forum: PSP Development
- Topic: [SOLVED] Help Please!! error in Ubuntu 9.04 when compiling!!
- Replies: 4
- Views: 4040
[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...