1 This is a list of questions and answers that I have collected from
4 ---------------------------------------------------------------------
6 Q: Why isn't sigc++config.h installed with the rest of the headers?
8 A: Traditionally include files that are dependent on the compiler
9 or srchitecture belong under lib trees and not the include tree.
10 This allows machines to share include directories on large multiuser
14 /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.57/include
18 To access that file you should include a -I PREFIX/lib/sigc++/include
19 in your compiler switchs.
21 This can be done for you automatically through the use of
22 the sigc-config script.
24 c++ myfile.cc `sigc-config --cflags --libs`
26 Last, if you really don't like this just symlink the file into
27 PREFIX/include. (Don't copy or the next version of libsigc++
28 very likely won't work right!)
30 Q: Why on Visual C++ can do I get piles of errors when trying to
31 use classes which contain Signals?
33 A: Visual C++ requires all classes which are parameterized to be
34 explicitely exported. This is the same problem encountered
35 when using STL classes in VC++. Microsoft Knowledge Base
36 article Q168958 contains the solution.
38 (http://support.microsoft.com/support/kb/articles/Q168/9/58.ASP)
40 You will need to create an export file with all the signals,
41 slots, and parameterized functions explicitely instantiated
42 and include it in your library source. (Anyone have an example