Compiling Linux execatable does not work

Forum for discussion about the Windows IDE of Hollywood
Post Reply
Yvan_Amiga
Posts: 21
Joined: Mon Mar 14, 2022 5:05 pm

Compiling Linux execatable does not work

Post by Yvan_Amiga »

I use the Windows IDE of Hollywood version 9 and compiled a script under 'Compile for single plattform' for Windows. This works fine the program runs as it should.

I then compiled a Linux version of it under 'Compile for single plattform' bu this one won't run.

I use RapaGUI and the SQLite plugin and link them to the program.

As you can see from the compile log below both are linked.

Code: Select all

Hollywood 9.0 [Windows] [64-bit] (c) by Andreas Falkenhahn
The Cross-Platform Multimedia Application Layer

Licenced to Yvan Gutknecht

Loading plugin rapagui.hwp...done
Loading plugin sqlite3.hwp...done
Opening script TaskManager_WIP.hws...done
Compiling script...done
Creating applet holFDA5.tmp...
Linking file About.xml...done
Linking file About_de.xml...done
Linking file Admin.xml...done
Linking file Admin_de.xml...done
Linking file datepicker.xml...done
Linking file datepicker_de.xml...done
Linking file EditCategory.xml...done
Linking file EditCategory_de.xml...done
Linking file EditPriority.xml...done
Linking file EditPriority_de.xml...done
Linking file EditTask.xml...done
Linking file EditTask_de.xml...done
Linking file Filter.xml...done
Linking file Filter_de.xml...done
Linking file leftarrow.jpg...done
Linking file NewTask.xml...done
Linking file NewTask_de.xml...done
Linking file rightarrow.jpg...done
Linking file Sort.xml...done
Linking file Sort_de.xml...done
Linking file Taskmanager2.xml...done
Linking file Taskmanager2_de.xml...done
Linking file english.catalog...done
Linking file german.catalog...done
Linking compiled script...done
Compressing applet...gained 74%
Creating executable TaskManager_Linux.exe...
Linking Hollywood Player [x64-linux]...done
Linking plugin RapaGUI.hwp [x64-linux]...done
Linking plugin sqlite3.hwp [x64-linux]...done
Linking applet...done

Linkage successful! Executable size: 6358221 bytes

Information: Hollywood has created a program for Linux [x64]. Note that if you have compiled this executable on a non-Linux system, it will be necessary to set execution permission on the file after you've copied it to your Linux installation or it won't run!
At the end of this log you see
Linking plugin RapaGUI.hwp [x64-linux]...done
Linking plugin sqlite3.hwp [x64-linux]...done
After setting the execution permission and starting the compile program I get a window with the following message.
'This program requires RapaGUI.hwp!'
What's wrong?
User avatar
airsoftsoftwair
Posts: 5830
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Compiling Linux execatable does not work

Post by airsoftsoftwair »

RapaGUI has quite a lot of dependencies on Linux and if one of those can't be found the plugin won't load. You need to check if your Linux has GTK2 or GTK3 and whether or not it has the GTK-Webkit component and then use the correct flavour of RapaGUI. If you check out the RapaGUI archive for Linux you'll see that there are several builds of the plugin for different configurations. So maybe just try RapaGUI on Linux with Hollywood first to see which version works on your system and then let Hollywood links this version of RapaGUI to your executable.
Yvan_Amiga
Posts: 21
Joined: Mon Mar 14, 2022 5:05 pm

Re: Compiling Linux execatable does not work

Post by Yvan_Amiga »

Thank you this was helpful, lib32-gtk2 was missing. Then trying some RapaGui flavors for my system and some tweaking on uppper-lower-case. It works now also under linux.
Post Reply