Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 1999-09

Newbie needing help

4 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Jeffrey A. Wormsley
Paul Pritchard wrote
I tried checking out the code from the CVS server but it asks me for a password. Since I don't know the password, I downloaded everything from

the

ftp server.

The cvs password for checkout is CVS. You should only have to do this once.

Show quoted text 6 lines
The compiler compiled fine. The fcl directory didn't compile. The classesh.inc file contains several procedures with parameters that appear to be reserved words (Size in TCustomMemoryStream.SetPointer; Root and MethodName in TReader.FindMethod and TReader.ReadRootComponent; and Root in TWriter.WriteDescendant). I renamed these hoping to keep going (and changed the corresponding

procedures

in reader.inc, writer.inc, etc.). After my modifications, fcl compiled.

I cycled the compiler and couldn't make the fcl either. I reverted to a 7/28 compiler and the LCL went ok. I still couldn't compile lazarus with it. Got an error like the following:

Compiling .\lcl\tabnotbk.pp
Linking .\lazarus.exe
E:\pp\source\rtl\win32\objpas.ow(.text+0x3c1):objpas.pp: undefined reference to
`FPC_RESOURCESTRINGTABLES'
E:\pp\source\rtl\win32\objpas.ow(.text+0x494):objpas.pp: undefined reference to
`FPC_RESOURCESTRINGTABLES'
E:\pp\source\rtl\win32\objpas.ow(.text+0x520):objpas.pp: undefined reference to
`FPC_RESOURCESTRINGTABLES'
E:\pp\source\rtl\win32\objpas.ow(.text+0x537):objpas.pp: undefined reference to
`FPC_RESOURCESTRINGTABLES'
E:\pp\source\rtl\win32\objpas.ow(.text+0x567):objpas.pp: undefined reference to
`FPC_RESOURCESTRINGTABLES'
E:\pp\source\rtl\win32\objpas.ow(.text+0x57e):objpas.pp: more undefined referenc
es to `FPC_RESOURCESTRINGTABLES' follow
Closing script .\ppas.bat
3061 Lines compiled, 7.4 sec

Show quoted text 5 lines
The lazarus directory didn't compile. I get an out of memory message when compiling lazarus.pp. The lazarus/lcl directory didn't compile. I get an error message: Compilation aborted gtkcallback.inc:184, runtime error 216 while compiling menus.pp.

I got this on LCL with the latest cycled compiler as well when compiling fcl.

I'm sure that I am doing something wrong. Any help would be appreciated.

Check the Win32 HowTo avaialable at :

http://www.miraclec.com/lazarus/how.html

It should at least get you going in the right direction. It may be a little out of date, as a new version of GTK is out since it was written, but the versions listed there will work. I'll update it when I get a chance.

One thing not covered there. If you are using the utilities supplied with FPC (especially make) then you will run into a command line length problem when compiling lazarus. Make a batch file in your path (or an equivalent CMD if on NT) like the following:

BIGMAKE.BAT

@echo off
make clean
make -n >junk.bat
call junk
del junk.bat

This will overcome the command line length problem.

Jeff.

Reply by email

Shane Miller

try RE-compiling lazarus again. No need to compile the lcl directory as it will get re-compiled as needed. Just compile lazarus.pp

------------------------------------------------------------ Shane Miller

Get paid to surf the net!
http://alladvantage.com/go.asp?refid=DEX-870

Home page : http://www.lakefield.net/~smiller

Auto-IP Publisher : http://www.lakefield.net/~smiller/autoip

Advanced Clipboard : http://www.lakefield.net/~smiller/advclipboard

Lazarus : http://www.miraclec.com/lazarus
----------------------------------------------------------

Earlier message 38 lines
-----Original Message----- From: Paul Pritchard To: Date: Monday, September 13, 1999 1:22 PM Subject: [lazarus] Newbie needing help >I'm new and trying to just compile Lazarus to take a 'm using >Windows. > >I tried checking out the code from the CVS server but it asks me for a >password. Since I don't know the password, I downloaded everything from the >ftp server. > >The compiler compiled fine. >The fcl directory didn't compile. The classesh.inc file contains several >procedures with parameters that appear to be reserved words (Size in >TCustomMemoryStream.SetPointer; Root and MethodName in TReader.FindMethod >and TReader.ReadRootComponent; and Root in TWriter.WriteDescendant). I >renamed these hoping to keep going (and changed the corresponding procedures >in reader.inc, writer.inc, etc.). After my modifications, fcl compiled. >The lazarus directory didn't compile. I get an out of memory message when >compiling lazarus.pp. >The lazarus/lcl directory didn't compile. I get an error message: >Compilation aborted gtkcallback.inc:184, runtime error 216 while compiling >menus.pp. > >I'm sure that I am doing something wrong. Any help would be appreciated. > >--Paul > >_________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus >

Reply by email

Peter Vreman
to Paul Pritchard: I'm new and trying to just compile Lazarus to take a 'm using Windows. I tried checking…
Show quoted text 6 lines
I'm new and trying to just compile Lazarus to take a 'm using Windows. I tried checking out the code from the CVS server but it asks me for a password. Since I don't know the password, I downloaded everything from the ftp server.

use login name 'cvs' and as password also 'cvs'

Show quoted text 7 lines
The compiler compiled fine. The fcl directory didn't compile. The classesh.inc file contains several procedures with parameters that appear to be reserved words (Size in TCustomMemoryStream.SetPointer; Root and MethodName in TReader.FindMethod and TReader.ReadRootComponent; and Root in TWriter.WriteDescendant). I renamed these hoping to keep going (and changed the corresponding procedures in reader.inc, writer.inc, etc.). After my modifications, fcl compiled.

Already fixed in CVS

The lazarus directory didn't compile. I get an out of memory message when compiling lazarus.pp.

Try compiling with -vl to see how many memory is used.

The lazarus/lcl directory didn't compile. I get an error message: Compilation aborted gtkcallback.inc:184, runtime error 216 while compiling menus.pp.

Don't know it, here it compiles fine with the latest compiler.

Peter

Reply by email

Paul Pritchard

I'm new and trying to just compile Lazarus to take a 'm using Windows.

I tried checking out the code from the CVS server but it asks me for a password. Since I don't know the password, I downloaded everything from the ftp server.

The compiler compiled fine.
The fcl directory didn't compile. The classesh.inc file contains several procedures with parameters that appear to be reserved words (Size in TCustomMemoryStream.SetPointer; Root and MethodName in TReader.FindMethod and TReader.ReadRootComponent; and Root in TWriter.WriteDescendant). I renamed these hoping to keep going (and changed the corresponding procedures in reader.inc, writer.inc, etc.). After my modifications, fcl compiled. The lazarus directory didn't compile. I get an out of memory message when compiling lazarus.pp.
The lazarus/lcl directory didn't compile. I get an error message: Compilation aborted gtkcallback.inc:184, runtime error 216 while compiling menus.pp.

I'm sure that I am doing something wrong. Any help would be appreciated.

--Paul

Reply by email