Re: AW: gtkmm and dev-cpp linker error with TreeViewColumn

Andreas Hauber wrote:
As you can see in my post i already used the --enable-runtime-pseudo-reloc
and the -W1 switch. And I already read the ld doc and tried to link against
gtkmm.dll and not against gtkmm.dll.a . but this only results in a 'couldn't
find gtkmm-2.4 error'. Ill try to search the archive thx.

I read your post and you mention -Wl in the compiler options, and --enable-runtime-pseudo-reloc in the linker options, which is quite strange, as it should be "-Wl,--enable-runtime-pseudo-reloc". Do you call ld explicitly ?

What if you compile your code directly from a shell with

g++ -o myprog `pkg-config --cflags gtkmm-2.4` *.cc -mms-bitfields -Wl,--enable-runtime-pseudo-reloc `pkg-config --libs gtkmm-2.4`

Also, why the -mno-cygwin option if you use dev-cpp ?

If it fails, please post your gcc version (gcc --version)


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