I've using Wt from Git (A few weeks old) and am following the tutorial at
http://www.webtoolkit.eu/wt/doc/tutorial/dbo/tutorial.html to learn how to use
Wt::Dbo. Following that tutorial I've implemented a persist method as
instructed.
template<class Action> void persist(Action& a)
When I link, I get a number of linker errors that seem to indicate that I'm
supposed to implement a couple of additional persist methods that take
different parameters. Am I missing a base class, or can someone point me to
documentation on the proper implementation of these methods, or ???
Undefined symbols for architecture x86_64:
"void Project::persist<Wt::Dbo::DropSchema>(Wt::Dbo::DropSchema&)",
referenced from:
void Wt::Dbo::persist<Project,
void>::apply<Wt::Dbo::DropSchema>(Project&, Wt::Dbo::DropSchema&) in
HydrovoltsConnectProjects.cpp.o
"void Project::persist<Wt::Dbo::InitSchema>(Wt::Dbo::InitSchema&)",
referenced from:
void Wt::Dbo::persist<Project,
void>::apply<Wt::Dbo::InitSchema>(Project&, Wt::Dbo::InitSchema&) in
HydrovoltsConnectProjects.cpp.o
Thanks,
Craig
Craig Miller
http://spatialminds.com
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest