Linking errors



I'm getting the following:

g++ -g -O3 -Wall `pkg-config --cflags gtkmm-2.4` -c sudoku.cpp
g++ -g -O3 `pkg-config --libs gtkmm-2.4` -o sudoku sudoku.o  
sudoku.o: In function `Sudoku::on_menu_help_about()':
/home/alex/src/c++/sudoku/sudoku.cpp:228: undefined reference to
`gtkmm_major_version' /home/alex/src/c++/sudoku/sudoku.cpp:228:
undefined reference to `gtkmm_micro_version' /home/alex/src/c+
+/sudoku/sudoku.cpp:228: undefined reference to `gtkmm_minor_version'

Symbols such as glib_* and gtk_* links perfectly fine. Is there
something I'm missing? 

Thanks,
Alex
-- 
http://www.munted.org.uk

Take a nap, it saves lives.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]