Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
57 user(s) are online (36 user(s) are browsing Forums)

Members: 0
Guests: 57

more...

Headlines

Forum Index


Board index » All Posts (JosDuchIt)




Migration to OS4
Just can't stay away
Just can't stay away


I get the following error compiling for OS4
'struct Library' has no member named 'FirstScreen' for the line
sc2 = IntuitionBase->FirstScreen;
How do i have to change this??

Thanks for any help


Joseph

Go to top


Re: "expected '=', ',', ';', 'asm' or '__attribute__' before '{' token " error
Just can't stay away
Just can't stay away


@tonyw

I am using the OS4 SDK. I missed the migrating guide though. Thanks for the hint.
I just read it and amkind of dizzy. The learning curve seems quite steep to me. Still: quite usefull too.

I am wondering how this interacts with the SDI headers, which looked like a good idea to include.
Looking through thes headers i note they only include two system headers.

#include <proto/alib.h>
#include <emul/emulregs.h>


I don't find these headers though. Where can they be found?

Thnals for any help


Joseph

Go to top


Re: "expected '=', ',', ';', 'asm' or '__attribute__' before '{' token " error
Just can't stay away
Just can't stay away


@tonyw & rest of you guys,

I got rid of the 333 errors of this type by compiling with the -D__USE_INLINE__ option, which is suggested in codeportable-fr.pdf of Mathias PARNAUDEAU - mathias.p@wanadoo.fr.
An english version exists too.

The errorcount is not down much though, although the errors are much more varied.

I'll try to tackle them one by on.


Joseph

Go to top


Re: "expected '=', ',', ';', 'asm' or '__attribute__' before '{' token " error
Just can't stay away
Just can't stay away


@orgin
Neither seem to be the cause. The error is very systematic . I don't know for sure if it is the case for all functions (eg no complaint for the main function)
This source compiled well under OS3 <ith gcc 2.95 and i m now trying to get a working source for OS4. I added the SDI headers; It must be something iforgot to do or did not know of, i think, but what?

Joseph

Go to top


"expected '=', ',', ';', 'asm' or '__attribute__' before '{' token " error
Just can't stay away
Just can't stay away


Hello

i get the above error for example in this function declaration (and a lot of othes that compiled wel for OS3 but not for OS4.
It could be some headers forgotten? I don't see which, or?

int lvsearch(struct fulist *fls, char *str, char *ci, char *mode)
{
register char *p, *d, *t, *u;

etc etc

}

Thanks for any suggestion

Joseph

Go to top


Re: env:
Just can't stay away
Just can't stay away


@Slayer
Quote:
preferences perhaps?

do you have a get volumes button to click on etc, probably show there... EndQuote


I guess the Diskmaster 2 prefs?

I don't have a volumes button, there is a 'root' element in the central listview.
which will show all volumes and assigns except env:

You can edit the prefs, but i wouldn't know how

Joseph

Go to top


env:
Just can't stay away
Just can't stay away


Hello,
Env: shows up in shell commands eg "info" but not in RMB/Open a Drawer/Volumes or in DiskMaster/Root
It shows also up in Gui4cli Directory listvieuws.

What causes this behaviour?

Joseph

Go to top


Re: Test for OS4 or OS3 program
Just can't stay away
Just can't stay away


@kas1e
@Lio
thanks for your help.
@Rigo

I just wanted to be sure of the type of files i was compiling with the OS4.1 SDK gcc
The errors i get thrown look all very puzzling to me, so i want to be sure of every step i take.

Joseph

Go to top


Test for OS4 or OS3 program
Just can't stay away
Just can't stay away


Hello,

How can i test from my program if some file is an OS3 or an OS4 executable?

Thanks

Joseph

Go to top


Re: OWB3.14
Just can't stay away
Just can't stay away


@j?rg

I am extremely happy with OWB, allready some time now.
One thing i miss is the ability to load a local htm file.
As i need to use this all the time i just wrote a small gui (in gui4cli) to add some go around (open a file requester, then save the result to clips:0 as file:///htmlfile2load.htm)
This works OK except when i have letters such as "?, ?, ...." etc in the name.
Pasting the URL in the URL textin gadget, then hitting return changes the "?" in some code (%EF%BF%BD) and the file is not found.
I don't see how i can get around this.

Can you help me?

thanks

Joseph

Go to top


Re: OWB 3.13
Just can't stay away
Just can't stay away


@orgin

Great indeed.

What about a fileresuester for viewing a local file?

Joseph

Go to top


Re: User Interface
Just can't stay away
Just can't stay away


@Rudei
You sure you didn't post anything?
A miracle just happened.
Next time i'll try to use a smiley. :))
Joseph

Go to top


Re: User Interface
Just can't stay away
Just can't stay away


@nbache
Indeed, that is what i was looking for.

Thanks

Joseph

Go to top


User Interface
Just can't stay away
Just can't stay away


Hello,

The user interface to this forum seems to be rather sophisticated, but some help page about its features would be helpfull.

Example: some days (maybe it is weeks now) i did put a question on a forum.

I was however unable to find the exact forum to check for any answers.


Joseph

Go to top



TopTop
« 1 ... 53 54 55 (56)




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project