Re: Trying to build simple application on Windows
- From: Bruce Sherwood <Bruce_Sherwood ncsu edu>
- To: Pascal Grodowski <pascal grodowski gmx de>
- Cc: gtkmm-list gnome org
- Subject: Re: Trying to build simple application on Windows
- Date: Wed, 17 Oct 2007 21:40:30 -0400
Many thanks! That was indeed the dumb mistake I was making in trying to
build the helloworld example from "Programming with gtkmm".
Bruce Sherwood
Pascal Grodowski wrote:
helloworld: main.o helloworld.o
g++ -o helloworld main.o helloworld.o
You must provide the libs if you create the executable from object files.
Try:
helloworld: main.o helloworld.o
g++ -o helloworld main.o helloworld.o `pkg-config gtkmm-2.4 --cflags
--libs`
instead of:
helloworld: main.o helloworld.o
g++ -o helloworld main.o helloworld.o
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]