Difference between revisions of "BTP300A A2 Team 4 Bugs Report"

From CDOT Wiki
Jump to: navigation, search
Line 113: Line 113:
 
== November 11<sup>th</sup>, 2013 ==
 
== November 11<sup>th</sup>, 2013 ==
 
templates for cline.h, cline.cpp, cbutton.h, cbutton.cpp created(Jodie)
 
templates for cline.h, cline.cpp, cbutton.h, cbutton.cpp created(Jodie)
coding on cfield.cpp, cline.cpp (Maggie)
+
coding on cfield.cpp, cline.cpp(Maggie)
 
started coding on clabel (Maggie)
 
started coding on clabel (Maggie)
  

Revision as of 16:57, 30 November 2013

Team Leader
Jodie Carleton
Team Members
Pedro Bellesa
Jodie Carleton
David Gousvaris
Maggie Ha

October 10th, 2013:

Creation of work plan (Jodie) - base files created from assignment template

October 14th, 2013:

- working on setting up svn (Jodie & Maggie)

October 22nd, 2013: Group Meeting

CFrame Class

File "cframe.h" created.
Constructors done.
Half of cframe.cpp done.


PART1 Coding done - ( Pedro Bellesa ) PART1 Coding done - ( Maggie Ha ) PART1 Coding - partially completed - missing capture function (Jodie)

October 23rd, 2013

- trying to compile and test constructors - unable to compile working through error messages (Jodie) - issues with enum CDirection not be defined (jodie)

October 24nd, 2013

Found a bunch of spelling mistakes (variable names) FIXED!

cframe.h:29:4: error: invalid use of non-static data member âCFrame::positionâ cframe.h:80:25: error: from this location

used a variable in a struct without referencing the struct. FIXED!

iframe.h:18:27: error: âCDirectionâ has not been declared

realised we created the CDirection wrong in our cfg.h file. (Did not use enum) FIXED!

cframe.cpp: In constructor âCFrame::CFrame()â: cframe.cpp:32:31: error: invalid conversion from âconst char*â to âchar*â [-fpermissive] /usr/include/string.h:128:14: error: initializing argument 1 of âchar* strcpy(char*, const char*)â [-fpermissive]

commented out for now... was trying to change a constant variable

cframe.h:86:19: error: âiFrameâ has not been declared

In file included from test01.cpp:8:0: cframe.h:23:30: error: expected class-name before â{â token cframe.h:87:19: error: âiFrameâ has not been declared In file included from cframe.cpp:19:0: cframe.h:23:30: error: expected class-name before â{â token cframe.h:87:19: error: âiFrameâ has not been declared

November 1st, 2013

- fixed spelling mistakes and added cio namespaces - unable to compile (Jodie) /tmp/ccWeF2gJ.o: In function `testFrame()': a2test.cpp:(.text+0xc70): undefined reference to `cio::move(cio::iFrame&)' a2test.cpp:(.text+0xc90): undefined reference to `cio::move(cio::iFrame&)' collect2: ld returned 1 exit status


November 3rd, 2013

Group meeting via Teamviewer:

- unable to compile - FIXED forgot to use -lncurses

/tmp/ccaMDlgn.o: In function `testFrame()': a2test.cpp:(.text+0xc70): undefined reference to `cio::move(cio::iFrame&)' a2test.cpp:(.text+0xc90): undefined reference to `cio::move(cio::iFrame&)' /tmp/ccQ3fuxQ.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/ccQ3fuxQ.o: In function `cio::Console::~Console()': console.cpp:(.text+0xcf): undefined reference to `endwin' /tmp/ccQ3fuxQ.o: In function `cio::Console::clear()': console.cpp:(.text+0xdd): undefined reference to `erase' /tmp/ccQ3fuxQ.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/ccQ3fuxQ.o: In function `cio::Console::setPosition(int, int)': console.cpp:(.text+0x25a): undefined reference to `move' /tmp/ccQ3fuxQ.o: In function `cio::Console::drawCharacter()': console.cpp:(.text+0x294): undefined reference to `stdscr' console.cpp:(.text+0x2a0): undefined reference to `waddch' /tmp/ccQ3fuxQ.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

November 4th, 2013

- unable to compile FIXED!!! changed void move(iFrame& frame) to void cio::move(cio::iFrame& frame)

/tmp/ccWeF2gJ.o: In function `testFrame()': a2test.cpp:(.text+0xc70): undefined reference to `cio::move(cio::iFrame&)' a2test.cpp:(.text+0xc90): undefined reference to `cio::move(cio::iFrame&)' collect2: ld returned 1 exit status

November 7th, 2013

templates for cfield.h, cfield.cpp, clabel.h, clabel.cpp created (Maggie) started coding on cfield.cpp, cline.cpp (Maggie, Jodie)

November 11th, 2013

templates for cline.h, cline.cpp, cbutton.h, cbutton.cpp created(Jodie) coding on cfield.cpp, cline.cpp(Maggie) started coding on clabel (Maggie)

November 14th, 2013

template for cdialog.h cdialog.cpp (Jodie) completed coding for cfield.cpp(Maggie, Jodie)

November 15th, 2013

completed coding for clabel.cpp(Maggie)

November 25th, 2013

(reassignment of tasks) started coding cbutton, cdialog (Pedro)

November 28th, 2013

completed coding for cline, cbutton(Pedro) completed coding for cdialog(Maggie, Jodie)

November 30th, 2013

added all code together and started incremental testing