I want to build the library with Test GUI using Cygwin on windows. But after adding --enable-testgui
argument to ./configure
and run make
it gives me many undefined reference to ...
errors. But without --enable-testgui
argument the library is built successfully.
the whole make
output command is as follow:
make all-recursive
make[1]: Entering directory '/cygdrive/d/hidapi-master'
Making all in windows
make[2]: Entering directory '/cygdrive/d/hidapi-master/windows'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/cygdrive/d/hidapi-master/windows'
Making all in hidtest
make[2]: Entering directory '/cygdrive/d/hidapi-master/hidtest'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/cygdrive/d/hidapi-master/hidtest'
Making all in testgui
make[2]: Entering directory '/cygdrive/d/hidapi-master/testgui'
CXXLD hidapi-testgui.exe
test.o: In function `FX::FXMainWindow::FXMainWindow()':
/cygdrive/d/hidapi-master/testgui/./../../hidapi-externals/fox/include/FXMainWindow.h:46: undefined reference to `FX::FXTopWindow::FXTopWindow()'
/cygdrive/d/hidapi-master/testgui/./../../hidapi-externals/fox/include/FXMainWindow.h:46:(.text+0x27): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `FX::FXTopWindow::FXTopWindow()'
test.o: In function `MainWindow::handle(FX::FXObject*, unsigned int, void*)':
/cygdrive/d/hidapi-master/testgui/test.cpp:113: undefined reference to `FX::FXMetaClass::search(unsigned int) const'
/cygdrive/d/hidapi-master/testgui/test.cpp:113:(.text+0x7f): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `FX::FXMetaClass::search(unsigned int) const'
test.o: In function `MainWindow::onClear(FX::FXObject*, unsigned int, void*)':
/cygdrive/d/hidapi-master/testgui/test.cpp:475: undefined reference to `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:475:(.text+0xf8): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:475: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:475:(.text+0x10b): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:475: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:475:(.text+0x123): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `FX::FXString::~FXString()'
test.o: In function `MainWindow::onConnect(FX::FXObject*, unsigned int, void*)':
/cygdrive/d/hidapi-master/testgui/test.cpp:230: undefined reference to `FX::FXList::getItem(int) const'
/cygdrive/d/hidapi-master/testgui/test.cpp:230:(.text+0x1e6): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `FX::FXList::getItem(int) const'
/cygdrive/d/hidapi-master/testgui/test.cpp:246: undefined reference to `FX::FXApp::addTimeout(FX::FXObject*, unsigned int, unsigned int, void*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:246:(.text+0x247): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `FX::FXApp::addTimeout(FX::FXObject*, unsigned int, unsigned int, void*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:249: undefined reference to `FX::FXString::FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:249:(.text+0x24f): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `FX::FXString::FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:250: undefined reference to `FX::FXString::format(char const*, ...)'
/cygdrive/d/hidapi-master/testgui/test.cpp:250:(.text+0x268): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `FX::FXString::format(char const*, ...)'
/cygdrive/d/hidapi-master/testgui/test.cpp:251: undefined reference to `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:251:(.text+0x280): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:251: undefined reference to `FX::operator+(FX::FXString const&, wchar_t const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:251:(.text+0x293): additional relocation overflows omitted from the output
/cygdrive/d/hidapi-master/testgui/test.cpp:251: undefined reference to `FX::FXString::operator+=(FX::FXString const&)'
/cygdrive/d/hidapi-master/testgui/test.cpp:251: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:251: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:252: undefined reference to `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:252: undefined reference to `FX::operator+(FX::FXString const&, wchar_t const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:252: undefined reference to `FX::FXString::operator+=(FX::FXString const&)'
/cygdrive/d/hidapi-master/testgui/test.cpp:252: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:252: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:253: undefined reference to `FX::FXLabel::setText(FX::FXString const&)'
/cygdrive/d/hidapi-master/testgui/test.cpp:259: undefined reference to `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:259: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:249: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:240: undefined reference to `FX::FXMessageBox::error(FX::FXWindow*, unsigned int, char const*, char const*, ...)'
/cygdrive/d/hidapi-master/testgui/test.cpp:252: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:252: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:249: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:259: undefined reference to `FX::FXString::~FXString()'
test.o: In function `MainWindow::onDisconnect(FX::FXObject*, unsigned int, void*)':
/cygdrive/d/hidapi-master/testgui/test.cpp:270: undefined reference to `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:270: undefined reference to `FX::FXLabel::setText(FX::FXString const&)'
/cygdrive/d/hidapi-master/testgui/test.cpp:270: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:277: undefined reference to `FX::FXApp::removeTimeout(FX::FXObject*, unsigned int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:270: undefined reference to `FX::FXString::~FXString()'
test.o: In function `MainWindow::onRescan(FX::FXObject*, unsigned int, void*)':
/cygdrive/d/hidapi-master/testgui/test.cpp:287: undefined reference to `FX::FXList::clearItems(unsigned char)'
/cygdrive/d/hidapi-master/testgui/test.cpp:295: undefined reference to `FX::FXString::FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:296: undefined reference to `FX::FXString::FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:297: undefined reference to `FX::FXString::format(char const*, ...)'
/cygdrive/d/hidapi-master/testgui/test.cpp:298: undefined reference to `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:298: undefined reference to `FX::operator+(FX::FXString const&, wchar_t const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:298: undefined reference to `FX::FXString::operator+=(FX::FXString const&)'
/cygdrive/d/hidapi-master/testgui/test.cpp:298: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:298: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:299: undefined reference to `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:299: undefined reference to `FX::operator+(FX::FXString const&, wchar_t const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:299: undefined reference to `FX::FXString::operator+=(FX::FXString const&)'
/cygdrive/d/hidapi-master/testgui/test.cpp:299: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:299: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:300: undefined reference to `FX::FXString::format(char const*, ...)'
/cygdrive/d/hidapi-master/testgui/test.cpp:301: undefined reference to `FX::FXString::operator+=(FX::FXString const&)'
test.o: In function `FX::FXListItem::FXListItem(FX::FXString const&, FX::FXIcon*, void*)':
/cygdrive/d/hidapi-master/testgui/./../../hidapi-externals/fox/include/FXList.h:78: undefined reference to `FX::FXString::FXString(FX::FXString const&)'
test.o: In function `MainWindow::onRescan(FX::FXObject*, unsigned int, void*)':
/cygdrive/d/hidapi-master/testgui/test.cpp:303: undefined reference to `FX::FXList::appendItem(FX::FXListItem*, unsigned char)'
/cygdrive/d/hidapi-master/testgui/test.cpp:296: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:295: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:309: undefined reference to `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:309: undefined reference to `FX::FXList::appendItem(FX::FXString const&, FX::FXIcon*, void*, unsigned char)'
/cygdrive/d/hidapi-master/testgui/test.cpp:309: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:309: undefined reference to `FX::FXString::~FXString()'
test.o: In function `FX::FXListItem::FXListItem(FX::FXString const&, FX::FXIcon*, void*)':
/cygdrive/d/hidapi-master/testgui/./../../hidapi-externals/fox/include/FXList.h:78: undefined reference to `FX::FXObject::~FXObject()'
test.o: In function `MainWindow::onRescan(FX::FXObject*, unsigned int, void*)':
/cygdrive/d/hidapi-master/testgui/test.cpp:296: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:295: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:299: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:299: undefined reference to `FX::FXString::~FXString()'
test.o: In function `MainWindow::create()':
/cygdrive/d/hidapi-master/testgui/test.cpp:207: undefined reference to `FX::FXMainWindow::create()'
/cygdrive/d/hidapi-master/testgui/test.cpp:217: undefined reference to `FX::FXApp::addTimeout(FX::FXObject*, unsigned int, unsigned int, void*)'
test.o: In function `MainWindow::onTimeout(FX::FXObject*, unsigned int, void*)':
/cygdrive/d/hidapi-master/testgui/test.cpp:502: undefined reference to `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:502: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:503: undefined reference to `FX::FXText::setBottomLine(int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:506: undefined reference to `FX::FXApp::addTimeout(FX::FXObject*, unsigned int, unsigned int, void*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:486: undefined reference to `FX::FXString::FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:487: undefined reference to `FX::FXString::format(char const*, ...)'
/cygdrive/d/hidapi-master/testgui/test.cpp:495: undefined reference to `FX::FXString::operator+=(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:489: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:489: undefined reference to `FX::FXString::FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:490: undefined reference to `FX::FXString::format(char const*, ...)'
/cygdrive/d/hidapi-master/testgui/test.cpp:491: undefined reference to `FX::FXString::operator+=(FX::FXString const&)'
/cygdrive/d/hidapi-master/testgui/test.cpp:493: undefined reference to `FX::FXString::operator+=(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:497: undefined reference to `FX::FXString::operator+=(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:499: undefined reference to `FX::FXText::setBottomLine(int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:486: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:502: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:486: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:489: undefined reference to `FX::FXString::~FXString()'
test.o: In function `MainWindow::MainWindow(FX::FXApp*)':
/cygdrive/d/hidapi-master/testgui/test.cpp:116: undefined reference to `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:116: undefined reference to `FX::FXMainWindow::FXMainWindow(FX::FXApp*, FX::FXString const&, FX::FXIcon*, FX::FXIcon*, unsigned int, int, int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:116: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:121: undefined reference to `FX::FXVerticalFrame::FXVerticalFrame(FX::FXComposite*, unsigned int, int, int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:123: undefined reference to `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:123: undefined reference to `FX::FXLabel::FXLabel(FX::FXComposite*, FX::FXString const&, FX::FXIcon*, unsigned int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:123: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:124: undefined reference to `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:124: undefined reference to `FX::FXFont::FXFont(FX::FXApp*, FX::FXString const&, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:124: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:125: undefined reference to `FX::FXLabel::setFont(FX::FXFont*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:127: undefined reference to `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:128: undefined reference to `FX::FXLabel::FXLabel(FX::FXComposite*, FX::FXString const&, FX::FXIcon*, unsigned int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:127: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:129: undefined reference to `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:133: undefined reference to `FX::FXLabel::FXLabel(FX::FXComposite*, FX::FXString const&, FX::FXIcon*, unsigned int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:129: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:134: undefined reference to `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:136: undefined reference to `FX::FXLabel::FXLabel(FX::FXComposite*, FX::FXString const&, FX::FXIcon*, unsigned int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:134: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:137: undefined reference to `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:141: undefined reference to `FX::FXLabel::FXLabel(FX::FXComposite*, FX::FXString const&, FX::FXIcon*, unsigned int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:137: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:142: undefined reference to `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:142: undefined reference to `FX::FXLabel::FXLabel(FX::FXComposite*, FX::FXString const&, FX::FXIcon*, unsigned int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:142: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:145: undefined reference to `FX::FXHorizontalFrame::FXHorizontalFrame(FX::FXComposite*, unsigned int, int, int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:147: undefined reference to `FX::FXHorizontalFrame::FXHorizontalFrame(FX::FXComposite*, unsigned int, int, int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:147: undefined reference to `FX::FXList::FXList(FX::FXComposite*, FX::FXObject*, unsigned int, unsigned int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:148: undefined reference to `FX::FXVerticalFrame::FXVerticalFrame(FX::FXComposite*, unsigned int, int, int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:149: undefined reference to `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:149: undefined reference to `FX::FXButton::FXButton(FX::FXComposite*, FX::FXString const&, FX::FXIcon*, FX::FXObject*, unsigned int, unsigned int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:149: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:150: undefined reference to `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:150: undefined reference to `FX::FXButton::FXButton(FX::FXComposite*, FX::FXString const&, FX::FXIcon*, FX::FXObject*, unsigned int, unsigned int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:150: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:152: undefined reference to `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:152: undefined reference to `FX::FXButton::FXButton(FX::FXComposite*, FX::FXString const&, FX::FXIcon*, FX::FXObject*, unsigned int, unsigned int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:152: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:153: undefined reference to `FX::FXHorizontalFrame::FXHorizontalFrame(FX::FXComposite*, unsigned int, int, int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:155: undefined reference to `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:155: undefined reference to `FX::FXLabel::FXLabel(FX::FXComposite*, FX::FXString const&, FX::FXIcon*, unsigned int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:155: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:157: undefined reference to `FX::FXHorizontalFrame::FXHorizontalFrame(FX::FXComposite*, unsigned int, int, int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:160: undefined reference to `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:160: undefined reference to `FX::FXGroupBox::FXGroupBox(FX::FXComposite*, FX::FXString const&, unsigned int, int, int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:160: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:161: undefined reference to `FX::FXMatrix::FXMatrix(FX::FXComposite*, int, unsigned int, int, int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:162: undefined reference to `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:162: undefined reference to `FX::FXLabel::FXLabel(FX::FXComposite*, FX::FXString const&, FX::FXIcon*, unsigned int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:162: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:163: undefined reference to `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:163: undefined reference to `FX::FXLabel::FXLabel(FX::FXComposite*, FX::FXString const&, FX::FXIcon*, unsigned int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:163: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:164: undefined reference to `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:164: undefined reference to `FX::FXLabel::FXLabel(FX::FXComposite*, FX::FXString const&, FX::FXIcon*, unsigned int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:164: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:167: undefined reference to `FX::FXTextField::FXTextField(FX::FXComposite*, int, FX::FXObject*, unsigned int, unsigned int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:168: undefined reference to `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:168: undefined reference to `FX::FXTextField::setText(FX::FXString const&, unsigned char)'
/cygdrive/d/hidapi-master/testgui/test.cpp:168: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:169: undefined reference to `FX::FXTextField::FXTextField(FX::FXComposite*, int, FX::FXObject*, unsigned int, unsigned int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:170: undefined reference to `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:170: undefined reference to `FX::FXButton::FXButton(FX::FXComposite*, FX::FXString const&, FX::FXIcon*, FX::FXObject*, unsigned int, unsigned int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:170: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:175: undefined reference to `FX::FXTextField::FXTextField(FX::FXComposite*, int, FX::FXObject*, unsigned int, unsigned int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:176: undefined reference to `FX::FXTextField::FXTextField(FX::FXComposite*, int, FX::FXObject*, unsigned int, unsigned int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:177: undefined reference to `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:177: undefined reference to `FX::FXButton::FXButton(FX::FXComposite*, FX::FXString const&, FX::FXIcon*, FX::FXObject*, unsigned int, unsigned int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:177: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:180: undefined reference to `FX::FXTextField::FXTextField(FX::FXComposite*, int, FX::FXObject*, unsigned int, unsigned int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:181: undefined reference to `FX::FXWindow::FXWindow(FX::FXComposite*, unsigned int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:182: undefined reference to `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:182: undefined reference to `FX::FXButton::FXButton(FX::FXComposite*, FX::FXString const&, FX::FXIcon*, FX::FXObject*, unsigned int, unsigned int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:182: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:187: undefined reference to `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:187: undefined reference to `FX::FXGroupBox::FXGroupBox(FX::FXComposite*, FX::FXString const&, unsigned int, int, int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:187: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:188: undefined reference to `FX::FXVerticalFrame::FXVerticalFrame(FX::FXComposite*, unsigned int, int, int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:189: undefined reference to `FX::FXHorizontalFrame::FXHorizontalFrame(FX::FXComposite*, unsigned int, int, int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:189: undefined reference to `FX::FXText::FXText(FX::FXComposite*, FX::FXObject*, unsigned int, unsigned int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:190: undefined reference to `FX::FXText::setEditable(unsigned char)'
/cygdrive/d/hidapi-master/testgui/test.cpp:191: undefined reference to `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:191: undefined reference to `FX::FXButton::FXButton(FX::FXComposite*, FX::FXString const&, FX::FXIcon*, FX::FXObject*, unsigned int, unsigned int, int, int, int, int, int, int, int, int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:191: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:116: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:191: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:116: undefined reference to `FX::FXMainWindow::~FXMainWindow()'
test.o: In function `FX::FXTextField::getText() const':
/cygdrive/d/hidapi-master/testgui/./../../hidapi-externals/fox/include/FXTextField.h:257: undefined reference to `FX::FXString::FXString(FX::FXString const&)'
test.o: In function `MainWindow::getDataFromTextField(FX::FXTextField*, char*, unsigned long)':
/cygdrive/d/hidapi-master/testgui/test.cpp:321: undefined reference to `FX::FXString::~FXString()'
test.o: In function `MainWindow::onGetFeatureReport(FX::FXObject*, unsigned int, void*)':
/cygdrive/d/hidapi-master/testgui/test.cpp:444: undefined reference to `FX::FXMessageBox::error(FX::FXWindow*, unsigned int, char const*, char const*, ...)'
/cygdrive/d/hidapi-master/testgui/test.cpp:453: undefined reference to `FX::FXString::FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:454: undefined reference to `FX::FXString::format(char const*, ...)'
/cygdrive/d/hidapi-master/testgui/test.cpp:462: undefined reference to `FX::FXString::operator+=(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:456: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:456: undefined reference to `FX::FXString::FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:457: undefined reference to `FX::FXString::format(char const*, ...)'
/cygdrive/d/hidapi-master/testgui/test.cpp:458: undefined reference to `FX::FXString::operator+=(FX::FXString const&)'
/cygdrive/d/hidapi-master/testgui/test.cpp:460: undefined reference to `FX::FXString::operator+=(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:464: undefined reference to `FX::FXString::operator+=(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:466: undefined reference to `FX::FXText::setBottomLine(int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:453: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:449: undefined reference to `FX::FXMessageBox::error(FX::FXWindow*, unsigned int, char const*, char const*, ...)'
/cygdrive/d/hidapi-master/testgui/test.cpp:456: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:453: undefined reference to `FX::FXString::~FXString()'
test.o: In function `FX::FXTextField::getText() const':
/cygdrive/d/hidapi-master/testgui/./../../hidapi-externals/fox/include/FXTextField.h:257: undefined reference to `FX::FXString::FXString(FX::FXString const&)'
test.o: In function `MainWindow::getLengthFromTextField(FX::FXTextField*)':
/cygdrive/d/hidapi-master/testgui/test.cpp:352: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:360: undefined reference to `FX::FXMessageBox::error(FX::FXWindow*, unsigned int, char const*, char const*, ...)'
/cygdrive/d/hidapi-master/testgui/test.cpp:352: undefined reference to `FX::FXString::~FXString()'
test.o: In function `MainWindow::onSendOutputReport(FX::FXObject*, unsigned int, void*)':
/cygdrive/d/hidapi-master/testgui/test.cpp:389: undefined reference to `FX::FXMessageBox::error(FX::FXWindow*, unsigned int, char const*, char const*, ...)'
/cygdrive/d/hidapi-master/testgui/test.cpp:397: undefined reference to `FX::FXMessageBox::error(FX::FXWindow*, unsigned int, char const*, char const*, ...)'
/cygdrive/d/hidapi-master/testgui/test.cpp:384: undefined reference to `FX::FXMessageBox::error(FX::FXWindow*, unsigned int, char const*, char const*, ...)'
test.o: In function `MainWindow::onSendFeatureReport(FX::FXObject*, unsigned int, void*)':
/cygdrive/d/hidapi-master/testgui/test.cpp:420: undefined reference to `FX::FXMessageBox::error(FX::FXWindow*, unsigned int, char const*, char const*, ...)'
/cygdrive/d/hidapi-master/testgui/test.cpp:428: undefined reference to `FX::FXMessageBox::error(FX::FXWindow*, unsigned int, char const*, char const*, ...)'
test.o:/cygdrive/d/hidapi-master/testgui/test.cpp:415: more undefined references to `FX::FXMessageBox::error(FX::FXWindow*, unsigned int, char const*, char const*, ...)' follow
test.o: In function `MainWindow::handle(FX::FXObject*, unsigned int, void*)':
/cygdrive/d/hidapi-master/testgui/test.cpp:113: undefined reference to `FX::FXMainWindow::handle(FX::FXObject*, unsigned int, void*)'
test.o: In function `MainWindow::~MainWindow()':
/cygdrive/d/hidapi-master/testgui/test.cpp:196: undefined reference to `FX::FXMainWindow::~FXMainWindow()'
test.o: In function `__static_initialization_and_destruction_0':
/cygdrive/d/hidapi-master/testgui/test.cpp:113: undefined reference to `FX::FXMetaClass::FXMetaClass(char const*, FX::FXObject* (*)(), FX::FXMetaClass const*, void const*, unsigned int, unsigned int)'
/cygdrive/d/hidapi-master/testgui/test.cpp:113: undefined reference to `FX::FXMetaClass::~FXMetaClass()'
test.o: In function `main':
/cygdrive/d/hidapi-master/testgui/test.cpp:526: undefined reference to `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:526: undefined reference to `FX::FXString::FXString(char const*)'
/cygdrive/d/hidapi-master/testgui/test.cpp:526: undefined reference to `FX::FXApp::FXApp(FX::FXString const&, FX::FXString const&)'
/cygdrive/d/hidapi-master/testgui/test.cpp:526: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:526: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:527: undefined reference to `FX::FXApp::init(int&, char**, bool)'
/cygdrive/d/hidapi-master/testgui/test.cpp:529: undefined reference to `FX::FXApp::create()'
/cygdrive/d/hidapi-master/testgui/test.cpp:530: undefined reference to `FX::FXApp::run()'
/cygdrive/d/hidapi-master/testgui/test.cpp:526: undefined reference to `FX::FXApp::~FXApp()'
/cygdrive/d/hidapi-master/testgui/test.cpp:532: undefined reference to `FX::FXString::~FXString()'
/cygdrive/d/hidapi-master/testgui/test.cpp:526: undefined reference to `FX::FXApp::~FXApp()'
/cygdrive/d/hidapi-master/testgui/test.cpp:526: undefined reference to `FX::FXString::~FXString()'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x20): undefined reference to `FX::FXObject::onDefault(FX::FXObject*, unsigned int, void*)'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x28): undefined reference to `FX::FXObject::tryHandle(FX::FXObject*, unsigned int, void*)'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x30): undefined reference to `FX::FXTopWindow::save(FX::FXStream&) const'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x38): undefined reference to `FX::FXTopWindow::load(FX::FXStream&)'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x58): undefined reference to `FX::FXTopWindow::detach()'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x60): undefined reference to `FX::FXTopWindow::destroy()'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x68): undefined reference to `FX::FXWindow::GetDC() const'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x70): undefined reference to `FX::FXWindow::ReleaseDC(void*) const'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x78): undefined reference to `FX::FXTopWindow::resize(int, int)'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x80): undefined reference to `FX::FXWindow::doesOverrideRedirect() const'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x88): undefined reference to `FX::FXTopWindow::GetClass() const'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x90): undefined reference to `FX::FXTopWindow::getDefaultWidth()'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x98): undefined reference to `FX::FXTopWindow::getDefaultHeight()'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0xa0): undefined reference to `FX::FXWindow::getWidthForHeight(int)'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0xa8): undefined reference to `FX::FXWindow::getHeightForWidth(int)'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0xb0): undefined reference to `FX::FXWindow::canFocus() const'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0xb8): undefined reference to `FX::FXTopWindow::setFocus()'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0xc0): undefined reference to `FX::FXTopWindow::killFocus()'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0xc8): undefined reference to `FX::FXWindow::changeFocus(FX::FXWindow*)'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0xd0): undefined reference to `FX::FXWindow::setDefault(unsigned char)'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0xd8): undefined reference to `FX::FXWindow::enable()'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0xe0): undefined reference to `FX::FXWindow::disable()'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0xe8): undefined reference to `FX::FXWindow::attach(void*)'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0xf0): undefined reference to `FX::FXWindow::setShape(FX::FXRegion const&)'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0xf8): undefined reference to `FX::FXWindow::setShape(FX::FXBitmap*)'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x100): undefined reference to `FX::FXWindow::setShape(FX::FXIcon*)'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x108): undefined reference to `FX::FXWindow::clearShape()'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x110): undefined reference to `FX::FXTopWindow::raise()'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x118): undefined reference to `FX::FXWindow::lower()'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x120): undefined reference to `FX::FXTopWindow::move(int, int)'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x128): undefined reference to `FX::FXTopWindow::position(int, int, int, int)'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x130): undefined reference to `FX::FXShell::recalc()'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x138): undefined reference to `FX::FXTopWindow::layout()'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x140): undefined reference to `FX::FXWindow::reparent(FX::FXWindow*, FX::FXWindow*)'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x148): undefined reference to `FX::FXTopWindow::show()'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x150): undefined reference to `FX::FXTopWindow::hide()'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x158): undefined reference to `FX::FXComposite::isComposite() const'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x160): undefined reference to `FX::FXWindow::dropEnable()'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x168): undefined reference to `FX::FXWindow::dropDisable()'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x170): undefined reference to `FX::FXWindow::contains(int, int) const'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x178): undefined reference to `FX::FXWindow::setBackColor(unsigned int)'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x180): undefined reference to `FX::FXWindow::doesSaveUnder() const'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x188): undefined reference to `FX::FXWindow::tr(char const*, char const*) const'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x190): undefined reference to `FX::FXTopWindow::show(unsigned int)'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x198): undefined reference to `FX::FXTopWindow::maximize(unsigned char)'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x1a0): undefined reference to `FX::FXTopWindow::minimize(unsigned char)'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x1a8): undefined reference to `FX::FXTopWindow::restore(unsigned char)'
test.o:test.cpp:(.rdata$_ZTV10MainWindow[_ZTV10MainWindow]+0x1b0): undefined reference to `FX::FXTopWindow::close(unsigned char)'
test.o:test.cpp:(.rdata$.refptr._ZN2FX11FXMetaClassD1Ev[.refptr._ZN2FX11FXMetaClassD1Ev]+0x0): undefined reference to `FX::FXMetaClass::~FXMetaClass()'
test.o:test.cpp:(.rdata$.refptr._ZN2FX12FXMainWindow9metaClassE[.refptr._ZN2FX12FXMainWindow9metaClassE]+0x0): undefined reference to `FX::FXMainWindow::metaClass'
test.o:test.cpp:(.rdata$.refptr._ZTVN2FX10FXListItemE[.refptr._ZTVN2FX10FXListItemE]+0x0): undefined reference to `vtable for FX::FXListItem'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:502: hidapi-testgui.exe] Error 1
make[2]: Leaving directory '/cygdrive/d/hidapi-master/testgui'
make[1]: *** [Makefile:556: all-recursive] Error 1
make[1]: Leaving directory '/cygdrive/d/hidapi-master'
make: *** [Makefile:440: all] Error 2