Sure. Go to "Extras/Customize..." menu, select the File Types tab and find the TEXT filetype (should be the last one in the list). Unfold the TEXT item and the Configuration subitem, by clicking on the little "+". Find "Display and Fonts", double-click it, tick "Open on new screen" and configure your custom screen using the screen selector. Then Save all settings you have made.
You are right, Cubic's settings are not very intuitive. Editing the TEXT filetype if you actually want to set up global settings (like screen or font) is something the user will most probably find confusing.
Another nightmare is editing Cubic's menus. It took me ages to find out that a regular double-click opens the properties window while you need a "slow double-click" to rename the particular menu item
Does someone know if there is an easy way to setup latest Hyperion SDK to be used under Cubic IDE ?
I've recently written a detailed tutorial for the installation of SDK 53.15 in CubicIDE, on utilitybase.com. But for some reason the article does not show up anywhere, although it displays in "My articles" and the article is marked as "published".
So I've just posted it here on amigans.net. Check the Articles section on the left.
6. Load the file "devkits:scripts/user-startup". If you have installed SDK 51.22 previously (the last SDK version officially supported by Cubic IDE), modify the respective lines to look as follows:
I have no scripts folder ... cos I have no devkits folder ...
your path devkits is available on many places in your tutorial .. I have SDK 53.15 and Cubic IDE already installed but no path nor assign with this name ...
@ +
Edited by freddix on 2009/9/6 22:38:10 Edited by freddix on 2009/9/6 22:47:02
All we have to decide is what to do with the time that is given to us.
"Please note that Cubic must be installed prior to installing the SDK, together with the compiler suite ..."
So you must install Cubic _AND ALSO_ the compiler suite (devkits) that either comes on the Cubic CD or can be download from Dietmar's website (the C/C++ Add-On package). The compiler suite will install the devkits: assign as well as all the files you'll need in the process of installing the SDK according to the tutorial.
Hope this helps. I have updated the tutorial and marked the respective section in bold.
@trixie: Cubic IDE is already installed but I have probably not installed devkits :p Will try this now
Edit: It's okay now. SDK installed correctly ( I followed your tutorial explanations :p ) I will make tests today to see if I can compiles under Cubic IDE.
I checked in the configurations file types and others and didn't find option to display line numbers. Does someone know how to do that ?
EDIT #2: Now, when I restart my Amiga OS4, I get a message in a cli window saying this : Quote:
"gcc 2.95.3 for amigaos/680x0" is incompatible with this computer!
I didn't found in any of the startup files something I can remove to avoid this message.
EDIT #3: I've found how to remove the message by removing compilers that are not for OS4 in the devkits.config file. I can always compile under CodeBENCH and will try on Cubic IDE now.
EDIT #4: Cannot find how to compile under Cubic IDE ... Regards, Fred.
Edited by freddix on 2009/9/7 10:39:50 Edited by freddix on 2009/9/7 10:48:05 Edited by freddix on 2009/9/7 11:08:08 Edited by freddix on 2009/9/7 11:23:49
All we have to decide is what to do with the time that is given to us.
That's a pretty broad problem description, can you be any more specific?
I assume you have a general idea of how Cubic's C/C++ mode works? Have you created a new project, added all sources and set up your makefile correctly? Have you selected the correct target compiler?
In fact I have project already started and wanted to use it directly in Cubic IDE. ( I started it under CodeBENCH and CodeBENCH was really simple to setup )
I will make tests following a default C/C++ project creation ...
Regards, Fred
All we have to decide is what to do with the time that is given to us.
Load a source file from your project into Cubic. The program should automatically switch to the C/C++ mode, and the last menu should read the name of the currently selected compiler. Choose "Change compiler" at the bottom of the menu and then tick both "gcc" and "Target: amigaos4" in the submenu.
If you start from scratch, use "Create new project" (top in the menu), which will guide you through the setup process.
If you already have a drawer with source files for a project you've already been working on, don't create a new project but use "Generate makefile...". You'll then choose your project drawer, all the source files, and a makefile will be created for you, together with all the stuff Cubic will need, like project options ("etc/project.options") and the drawers for object files and binary executables.
This is pretty much all you have to do to setup your project. Press F2 to make (compile) your project and then F4 to run the executable.
@trixie It tell me that there is nothing to compile for "all". Even if I choose my Makefile defined for my project...
They are in the same form than the source code for MiniGL 2.1 : Quote:
# GLUT-fullscreen template # # See GLUT-fullscreen.c and GLUT-fullscreen2.c for details # # written by Hans de Ruiter # # License: # This is provided as-is and can be used and distributed by anyone # without restrictions.
Nothing to compile for "all" is displayed if the object files are already made, that is, there's nothing to compile. Delete all the .o files related to your project.
I can now compile my actual project under Cubic IDE :)
Thank you Trixie :)
Do you know how I can display line numbers ? Is it possible to make cross compilation ? To compile for MorphOS for example ? It always say me that gcc compiler is not compatible when I choose Morphos as target OS.
Regards, Fred
All we have to decide is what to do with the time that is given to us.