Sorry, I thought, maybe some new developments/experiences
made it an easy question to answer, since it's a question I've
seen has been popping up at various forums, though all give
the same solutions, and it seems arbitrary if it works out or not.
I'll try to be precise, let me know if you need any more.
1. checked both "link" & "compile" buttons for "StringTokenizer.h". Build log gives:
mingw32-g++.exe -L"D:\2 - Bouwkunde\070901 - MSc Bouwkunde aan TUe\PROJ FEM-Tool\1 - Programma HH" -L"C:\Program Files\CodeBlocks\MinGW\GNU\include" -o bin\Debug\HH.exe obj\Debug\main.o StringTokenizer.h.gch "C:\Program Files\CodeBlocks\MinGW\lib\libglu32.a"
StringTokenizer.h.gch: file not recognized: File format not recognized
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
What does "status 1" mean?
I tried friend Google, he just gives a lot of forums with questions similar to mine.
2. unchecked "link" button, checked "compile" button for "StringTokenizer.h" Build log (fragment):
obj\Debug\main.o||In function `_Z10createRoomSs':|
D:\2 - Bouwkunde\070901 - MSc Bouwkunde aan TUe\PROJ FEM-Tool\1 - Programma HH\main.cpp|129|undefined reference to `StringTokenizer::nextToken()'|
D:\2 - Bouwkunde\070901 - MSc Bouwkunde aan TUe\PROJ FEM-Tool\1 - Programma HH\main.cpp|131|undefined reference to `StringTokenizer::nextToken()'|
D:\2 - Bouwkunde\070901 - MSc Bouwkunde aan TUe\PROJ FEM-Tool\1 - Programma HH\main.cpp|134|undefined reference to `StringTokenizer::nextToken()'|
D:\2 - Bouwkunde\070901 - MSc Bouwkunde aan TUe\PROJ FEM-Tool\1 - Programma HH\main.cpp|137|undefined reference to `StringTokenizer::nextToken()'|
[...]
D:\2 - Bouwkunde\070901 - MSc Bouwkunde aan TUe\PROJ FEM-Tool\1 - Programma HH\main.cpp|3623|undefined reference to `StringTokenizer::nextToken()'|
D:\2 - Bouwkunde\070901 - MSc Bouwkunde aan TUe\PROJ FEM-Tool\1 - Programma HH\main.cpp|3626|undefined reference to `StringTokenizer::nextToken()'|
D:\2 - Bouwkunde\070901 - MSc Bouwkunde aan TUe\PROJ FEM-Tool\1 - Programma HH\main.cpp|3641|undefined reference to `StringTokenizer::countTokens()'|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 0 warnings ===|
Code for main.cpp (fragment):
[...]
StringTokenizer.cpp (fragment):
[...]
StringTokenizer.h (entirely):
[...]
Sorry, took out the code
it's someone else's project,
and I figured it isn't relevant for the problem