Bug #1392

HTML version does not work

Added by User Starius 10 months ago. Updated 8 months ago.

Status:ClosedStart date:08/09/2012
Priority:HighDue date:
Assignee:Koen Deforche% Done:

0%

Category:-
Target version:3.2.3

Description

Hi!

I build latest Wt (commit 41bb9bbc2cad241f4abf3a5cf27266eeae802bfb). Boost 1.42.
All Wt apps do not work properly in HTML mode.
For example, I compiled example/compiser. In HTML version it does not react to any button pressed.
I get notices:

[info] "CgiParser: end of multi-part data" 
[info] "Wt: refreshing session" 

History

#1 Updated by Koen Deforche 10 months ago

  • Assignee set to Koen Deforche

#2 Updated by Koen Deforche 9 months ago

  • Status changed from New to Resolved
  • Target version set to 3.2.3

Hey,

I couldn't reproduce this with latest git, but I guess this might have been fixed as part of some other fixes. Could you confirm ?

Regards,
koen

#3 Updated by User Starius 9 months ago

Hello!

HTML version does work in git version 7d0ba7ef623f8e3a3252e for me.

BTW, current git version is not compilable (if default config).

I got the following error message:

src/Wt/WPdfImage.C: In member function ‘virtual void Wt::WPdfImage::drawImage(const Wt::WRectF&, const std::string&, int, int, const Wt::WRectF&)’:
src/Wt/WPdfImage.C:382: error: ‘HPDF_LoadPngImageFromMem’ was not declared in this scope
src/Wt/WPdfImage.C:386: error: ‘HPDF_LoadJpegImageFromMem’ was not declared in this scope

This was "fixed" by disabling HARU.

#4 Updated by Koen Deforche 9 months ago

Hey,

It seems to me that your libharu version is older than 2.2.0 then ?

Regards,
koen

#5 Updated by User Starius 9 months ago

Hello!

I am using libraru 2.1.0

#6 Updated by Koen Deforche 9 months ago

Hey,

So yes, that's older than 2.2.0, which lacks these functions.

Regards,
koen

#7 Updated by User Starius 9 months ago

IIRC, previous Wt versions used to compile with 2.1.0. I think, cmake feature test can be used to detect if these functions are present in the library.

#8 Updated by Koen Deforche 8 months ago

  • Status changed from Resolved to Closed

Fixed in Wt 3.2.3 RC1.

Also available in: Atom PDF