Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
128 user(s) are online (93 user(s) are browsing Forums)

Members: 0
Guests: 128

more...

Headlines

 
  Register To Post  

(1) 2 »
Cubic IDE & Workbench screen
Quite a regular
Quite a regular


See User information
Hi All,

Is there someone that know if Cubic IDE can use its own screen instead of displaying itself in the WorkBENCH one ?
(under AmigaOS 4.1 of course :p)

Kindest Regards,
Fred

All we have to decide is what to do with the time that is given to us.
Go to top
Re: Cubic IDE & Workbench screen
Just can't stay away
Just can't stay away


See User information
@freddix

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.

Go to top
Re: Cubic IDE & Workbench screen
Quite a regular
Quite a regular


See User information
@trixie

Thank you :)

Configuration changes :p

Regards,
Fred

All we have to decide is what to do with the time that is given to us.
Go to top
Re: Cubic IDE & Workbench screen
Supreme Council
Supreme Council


See User information
@freddix

I really can't imagine why you couldn't find it, it was obviously right in front of you! :P

Simon

Go to top
Re: Cubic IDE & Workbench screen
Quite a regular
Quite a regular


See User information
@Rigo
I don't find this really intuitive to have to change "File Types tab" to change display ...
it's not logical ..

All we have to decide is what to do with the time that is given to us.
Go to top
Re: Cubic IDE & Workbench screen
Not too shy to talk
Not too shy to talk


See User information
@Rigo

LOL

Go to top
Re: Cubic IDE & Workbench screen
Just can't stay away
Just can't stay away


See User information
@freddix

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

Otherwise, Cubic is a cool piece of software.

Go to top
Re: Cubic IDE & Workbench screen
Quite a regular
Quite a regular


See User information
@trixie
Yes, I don't doubt Cubic IDE is a good tool :)

Does someone know if there is an easy way to setup latest Hyperion SDK to be used under Cubic IDE ?

Thank you :)

Regards,
Fred

All we have to decide is what to do with the time that is given to us.
Go to top
Re: Cubic IDE & Workbench screen
Just can't stay away
Just can't stay away


See User information
@freddix

Quote:

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.

Go to top
Re: Cubic IDE & Workbench screen
Supreme Council
Supreme Council


See User information

Vacca foeda. Sum, ergo edo

Mr Bobo Cornwater
Go to top
Re: Cubic IDE & Workbench screen
Quite a regular
Quite a regular


See User information
@all:
Thank you :)
Will check this article now ;)

EDIT.
Checking your tutorial:
Quote:
2. Create drawer "devkits:sdk/amigaos4/53.15".

I have no folder, or path called devkits ...

Quote:
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 ...

Quote:
7. Create drawer "devkits:compilers/gcc/amigaos4/4.2.4".

Same here ...

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 23:38:10
Edited by freddix on 2009/9/6 23:47:02
All we have to decide is what to do with the time that is given to us.
Go to top
Re: Cubic IDE & Workbench screen
Just can't stay away
Just can't stay away


See User information
@freddix

At the beginning of the tutorial:

"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.

Go to top
Re: Cubic IDE & Workbench screen
Quite a regular
Quite a regular


See User information
@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 11:39:50
Edited by freddix on 2009/9/7 11:48:05
Edited by freddix on 2009/9/7 12:08:08
Edited by freddix on 2009/9/7 12:23:49
All we have to decide is what to do with the time that is given to us.
Go to top
Re: Cubic IDE & Workbench screen
Just can't stay away
Just can't stay away


See User information
@freddix

Quote:

Cannot find how to compile under Cubic IDE ...

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?

Go to top
Re: Cubic IDE & Workbench screen
Quite a regular
Quite a regular


See User information
@trixie
No

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.
Go to top
Re: Cubic IDE & Workbench screen
Just can't stay away
Just can't stay away


See User information
@freddix

OK, then you need a bit of info here.

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.

Go to top
Re: Cubic IDE & Workbench screen
Quite a regular
Quite a regular


See User information
@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.

CC = gcc
CP = copy
RM = delete
STRIP = strip

OPTIMIZE = -O3
DEBUG =
CFLAGS = -mcrt=newlib $(OPTIMIZE) -Wall -gstabs -DMINIGL

TARGET = AmiDE_Images.exe

# The source files
SRCS = AmiDE_Images.c

# Flags passed to gcc during linking
LINK =

# Additional linker libraries
LIBS = -lGL -lGLUT -lglpng -lpng -lz

# -------------------------------------------------------------
# Nothing should need changing below this line

OBJS = $(SRCS:.c=.o)

# Rules for building
all: $(TARGET)

$(TARGET): $(OBJS)
$(CC) $(CFLAGS) -o $@.debug $(OBJS) $(LIBS) $(LINK)
$(STRIP) $@.debug -o $@

.PHONY: clean
clean:
$(RM) $(TARGET) $(TARGET).debug $(OBJS)


Should I change something in my files ?

All we have to decide is what to do with the time that is given to us.
Go to top
Re: Cubic IDE & Workbench screen
Just can't stay away
Just can't stay away


See User information
@freddix

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.

Go to top
Re: Cubic IDE & Workbench screen
Quite a regular
Quite a regular


See User information
@trixie
Great :)

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.
Go to top
Re: Cubic IDE & Workbench screen
Just can't stay away
Just can't stay away


See User information
@freddix

Sorry, I can't help you with that - never cross-compiled for morphos (I don't even have that compiler installed).

Line numbers - I doubt Cubic supports that. The current line number is shown at the top but that's about all.

Go to top

  Register To Post
(1) 2 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project