Hi. Please be patient because I am new to Lazarus, but not to Delphi. I have over a few years been converting a number of (command line) programs to FreePascal. That has gone smoothly. One of those programs uses VCL (now LCL) to run a couple of tests which plot graphics on a form. The form uses a TMainMenu with a menu item for each test. My problem is that the main menu is not shown. I have searched for a day and am unable to work out what I have done wrong. I can add other controls, such as a TButton, and they appear on the form.
I run Linux Mint 21.3 x86_64, Cinnamon 6.0.4, Lazarus 3.6, FPC 3.2.2, x86_64_linux-gtk2. FPC and Lazarus were downloaded and installed again yesterday, to make sure I had the latest versions.
Note that I do *not* use the Lazarus or FreePascal IDEs. I attach a severely trimmed program which shows, at least on my computer, the problem: the button is shown but not the main menu. If I go the normal way of using the Lazarus IDE the main menu is shown, but I need all this to happen automatically using the command line and custom make files.
Any help will be appreciated.
Thank you.