Hello Ramy,

MySql++ type Result was renamed to StoreQueryResult. Replace all
instances of 'Result' in HangmanDb.C with 'StoreQueryResult'. This is
not related to fcgi.

Best regards,
Wim.

2009/6/11 Ramy Daghstani <[email protected]>:
> hey, i'm really new to this kind of web toolkit stuff, so i'm hopping
> someone knows what's going on? i'm on ubuntu jaunty and i just compiled
> witty from git with the fast cgi option enabled. now when i run "make -C
> examples" i get the following errors:
>
> /home/ramy/witty/wt/examples/hangman/HangmanDb.C: In static member
> function ‘static bool HangmanDb::validLogin(const std::wstring&, const
> std::wstring&)’:
> /home/ramy/witty/wt/examples/hangman/HangmanDb.C:58: error: ‘Result’ was
> not declared in this scope
> /home/ramy/witty/wt/examples/hangman/HangmanDb.C:58: error: expected `;'
> before ‘res’
> /home/ramy/witty/wt/examples/hangman/HangmanDb.C:59: error: ‘res’ was
> not declared in this scope
> /home/ramy/witty/wt/examples/hangman/HangmanDb.C: In static member
> function ‘static void HangmanDb::addToScore(const std::wstring&, int)’:
> /home/ramy/witty/wt/examples/hangman/HangmanDb.C:75: error: ‘Result’ was
> not declared in this scope
> /home/ramy/witty/wt/examples/hangman/HangmanDb.C:75: error: expected `;'
> before ‘res’
> /home/ramy/witty/wt/examples/hangman/HangmanDb.C: In static member
> function ‘static std::vector<HangmanDb::Score,
> std::allocator<HangmanDb::Score> > HangmanDb::getHighScores(int)’:
> /home/ramy/witty/wt/examples/hangman/HangmanDb.C:91: error: ‘Result’ was
> not declared in this scope
> /home/ramy/witty/wt/examples/hangman/HangmanDb.C:91: error: expected `;'
> before ‘res’
> /home/ramy/witty/wt/examples/hangman/HangmanDb.C:93: error: ‘res’ was
> not declared in this scope
> /home/ramy/witty/wt/examples/hangman/HangmanDb.C: In static member
> function ‘static HangmanDb::Score HangmanDb::getUserPosition(const
> std::wstring&)’:
> /home/ramy/witty/wt/examples/hangman/HangmanDb.C:116: error: ‘Result’
> was not declared in this scope
> /home/ramy/witty/wt/examples/hangman/HangmanDb.C:116: error: expected
> `;' before ‘res’
> /home/ramy/witty/wt/examples/hangman/HangmanDb.C:119: error: ‘res’ was
> not declared in this scope
>
> now the weird thing is that i tried compiling the git version before but
> i hadn't switched on the fastcgi option, and when i ran the make command
> on the examples, they worked, i even tried some of them out. I also
> tried witty with the packages from the repository and tried THOSE
> examples as well, no prob, so what is it about fastcgi that is killing
> my hangman app?
>
> i already have the following libs too:
> libz
> openssl
> mod_fcgi
> apache2 server
> libgd2
> libmysql++3 (2.X wasn't in the repo, is that why?)
> libfcgi++ (had to compile it from source)
>
> thanks
>
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to