Search found 6 matches

by Peyote
Sun Aug 07, 2005 9:49 pm
Forum: PS2 Development
Topic: Why does this crash?
Replies: 0
Views: 1210

Why does this crash?

Hi, does anyone know why the following code causes a fatal crash? I have modified the cube example a bit so it copies the GIFTag directly to VU1 mem (using the 0x1100c000 address). However, executing the XGKICK crashes instantly. Anyone knows why? Thanks in advance! // Reset the packet. packet_reset...
by Peyote
Sun Aug 07, 2005 7:11 am
Forum: PS2 Development
Topic: Problems with cpp files
Replies: 7
Views: 4577

Thanks for your help! Unfortunately, it did not fix the problem, since they were already inside. I am using the makefiles supplied with the PS2SDK, and have tried both the C and C++ versions. The only small difference is the DVP assembler which has been added to it, although it does not make a diffe...
by Peyote
Thu Aug 04, 2005 9:19 pm
Forum: PS2 Development
Topic: Problems with cpp files
Replies: 7
Views: 4577

The fix was to reinstall the entire SDK and add the -lstdc++ line to the makefile. Also linking VU code works well now. However, there is a new problem: When I try to compile projects with multiple files, there are compiler errors when there are c++ files used together with the graph and math librar...
by Peyote
Thu Aug 04, 2005 2:37 am
Forum: PS2 Development
Topic: Problems with cpp files
Replies: 7
Views: 4577

Hooray!!! Finally managed to get the C++ code compiled, so the problem is solved...!

^_^

Now all I have to try is get the vsm code linked...
by Peyote
Thu Aug 04, 2005 1:59 am
Forum: PS2 Development
Topic: Problems with cpp files
Replies: 7
Views: 4577

I found another topic in this list called "C++ problems", where the same thing is discussed. However, adding the line EE_CXXFLAGS += -fno-exceptions or adding -lstdc++ both still give problems. The no exceptions flag does not change anything, while the -lstdc++ brings a new huge list of un...
by Peyote
Thu Aug 04, 2005 12:41 am
Forum: PS2 Development
Topic: Problems with cpp files
Replies: 7
Views: 4577

Problems with cpp files

Hello everyone, During an attempt to recompile some sources that I have created a while ago, I reinstalled the PS2SDK and found out it gives the following linker error when the files are named .cpp (not when they are .c): undefined reference to __gxx_personality_v0 Now my problem is that I need to u...