Running Helpdemo under Ubuntu

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
Widgets
Ultimate wxWidgets Guru
Ultimate wxWidgets Guru
Posts: 534
Joined: Thu Jun 01, 2006 4:36 pm
Location: Right here!

Running Helpdemo under Ubuntu

Post by Widgets »

I've just compiles the help demo sample under Ubuntu 16.04 and it does not seem to be able to open the data file.
Using

Code: Select all

 sudo make 
in the directory sample/help.

When it is run, the demo app opens up and I get the error:

Code: Select all

Unable to open requested HTML document: file:///home/xxxx/public/wxWidgets-3.1.0/samples/help/doc.zip#zip:doc1.htm#intro
If I dismiss the error dialog, the app stays open and I can see the main topics, but trying to view any of the topics gives me another similar error.

Building and running the same sample under Codelite, I get a different error

Code: Select all

Cannot initialize the help system, aborting.
and the app aborts when I dismiss the error dialog.
Environment: Win 10/11 64-bit & Mint 21.1
MSVC Express 2019/2022
wxWidgets 3.2.2
DavidHart
Site Admin
Site Admin
Posts: 4252
Joined: Thu Jan 12, 2006 6:23 pm
Location: IoW, UK

Re: Running Helpdemo under Ubuntu

Post by DavidHart »

Hi,

It happens for me too (debian stretch). Both wx3.0.3 and wx3.1.1 are OK though.

I suggest you upgrade to the recently-released wx3.1.1. Either build it yourself, or download the unofficial package from here.

Regards,

David
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7449
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: Running Helpdemo under Ubuntu

Post by ONEEYEMAN »

Hi,
Why do you need to issue

Code: Select all

sudo make
?

Just

Code: Select all

make
will suffice.

Thank you.
Post Reply