Re: Compile Question



Hi Zyle,

On Thu, 18 Feb 2010 19:18:10 -0800 (PST) you wrote:
> 
> Compile Error:
> g++ -I/usr/include/gtkmm-2.4 -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/Test.d" -MT"src/Test.d" -o"src/Test.o" "../src/Test.cpp"
> In file included from ../src/Test.cpp:9:
> /usr/include/gtkmm-2.4/gtkmm.h:29:20: warning: glibmm.h: No such file or directory
> /usr/include/gtkmm-2.4/gtkmm.h:30:19: warning: giomm.h: No such file or directory
> /usr/include/gtkmm-2.4/gtkmm.h:31:19: warning: gdkmm.h: No such file or directory
> In file included from /usr/include/gtkmm-2.4/gtkmm.h:33,
>    

So when you previously posted that the compiler moaned about the missing '}' you were, in fact, telling only the smallest possible fraction of a tiny little bit of the truth. I wonder why nobody managed to solve your problem for you?


Now set up ALL the include paths for the build, not just the one you guessed. If you were building from the command line you'd want to pass the output of pkg-config to the GCC command :

    gcc -o MyTestProgram `pkg-config --libs --cflags gtkmm-2.4` Test.c

But I think you said you were using Eclipse, so I don't know how you'd do so with that.



Rob


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