Difference between revisions of "Team 7 Bugs Report"
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | '''Week 2 ( | + | '''Week 2 (Sep 15 - 21) ''' |
<u>Weekly Progress:</u> | <u>Weekly Progress:</u> | ||
Line 6: | Line 6: | ||
Completed the consoleplus.h | Completed the consoleplus.h | ||
− | <u>Bug | + | <u>Bug Report:</u> |
When complied by doing g++ a1test.cpp console.cpp consolelineedit.cpp errors not from the original console.cpp is shown: | When complied by doing g++ a1test.cpp console.cpp consolelineedit.cpp errors not from the original console.cpp is shown: | ||
Line 15: | Line 15: | ||
console.cpp:365:1: error: expected unqualified-id before â--â token | console.cpp:365:1: error: expected unqualified-id before â--â token | ||
+ | |||
+ | '''Week 3 (Sep 22 - 28)''' | ||
+ | |||
+ | <u>Weekly Progress:</u> | ||
+ | |||
+ | Fixed previous errors and finished the logic for the edit function, debugged to the best of our ability, however the new bugs are stopping us for the moment as they all apparently have to do with console.cpp | ||
+ | |||
+ | <u>Bug Report:</u> | ||
+ | |||
+ | jtwieb@matrix:~/btp300/assignments/assignment1> g++ a1test.cpp console.cpp consolelineedit.cpp | ||
+ | |||
+ | /tmp/ccGiJoUH.o: In function `cio::Console::Console()': | ||
+ | |||
+ | console.cpp:(.text+0x7): undefined reference to `initscr' | ||
+ | |||
+ | console.cpp:(.text+0xc): undefined reference to `noecho' | ||
+ | |||
+ | console.cpp:(.text+0x11): undefined reference to `cbreak' | ||
+ | |||
+ | console.cpp:(.text+0x16): undefined reference to `stdscr' | ||
+ | |||
+ | console.cpp:(.text+0x26): undefined reference to `keypad' | ||
+ | |||
+ | console.cpp:(.text+0x2c): undefined reference to `LINES' | ||
+ | |||
+ | console.cpp:(.text+0x38): undefined reference to `COLS' | ||
+ | |||
+ | /tmp/ccGiJoUH.o: In function `cio::Console::~Console()': | ||
+ | |||
+ | console.cpp:(.text+0xcf): undefined reference to `endwin' | ||
+ | |||
+ | /tmp/ccGiJoUH.o: In function `cio::Console::clear()': | ||
+ | |||
+ | console.cpp:(.text+0xdd): undefined reference to `erase' | ||
+ | |||
+ | /tmp/ccGiJoUH.o: In function `cio::Console::getKey()': | ||
+ | |||
+ | console.cpp:(.text+0xf5): undefined reference to `refresh' | ||
+ | |||
+ | console.cpp:(.text+0xfa): undefined reference to `stdscr' | ||
+ | |||
+ | console.cpp:(.text+0x102): undefined reference to `wgetch' | ||
+ | |||
+ | /tmp/ccGiJoUH.o: In function `cio::Console::setPosition(int, int)': | ||
+ | |||
+ | console.cpp:(.text+0x25a): undefined reference to `move' | ||
+ | |||
+ | /tmp/ccGiJoUH.o: In function `cio::Console::drawCharacter()': | ||
+ | |||
+ | console.cpp:(.text+0x294): undefined reference to `stdscr' | ||
+ | |||
+ | console.cpp:(.text+0x2a0): undefined reference to `waddch' | ||
+ | |||
+ | /tmp/ccGiJoUH.o: In function `cio::operator<<(cio::Console&, char)': | ||
+ | |||
+ | console.cpp:(.text+0x2b7): undefined reference to `stdscr' | ||
+ | |||
+ | console.cpp:(.text+0x2c3): undefined reference to `waddch' | ||
+ | |||
+ | collect2: ld returned 1 exit status | ||
+ | |||
+ | --- | ||
+ | Fixed shortly after, currently working on logic errors in display now | ||
+ | |||
+ | '''Week 4 (Sep 29 - Oct 6)''' | ||
+ | |||
+ | <u>Weekly Progress:</u> | ||
+ | |||
+ | Rewrote edit completely after running into too many small bugs, reread assignment and read over wiki, everything seems to work now after some minor bug hunting. The program runs perfectly on matrix. | ||
+ | |||
+ | <u>Bug Report:</u> | ||
+ | |||
+ | However, the program does not work correctly on Borland and Visual Studio, the display string is different for some reason, a seemingly random character or series of characters is displayed before the display string, something that does not happen on matrix. We tried to fix it, but were unable to get through it all before sunday. Assignment works on matrix, is submitted with reports. |
Latest revision as of 19:52, 6 October 2013
Week 2 (Sep 15 - 21)
Weekly Progress:
Completed the Display Function and for the moment seems to be Debugged Completed the consoleplus.h
Bug Report:
When complied by doing g++ a1test.cpp console.cpp consolelineedit.cpp errors not from the original console.cpp is shown:
console.cpp:29:74: error: operator '&&' has no right operand
console.cpp:44:1: error: expected unqualified-id before â--â token
console.cpp:365:1: error: expected unqualified-id before â--â token
Week 3 (Sep 22 - 28)
Weekly Progress:
Fixed previous errors and finished the logic for the edit function, debugged to the best of our ability, however the new bugs are stopping us for the moment as they all apparently have to do with console.cpp
Bug Report:
jtwieb@matrix:~/btp300/assignments/assignment1> g++ a1test.cpp console.cpp consolelineedit.cpp
/tmp/ccGiJoUH.o: In function `cio::Console::Console()':
console.cpp:(.text+0x7): undefined reference to `initscr'
console.cpp:(.text+0xc): undefined reference to `noecho'
console.cpp:(.text+0x11): undefined reference to `cbreak'
console.cpp:(.text+0x16): undefined reference to `stdscr'
console.cpp:(.text+0x26): undefined reference to `keypad'
console.cpp:(.text+0x2c): undefined reference to `LINES'
console.cpp:(.text+0x38): undefined reference to `COLS'
/tmp/ccGiJoUH.o: In function `cio::Console::~Console()':
console.cpp:(.text+0xcf): undefined reference to `endwin'
/tmp/ccGiJoUH.o: In function `cio::Console::clear()':
console.cpp:(.text+0xdd): undefined reference to `erase'
/tmp/ccGiJoUH.o: In function `cio::Console::getKey()':
console.cpp:(.text+0xf5): undefined reference to `refresh'
console.cpp:(.text+0xfa): undefined reference to `stdscr'
console.cpp:(.text+0x102): undefined reference to `wgetch'
/tmp/ccGiJoUH.o: In function `cio::Console::setPosition(int, int)':
console.cpp:(.text+0x25a): undefined reference to `move'
/tmp/ccGiJoUH.o: In function `cio::Console::drawCharacter()':
console.cpp:(.text+0x294): undefined reference to `stdscr'
console.cpp:(.text+0x2a0): undefined reference to `waddch'
/tmp/ccGiJoUH.o: In function `cio::operator<<(cio::Console&, char)':
console.cpp:(.text+0x2b7): undefined reference to `stdscr'
console.cpp:(.text+0x2c3): undefined reference to `waddch'
collect2: ld returned 1 exit status
--- Fixed shortly after, currently working on logic errors in display now
Week 4 (Sep 29 - Oct 6)
Weekly Progress:
Rewrote edit completely after running into too many small bugs, reread assignment and read over wiki, everything seems to work now after some minor bug hunting. The program runs perfectly on matrix.
Bug Report:
However, the program does not work correctly on Borland and Visual Studio, the display string is different for some reason, a seemingly random character or series of characters is displayed before the display string, something that does not happen on matrix. We tried to fix it, but were unable to get through it all before sunday. Assignment works on matrix, is submitted with reports.