User forums > Using Code::Blocks

Massive Code Blocks problem!!!

(1/2) > >>

Jumach:
I'm trying to program for Irrlicht and Code Blocks was working for me for about 5 days before I started randomly having the same problem. It appeared out of the blue. Build and run worked just fine and then the next time it stopped. I can run the example cbp files that come with irrlicht but if I make ANY changes the program will tell that I need to build the ask me if I want to build the program after I press the Build and Run button but before the program executes. I get this:

-------------- Build: Windows in Irrlicht Example 01 Hello World ---------------

Linking console executable: ..\..\bin\Win32-gcc\HelloWorld.exe
/mingw/lib/libstdc++.a: file not recognized: Not enough space
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
 

ollydbg:
version? os? gcc?

stahta01:

--- Quote from: Jumach on March 19, 2010, 04:39:21 am ---Not enough space

--- End quote ---

Wild guess is the Hard Drive full?

Tim S.

Jumach:
i'm using windows and I installed using the mingw installer. Like i said, though, no problems until recently. I've re-installed 4 times now and I get the following errors when I try to build and run the default Hello World program:


-------------- Build: Debug in test4 ---------------

Linking console executable: bin\Debug\test4.exe
obj\Debug\main.o: In function `_ZSt17__verify_groupingPKcjRKSs':
C:/Program Files (x86)/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/locale_facets.tcc:2498: undefined reference to `std::string::size() const'
C:/Program Files (x86)/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/locale_facets.tcc:2507: undefined reference to `std::string::operator[](unsigned int) const'
C:/Program Files (x86)/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/locale_facets.tcc:2509: undefined reference to `std::string::operator[](unsigned int) const'
C:/Program Files (x86)/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/locale_facets.tcc:2512: undefined reference to `std::string::operator[](unsigned int) const'
obj\Debug\main.o: In function `main':
C:/practice/test4/main.cpp:7: undefined reference to `std::cout'
C:/practice/test4/main.cpp:7: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'
C:/practice/test4/main.cpp:7: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&)'
C:/practice/test4/main.cpp:7: undefined reference to `std::ostream::operator<<(std::ostream& (*)(std::ostream&))'
obj\Debug\main.o: In function `_Z41__static_initialization_and_destruction_0ii':
C:/Program Files (x86)/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostream:77: undefined reference to `std::ios_base::Init::Init()'
C:/Program Files (x86)/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostream:77: undefined reference to `std::ios_base::Init::~Init()'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
10 errors, 0 warnings
 
There is also an error in a file called "locale_facets.tcc":

Line 2498     const size_t __n = __grouping_tmp.size() - 1;

It doesn't like this line and I have no idea why I'm having so many problems when nothing has changed.

ollydbg:
ok, see here: 2.14 Q: How do I troubleshoot an compiler problem?

Please try a "nightly build version of Codeblocks" and more recent GCC.

see here:Nightly builds
and here:TDM's GCC/mingw32 Builds

Navigation

[0] Message Index

[#] Next page

Go to full version