Project

General

Profile

Actions

Bug #1392

closed
BN KD

HTML version does not work

Bug #1392: HTML version does not work

Added by Boris Nagaev about 14 years ago. Updated almost 14 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"

KD Updated by Koen Deforche about 14 years ago Actions #1

  • Assignee set to Koen Deforche

KD Updated by Koen Deforche almost 14 years ago Actions #2

  • 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

BN Updated by Boris Nagaev almost 14 years ago Actions #3

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.

KD Updated by Koen Deforche almost 14 years ago Actions #4

Hey,

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

Regards,
koen

BN Updated by Boris Nagaev almost 14 years ago Actions #5

Hello!

I am using libraru 2.1.0

KD Updated by Koen Deforche almost 14 years ago Actions #6

Hey,

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

Regards,
koen

BN Updated by Boris Nagaev almost 14 years ago Actions #7

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.

KD Updated by Koen Deforche almost 14 years ago Actions #8

  • Status changed from Resolved to Closed

Fixed in Wt 3.2.3 RC1.

Actions

Also available in: PDF Atom