Project

General

Profile

Actions

Bug #1392

closed

HTML version does not work

Added by Boris Nagaev over 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Start date:
08/09/2012
Due date:
% Done:

0%

Estimated time:

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"
Actions #1

Updated by Koen Deforche over 12 years ago

  • Assignee set to Koen Deforche
Actions #2

Updated by Koen Deforche about 12 years 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

Actions #3

Updated by Boris Nagaev about 12 years 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.

Actions #4

Updated by Koen Deforche about 12 years ago

Hey,

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

Regards,

koen

Actions #5

Updated by Boris Nagaev about 12 years ago

Hello!

I am using libraru 2.1.0

Actions #6

Updated by Koen Deforche about 12 years ago

Hey,

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

Regards,

koen

Actions #7

Updated by Boris Nagaev about 12 years 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.

Actions #8

Updated by Koen Deforche about 12 years ago

  • Status changed from Resolved to Closed

Fixed in Wt 3.2.3 RC1.

Actions

Also available in: Atom PDF