MadDog
Member
Wow, i've spent all weekend trying as many options as I can for a dev enviroment that'll be best for me. Also went to the lengths of trying to make a plugin for dotnet 2003. Almost but no cigar, the docs are awful for it.
Anyway, i'm giving 2005 a good bash now as I did not like the other IDE's. ( just a personal thing )
Got a lib building but when I link to it I get the following errors, looks like a data seg problem, this is a bit beyond my understanding of GCC and compilers. :unsure:
I'll go and google, just wanted to ask here too, Girlfriend is on her way round soon so running out of play time.....
Got some other odd errors to do with new and delete. I'm also linking with stdc++
..\..\k9\lib\debug\libK9d.a: In function `__data_start':
../sysdeps/arm/elf/start.S(69): multiple definition of `__dso_handle'
c:/devkitgp2x/bin/../lib/gcc/arm-linux/4.0.2/crtbegin.o.data+0x0): first defined here
..\..\k9\lib\debug\libK9d.a: In function `_init':
../sysdeps/arm/elf/start.S(66): multiple definition of `_init'
c:/devkitgp2x/bin/../sysroot/usr/lib/crti.o:/home/davem/projects/gp2x/build/glibc-2.3.5/csu/crti.S(14): first defined here
..\..\k9\lib\debug\libK9d.a: In function `_start':
../sysdeps/arm/elf/start.S(66): multiple definition of `_start'
c:/devkitgp2x/bin/../sysroot/usr/lib/crt1.o:../sysdeps/arm/elf/start.S(66): first defined here
..\..\k9\lib\debug\libK9d.a: In function `_fini':
../sysdeps/arm/elf/start.S(66): multiple definition of `_fini'
c:/devkitgp2x/bin/../sysroot/usr/lib/crti.o:/home/davem/projects/gp2x/build/glibc-2.3.5/csu/crti.S.fini+0x0): first defined here
..\..\k9\lib\debug\libK9d.a:../sysdeps/arm/elf/start.S(66): multiple definition of `_IO_stdin_used'
c:/devkitgp2x/bin/../sysroot/usr/lib/crt1.o:../sysdeps/arm/elf/start.S(66): first defined here
..\..\k9\lib\debug\libK9d.a: In function `__data_start':
../sysdeps/arm/elf/start.S(66): multiple definition of `__data_start'
c:/devkitgp2x/bin/../sysroot/usr/lib/crt1.o:../sysdeps/arm/elf/start.S(66): first defined here
..\..\k9\lib\debug\libK9d.a: In function `K9::AllocVerteata(unsigned int)':
K9_Texture.cpp.text+0x2a1c): undefined reference to `operator new[](unsigned int)'
..\..\k9\lib\debug\libK9d.a: In function `K9::FreeVerteata(unsigned char*)':
K9_Texture.cpp.text+0x2a50): undefined reference to `operator delete[](void*)'
..\..\k9\lib\debug\libK9d.a: In function `K9::CommandBuffer::Open()':
K9_Texture.cpp.text+0x2a68): undefined reference to `operator new[](unsigned int)'
..\..\k9\lib\debug\libK9d.a: In function `K9::CommandBuffer::Close()':
K9_Texture.cpp.text+0x2b04): undefined reference to `operator delete[](void*)'
..\..\k9\lib\debug\libK9d.a: In function `__tcf_0':
K9_Texture.cpp.text+0x2d00): undefined reference to `std::ios_base::Init::~Init()'
..\..\k9\lib\debug\libK9d.a: In function `__static_initialization_and_destruction_0(int, int)':
K9_Texture.cpp.text+0x2d44): undefined reference to `std::ios_base::Init::Init()'
..\..\k9\lib\debug\libK9d.a: In function `K9::Font::Font(char const*)':
K9_Texture.cpp.text+0x2f60): undefined reference to `operator new[](unsigned int)'
K9_Texture.cpp.text+0x3150): undefined reference to `__gxx_personality_sj0'
..\..\k9\lib\debug\libK9d.a: In function `K9::Font::Alloc(char const*)':
K9_Texture.cpp.text+0x31cc): undefined reference to `operator new(unsigned int)'
K9_Texture.cpp.text+0x3244): undefined reference to `__gxx_personality_sj0'
..\..\k9\lib\debug\libK9d.a: In function `K9::Font::Font(char const*)':
K9_Texture.cpp.text+0x33f0): undefined reference to `operator new[](unsigned int)'
K9_Texture.cpp.text+0x35e0): undefined reference to `__gxx_personality_sj0'
..\..\k9\lib\debug\libK9d.a: In function `K9::Font::~Font()':
K9_Texture.cpp.text+0x3638): undefined reference to `operator delete[](void*)'
..\..\k9\lib\debug\libK9d.a: In function `K9::Font::~Font()':
K9_Texture.cpp.text+0x3674): undefined reference to `operator delete[](void*)'
..\..\k9\lib\debug\libK9d.a: In function `K9::Loader::~Loader()':
K9_Texture.cpp.text+0x3d70): undefined reference to `__gxx_personality_sj0'
..\..\k9\lib\debug\libK9d.a: In function `K9::Loader::~Loader()':
K9_Texture.cpp.text+0x3ea8): undefined reference to `__gxx_personality_sj0'
..\..\k9\lib\debug\libK9d.a: In function `K9::Loader::~Loader()':
K9_Texture.cpp.text+0x3fe0): undefined reference to `__gxx_personality_sj0'
..\..\k9\lib\debug\libK9d.a: In function `K9::Loader::Loader(char const*)':
K9_Texture.cpp.text+0x41dc): undefined reference to `__gxx_personality_sj0'
..\..\k9\lib\debug\libK9d.a: In function `K9::Loader::Loader(char const*)':
K9_Texture.cpp.text+0x42d4): undefined reference to `__gxx_personality_sj0'
..\..\k9\lib\debug\libK9d.a:K9_Texture.cpp.text+0x43cc): more undefined references to `__gxx_personality_sj0' follow
..\..\k9\lib\debug\libK9d.a: In function `K9::LoaderTGA::~LoaderTGA()':
K9_Texture.cpp.text+0x4510): undefined reference to `operator delete[](void*)'
..\..\k9\lib\debug\libK9d.a: In function `K9::LoaderTGA::~LoaderTGA()':
K9_Texture.cpp.text+0x457c): undefined reference to `operator delete[](void*)'
..\..\k9\lib\debug\libK9d.a: In function `K9::LoaderTGA::~LoaderTGA()':
K9_Texture.cpp.text+0x45e8): undefined reference to `operator delete[](void*)'
..\..\k9\lib\debug\libK9d.a: In function `K9::LoaderTGA::Allocate(unsigned int, unsigned int, K9::LoaderTGA::Format)':
K9_Texture.cpp.text+0x46e8): undefined reference to `operator new[](unsigned int)'
..\..\k9\lib\debug\libK9d.a: In function `K9::LoaderTGA::Opened()':
K9_Texture.cpp.text+0x5074): undefined reference to `operator new[](unsigned int)'
..\..\k9\lib\debug\libK9d.a: In function `K9::Texture::Texture(int, int)':
K9_Texture.cpp.text+0x5580): undefined reference to `operator new[](unsigned int)'
..\..\k9\lib\debug\libK9d.a: In function `K9::Texture::Alloc(char const*)':
K9_Texture.cpp.text+0x563c): undefined reference to `operator new(unsigned int)'
K9_Texture.cpp.text+0x5750): undefined reference to `operator new(unsigned int)'
K9_Texture.cpp.text+0x58ac): undefined reference to `__gxx_personality_sj0'
..\..\k9\lib\debug\libK9d.a: In function `K9::Texture::Alloc(int, int)':
K9_Texture.cpp.text+0x5920): undefined reference to `operator new(unsigned int)'
K9_Texture.cpp.text+0x599c): undefined reference to `__gxx_personality_sj0'
..\..\k9\lib\debug\libK9d.a: In function `K9::Texture::Texture(int, int)':
K9_Texture.cpp.text+0x59fc): undefined reference to `operator new[](unsigned int)'
..\..\k9\lib\debug\libK9d.a: In function `K9::Texture::~Texture()':
K9_Texture.cpp.text+0x5a74): undefined reference to `operator delete[](void*)'
..\..\k9\lib\debug\libK9d.a: In function `K9::Texture::~Texture()':
K9_Texture.cpp.text+0x5ad0): undefined reference to `operator delete[](void*)'
..\..\k9\lib\debug\libK9d.a.gnu.linkonce.r._ZTIN2K96LoaderE[_ZTIN2K96LoaderE]+0x0): undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info'
..\..\k9\lib\debug\libK9d.a.gnu.linkonce.r._ZTVN2K96LoaderE[_ZTVN2K96LoaderE]+0x10): undefined reference to `__cxa_pure_virtual'
..\..\k9\lib\debug\libK9d.a.gnu.linkonce.r._ZTVN2K96LoaderE[_ZTVN2K96LoaderE]+0x14): undefined reference to `__cxa_pure_virtual'
..\..\k9\lib\debug\libK9d.a.gnu.linkonce.r._ZTVN2K96LoaderE[_ZTVN2K96LoaderE]+0x18): undefined reference to `__cxa_pure_virtual'
..\..\k9\lib\debug\libK9d.a.gnu.linkonce.r._ZTIN2K96InFileE[_ZTIN2K96InFileE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
..\..\k9\lib\debug\libK9d.a.gnu.linkonce.r._ZTIN2K99LoaderTGAE[_ZTIN2K99LoaderTGAE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
Anyway, i'm giving 2005 a good bash now as I did not like the other IDE's. ( just a personal thing )
Got a lib building but when I link to it I get the following errors, looks like a data seg problem, this is a bit beyond my understanding of GCC and compilers. :unsure:
I'll go and google, just wanted to ask here too, Girlfriend is on her way round soon so running out of play time.....
Got some other odd errors to do with new and delete. I'm also linking with stdc++
..\..\k9\lib\debug\libK9d.a: In function `__data_start':
../sysdeps/arm/elf/start.S(69): multiple definition of `__dso_handle'
c:/devkitgp2x/bin/../lib/gcc/arm-linux/4.0.2/crtbegin.o.data+0x0): first defined here
..\..\k9\lib\debug\libK9d.a: In function `_init':
../sysdeps/arm/elf/start.S(66): multiple definition of `_init'
c:/devkitgp2x/bin/../sysroot/usr/lib/crti.o:/home/davem/projects/gp2x/build/glibc-2.3.5/csu/crti.S(14): first defined here
..\..\k9\lib\debug\libK9d.a: In function `_start':
../sysdeps/arm/elf/start.S(66): multiple definition of `_start'
c:/devkitgp2x/bin/../sysroot/usr/lib/crt1.o:../sysdeps/arm/elf/start.S(66): first defined here
..\..\k9\lib\debug\libK9d.a: In function `_fini':
../sysdeps/arm/elf/start.S(66): multiple definition of `_fini'
c:/devkitgp2x/bin/../sysroot/usr/lib/crti.o:/home/davem/projects/gp2x/build/glibc-2.3.5/csu/crti.S.fini+0x0): first defined here
..\..\k9\lib\debug\libK9d.a:../sysdeps/arm/elf/start.S(66): multiple definition of `_IO_stdin_used'
c:/devkitgp2x/bin/../sysroot/usr/lib/crt1.o:../sysdeps/arm/elf/start.S(66): first defined here
..\..\k9\lib\debug\libK9d.a: In function `__data_start':
../sysdeps/arm/elf/start.S(66): multiple definition of `__data_start'
c:/devkitgp2x/bin/../sysroot/usr/lib/crt1.o:../sysdeps/arm/elf/start.S(66): first defined here
..\..\k9\lib\debug\libK9d.a: In function `K9::AllocVerteata(unsigned int)':
K9_Texture.cpp.text+0x2a1c): undefined reference to `operator new[](unsigned int)'
..\..\k9\lib\debug\libK9d.a: In function `K9::FreeVerteata(unsigned char*)':
K9_Texture.cpp.text+0x2a50): undefined reference to `operator delete[](void*)'
..\..\k9\lib\debug\libK9d.a: In function `K9::CommandBuffer::Open()':
K9_Texture.cpp.text+0x2a68): undefined reference to `operator new[](unsigned int)'
..\..\k9\lib\debug\libK9d.a: In function `K9::CommandBuffer::Close()':
K9_Texture.cpp.text+0x2b04): undefined reference to `operator delete[](void*)'
..\..\k9\lib\debug\libK9d.a: In function `__tcf_0':
K9_Texture.cpp.text+0x2d00): undefined reference to `std::ios_base::Init::~Init()'
..\..\k9\lib\debug\libK9d.a: In function `__static_initialization_and_destruction_0(int, int)':
K9_Texture.cpp.text+0x2d44): undefined reference to `std::ios_base::Init::Init()'
..\..\k9\lib\debug\libK9d.a: In function `K9::Font::Font(char const*)':
K9_Texture.cpp.text+0x2f60): undefined reference to `operator new[](unsigned int)'
K9_Texture.cpp.text+0x3150): undefined reference to `__gxx_personality_sj0'
..\..\k9\lib\debug\libK9d.a: In function `K9::Font::Alloc(char const*)':
K9_Texture.cpp.text+0x31cc): undefined reference to `operator new(unsigned int)'
K9_Texture.cpp.text+0x3244): undefined reference to `__gxx_personality_sj0'
..\..\k9\lib\debug\libK9d.a: In function `K9::Font::Font(char const*)':
K9_Texture.cpp.text+0x33f0): undefined reference to `operator new[](unsigned int)'
K9_Texture.cpp.text+0x35e0): undefined reference to `__gxx_personality_sj0'
..\..\k9\lib\debug\libK9d.a: In function `K9::Font::~Font()':
K9_Texture.cpp.text+0x3638): undefined reference to `operator delete[](void*)'
..\..\k9\lib\debug\libK9d.a: In function `K9::Font::~Font()':
K9_Texture.cpp.text+0x3674): undefined reference to `operator delete[](void*)'
..\..\k9\lib\debug\libK9d.a: In function `K9::Loader::~Loader()':
K9_Texture.cpp.text+0x3d70): undefined reference to `__gxx_personality_sj0'
..\..\k9\lib\debug\libK9d.a: In function `K9::Loader::~Loader()':
K9_Texture.cpp.text+0x3ea8): undefined reference to `__gxx_personality_sj0'
..\..\k9\lib\debug\libK9d.a: In function `K9::Loader::~Loader()':
K9_Texture.cpp.text+0x3fe0): undefined reference to `__gxx_personality_sj0'
..\..\k9\lib\debug\libK9d.a: In function `K9::Loader::Loader(char const*)':
K9_Texture.cpp.text+0x41dc): undefined reference to `__gxx_personality_sj0'
..\..\k9\lib\debug\libK9d.a: In function `K9::Loader::Loader(char const*)':
K9_Texture.cpp.text+0x42d4): undefined reference to `__gxx_personality_sj0'
..\..\k9\lib\debug\libK9d.a:K9_Texture.cpp.text+0x43cc): more undefined references to `__gxx_personality_sj0' follow
..\..\k9\lib\debug\libK9d.a: In function `K9::LoaderTGA::~LoaderTGA()':
K9_Texture.cpp.text+0x4510): undefined reference to `operator delete[](void*)'
..\..\k9\lib\debug\libK9d.a: In function `K9::LoaderTGA::~LoaderTGA()':
K9_Texture.cpp.text+0x457c): undefined reference to `operator delete[](void*)'
..\..\k9\lib\debug\libK9d.a: In function `K9::LoaderTGA::~LoaderTGA()':
K9_Texture.cpp.text+0x45e8): undefined reference to `operator delete[](void*)'
..\..\k9\lib\debug\libK9d.a: In function `K9::LoaderTGA::Allocate(unsigned int, unsigned int, K9::LoaderTGA::Format)':
K9_Texture.cpp.text+0x46e8): undefined reference to `operator new[](unsigned int)'
..\..\k9\lib\debug\libK9d.a: In function `K9::LoaderTGA::Opened()':
K9_Texture.cpp.text+0x5074): undefined reference to `operator new[](unsigned int)'
..\..\k9\lib\debug\libK9d.a: In function `K9::Texture::Texture(int, int)':
K9_Texture.cpp.text+0x5580): undefined reference to `operator new[](unsigned int)'
..\..\k9\lib\debug\libK9d.a: In function `K9::Texture::Alloc(char const*)':
K9_Texture.cpp.text+0x563c): undefined reference to `operator new(unsigned int)'
K9_Texture.cpp.text+0x5750): undefined reference to `operator new(unsigned int)'
K9_Texture.cpp.text+0x58ac): undefined reference to `__gxx_personality_sj0'
..\..\k9\lib\debug\libK9d.a: In function `K9::Texture::Alloc(int, int)':
K9_Texture.cpp.text+0x5920): undefined reference to `operator new(unsigned int)'
K9_Texture.cpp.text+0x599c): undefined reference to `__gxx_personality_sj0'
..\..\k9\lib\debug\libK9d.a: In function `K9::Texture::Texture(int, int)':
K9_Texture.cpp.text+0x59fc): undefined reference to `operator new[](unsigned int)'
..\..\k9\lib\debug\libK9d.a: In function `K9::Texture::~Texture()':
K9_Texture.cpp.text+0x5a74): undefined reference to `operator delete[](void*)'
..\..\k9\lib\debug\libK9d.a: In function `K9::Texture::~Texture()':
K9_Texture.cpp.text+0x5ad0): undefined reference to `operator delete[](void*)'
..\..\k9\lib\debug\libK9d.a.gnu.linkonce.r._ZTIN2K96LoaderE[_ZTIN2K96LoaderE]+0x0): undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info'
..\..\k9\lib\debug\libK9d.a.gnu.linkonce.r._ZTVN2K96LoaderE[_ZTVN2K96LoaderE]+0x10): undefined reference to `__cxa_pure_virtual'
..\..\k9\lib\debug\libK9d.a.gnu.linkonce.r._ZTVN2K96LoaderE[_ZTVN2K96LoaderE]+0x14): undefined reference to `__cxa_pure_virtual'
..\..\k9\lib\debug\libK9d.a.gnu.linkonce.r._ZTVN2K96LoaderE[_ZTVN2K96LoaderE]+0x18): undefined reference to `__cxa_pure_virtual'
..\..\k9\lib\debug\libK9d.a.gnu.linkonce.r._ZTIN2K96InFileE[_ZTIN2K96InFileE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
..\..\k9\lib\debug\libK9d.a.gnu.linkonce.r._ZTIN2K99LoaderTGAE[_ZTIN2K99LoaderTGAE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'