Support #3665
closedAfter successfully building wt lib (3.3.3), compiling the charts example fails
Description
Hello,
I am doing this on a Debian squeeze. I have downloaded wt-3.3.3, and have managed to compile
the library.
I have copied the charts example to an empty dir, and try to compile it along the lines
LIBDIR=/wt-3.3.3/build/src/
INCDIR=/wt-3.3.3/src/
g -Wall -I/usr/include -I$INCDIR *.C
(This is 'manually', outside any makefile.)
I get the following result:
In file included from ../wt-3.3.3/src/Wt/WWidget:10,
from ../wt-3.3.3/src/Wt/WWebWidget:14,
from ../wt-3.3.3/src/Wt/WInteractWidget:10,
from ../wt-3.3.3/src/Wt/WContainerWidget:10,
from ChartConfig.h:10,
from ChartConfig.C:7:
../wt-3.3.3/src/Wt/WObject:238: error: expected class-name before '{' token
../wt-3.3.3/src/Wt/WObject:457: error: ISO C forbids declaration of 'signal' with no type
../wt-3.3.3/src/Wt/WObject:457: error: invalid use of '::'
../wt-3.3.3/src/Wt/WObject:457: error: expected ';' before '<' token
../wt-3.3.3/src/Wt/WObject:458: error: 'connection' in namespace 'Wt::Signals' does not name a type
In file included from ../wt-3.3.3/src/Wt/WWidget:14,
from ../wt-3.3.3/src/Wt/WWebWidget:14,
from ../wt-3.3.3/src/Wt/WInteractWidget:10,
from ../wt-3.3.3/src/Wt/WContainerWidget:10,
from ChartConfig.h:10,
from ChartConfig.C:7:
../wt-3.3.3/src/Wt/WSignal:119: error: 'connection' in namespace 'Wt::Signals' does not name a type
../wt-3.3.3/src/Wt/WSignal:128: error: expected constructor, destructor, or type conversion before 'connect'
../wt-3.3.3/src/Wt/WSignal:257: error: 'connection' in namespace 'Wt::Signals' does not name a type
../wt-3.3.3/src/Wt/WSignal:274: error: expected constructor, destructor, or type conversion before 'connect'
../wt-3.3.3/src/Wt/WSignal:297: error: expected constructor, destructor, or type conversion before 'connect'
../wt-3.3.3/src/Wt/WSignal:306: error: expected constructor, destructor, or type conversion before 'connect'
../wt-3.3.3/src/Wt/WSignal:309: error: expected constructor, destructor, or type conversion before 'connect'
../wt-3.3.3/src/Wt/WSignal:318: error: expected constructor, destructor, or type conversion before 'connect'
../wt-3.3.3/src/Wt/WSignal:321: error: expected constructor, destructor, or type conversion before 'connect'
../wt-3.3.3/src/Wt/WSignal:325: error: expected constructor, destructor, or type conversion before 'connect'
../wt-3.3.3/src/Wt/WSignal:329: error: expected constructor, destructor, or type conversion before 'connect'
../wt-3.3.3/src/Wt/WSignal:339: error: expected constructor, destructor, or type conversion before 'connect'
../wt-3.3.3/src/Wt/WSignal:343: error: expected constructor, destructor, or type conversion before 'connect'
../wt-3.3.3/src/Wt/WSignal:347: error: expected constructor, destructor, or type conversion before 'connect'
../wt-3.3.3/src/Wt/WSignal:352: error: expected constructor, destructor, or type conversion before 'connect'
../wt-3.3.3/src/Wt/WSignal:363: error: expected constructor, destructor, or type conversion before 'connect'
../wt-3.3.3/src/Wt/WSignal:373: error: expected constructor, destructor, or type conversion before 'connect'
../wt-3.3.3/src/Wt/WSignal:383: error: expected constructor, destructor, or type conversion before 'connect'
....
....
and many more lines (total 742).
For the first error message, it appears as if Wt::Signals::trackable is not defined (see below),
apparently because DOXYGEN_ONLY is not set.
If I set DOXYGEN_ONLY manually, the compilation fails at another stage. (WFlags)
Result seems to be independent whether option "-std=c++0x" is added.
Does someone have an idea what might be wrong here?
Thank you.
------------ from WObject:
- \ingroup signalslot
*/
class WT_API WObject : public Wt::Signals::trackable
{
public:
/*! \brief Typedef for a %WObject method without arguments.
*/ ¶
Updated by Wim Dumon about 10 years ago
Hey,
You must run 'make install' in order to properly use Wt.
Best regards,
Wim.
Updated by Koen Deforche almost 10 years ago
- Status changed from New to Resolved
- Assignee set to Wim Dumon
Updated by Koen Deforche almost 10 years ago
- Status changed from Resolved to Closed