RE: Mingw Compiling Error
- From: "Foster, Gareth" <gareth foster siemens com>
- To: Hal Lorenz <heuristic gmail com>, gtkmm-list gnome org
- Cc:
- Subject: RE: Mingw Compiling Error
- Date: Wed, 05 Oct 2005 15:30:35 +0100
> Compiler options:
> g++ main.cc -o program `pkg-config gtkmm-2.4 --cflags --libs`
>
> Compiler error:
> C:/DOCUME~1/Alex/LOCALS~1/Temp/ccgvbaaa.o(.text+0x1aa):main.cc:
> undefined reference to `HelloWorld::HelloWorld()'
> C:/DOCUME~1/Alex/LOCALS~1/Temp/ccgvbaaa.o(.text+0x1d4):main.cc:
> undefined reference to `HelloWorld::~HelloWorld()'
> C:/DOCUME~1/Alex/LOCALS~1/Temp/ccgvbaaa.o(.text+0x233):main.cc:
> undefined reference to `HelloWorld::~HelloWorld()'
> collect2: ld returned 1 exit status
>
Do you need to compile and link in SimpleWindow.cpp (or a similarly named
file) by any chance?
Gaz
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]