Disko Forum logo Login  |  Register  |  Lost Password
<< Start < Prev 1 2 Next > End >>
Re:Runtime issues with tutorials

andre
Posts: 35
graphgraph

Runtime issues with tutorials 5 Years, 9 Months ago  
Hello all,

This is my first post around here.

I am evaluating disko framework to be used on a IPTV project. After some (painful) time I finally got it installed on my system.

Now, I got the tutorials archive from http://www.berlinux-solutions.de/documentation/disko-tutorial/tutorials.tar.gz, unpacked it and successfully compiled it. Suggestion: it might be good to have a link to the tutorials from the Download tab at the disko site.

But then I found some issues on the dialog xml files. For example, in tutorial 02:

Error: Value "" is invalid for the attribute "class" of tag "rootwindow", line 7 of file ./dialog.xml
valid values: any characters, but not empty

Apparently one must set some class name for the rootwindow xml tag.

I am also having problems with tutorial 04:

Error: cannot read external file ./vladstudio_xeroxplain_800x600_gray.png
Error: cannot read external file ./vladstudio_xeroxplain_800x600.png

The files exist and are readable by everyone. Any ideas of what can be happening?

Thanks in the advance for your help!

Regards,
André
 
  The administrator has disabled public write access.
Re:Runtime issues with tutorials

Stefan
Posts: 91
graph

Re:Runtime issues with tutorials 5 Years, 9 Months ago  
Hi André,

thank you for the hint. The current tutorials may be found in the disko git repository here.

I also updated the tutorials.tar.gz. That should work now.

Could you elaborate a bit more, in which way the installation was painful?

have fun
Stefan
 
  The administrator has disabled public write access.
Re:Runtime issues with tutorials

andre
Posts: 35
graphgraph

Re:Runtime issues with tutorials 5 Years, 9 Months ago  
Hello Stefan,

Thanks for your reply.

I had some problems installing all the dependencies. I don't recall each problem exactly, but, for example ones needs the package libasound2-dev that includes de file alsa.pc. This is not listed as a dependency in the tutorial. Morevoer, disko will successfully compile without libasound2-dev, but then application will issue a runtime error.

Regarding the database backend, althougth the scons help file states that we can compile the disko framework without any database support (setting the option database=none) this is not true. Since I had MySQL installed on my system I tried to use it as the backend, but I was not able do to so. I really could not understand which MySQL package(s) was still missing. So I had to install sqlite3.

I hope this information is somehow useful.

Anyway, I am trying disko and so far it looks like a great tool. This might be exactly what I was (desperatly) looking for. I tried GTK+, gtkmm, Qt for embedded linux and wxWidgets. But neither of them was targeted to the sort of (IPTV) application I am developing.

Best regards,
André
 
  The administrator has disabled public write access.
Re:Runtime issues with tutorials

Guido
Admin
Posts: 54
graphgraph

Re:Runtime issues with tutorials 5 Years, 9 Months ago  
Hi André,

QUOTE:

But neither of them was targeted to the sort of (IPTV) application I am developing.


We are currently working on standard plugins like IPTV. We plan to release these plugins at the beginning of the new year in a separate shop.

Do you interested in to test/use a preview version of the IPTV plugin?

regards

Guido

Edit: Solved typing error.
 
 
Last Edit: 2009/12/02 20:21 By Guido.
  The administrator has disabled public write access.
Re:Runtime issues with tutorials

andre
Admin
Posts: 35
graphgraph

Re:Runtime issues with tutorials 5 Years, 9 Months ago  
Hello Guido,

Thanks for your reply.

I would definitely like to try that IPTV plugin you are developing. Where can I get it? Also, could you please elaborate a little bit regarding what are your goals with it?

In the meantime, I am still having issues loading image files. I permanently get the error message "Error: cannot read external file ..". I already tried png, bmp and even jpg formats.

Does anyone have an idea of what may I be doing wrong?

Here is a sample code:
...
MMSRootWindow *window = new MMSRootWindow("myMainWindow","100%","100%";
window->setBgImageName("myPicture.bmp";
...

Thanks in advance,
André
 
  The administrator has disabled public write access.
Re:Runtime issues with tutorials

Stefan
Admin
Posts: 91
graph

Re:Runtime issues with tutorials 5 Years, 9 Months ago  
Hi André,

currently Disko supports only png and gif images. Png is supported by libpng and gif is supported by our own loader. The png image must have an alpha channel even if there is no transparency. Pictures without will fail loading.

Sorry for the inconveinience.

have fun
Stefan
 
  The administrator has disabled public write access.
<< Start < Prev 1 2 Next > End >>
Powered by FireBoard
get the latest posts directly to your desktop