Open main menu

CDOT Wiki β

Changes

Team 7 Bugs Report

3,027 bytes added, 19:52, 6 October 2013
no edit summary
'''Week 12 (Sep 15 - 21) '''
<u>Weekly Progress:</u>
Completed the Display Function and for the moment seems to be Debugged
Completed the consoleplus.h
<u>Bug FixesReport:</u> 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)''' <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.