Re: [sigc] Compilation Errors



Neil Chakrabarty wrote:
> I am trying to compile the hello world example provided with libsigc++
> 2.0.3.  I know it should work because if I use the provided Makefile,
> the program complies properly.
>
> Any suggestions?
>
> [root localhost examples]# g++ -I/usr/local/include/sigc++-2.0
   ^^^^ argh!
> hello_world.cc -c
> In file included from
> /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:7,
>                  from
> /usr/local/include/sigc++-2.0/sigc++/signal_base.h:27, from
> /usr/local/include/sigc++-2.0/sigc++/signal.h:8, from
> /usr/local/include/sigc++-2.0/sigc++/sigc++.h:23, from hello_world.cc:10:
> /usr/local/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:5:75:
> sigc++config.h: No such file or directory

You could have snipped all further output here, as this is where it starts 
going wrong. I think you just need to apply the info in 'man pkg-config'.

Disclaimer: I'm familiar with the 1.x versions and not so much with the 2.x 
ones, so if that version ceased to use pkg-config, please disregard this and 
excuse the noise it caused.

Uli



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