[lazarus] Need help getting started w/Lazarus Win32

Ken VanEseltine vaneselk at net-link.net
Sun Jul 7 13:29:57 EDT 2002


What are all the steps to installing Lazarus under Windows 2000?

My basic problem is that when I Build the default project that comes up, I
get a compiler message
  Can't compile unit COMCTRLS, no sources available

I'm new to the mailing list.  I'd been a TP6 and TPW user back when those
were current commercial products,  I thought I'd get back into some Pascal
Programming and Lazarus sure looks neat.  But mostly what I've found is a
lot of frustration.

What I've done is the following:

1.  Download and install Free Pascal into C:\pp

2.  Download and install Lazarus into C:\Lazarus

3.  Attempt to set Units search paths correctly (setting up the compiler
path is easy, but I find no documentation on what to do with the units
directories).

4.  Try to Build the default project that comes up.

To see what's going on, I've run the command from a command prompt:
cd C:\lazarus\bin\win32
c:\pp\bin\win32\ppc386.exe  -Rintel -TWin32 -S2cgi -Ch8000000 -Og1p1 -gl -XD
 -vewnhia -l -FuC:\lazarus\units\win32 -FuC:\lazsrc\lcl -FuC:\lazsrc\lcl\int
erfaces\win32
-FuC:\lazsrc\lcl -FiC:\lazsrc\lcl\include -oc:/temp\project1.exe
c:/temp\project1.lpr

I get many lines of output and then ...

Unitsearch: c:\lazarus\units\win32\comctrls.ppw
PPU Loading c:\lazarus\units\win32\comctrls.ppw
PPU Name: c:\lazarus\units\win32\comctrls.ppw
PPU Time: 2002/01/31 16:21:52
PPU Flags: 4240
PPU Crc: 148535172
PPU Crc: -648502143 (intfc)
PPU Check file c:\lazarus\units\win32\comctrls.ow time 2002/01/31 16:21:52
PPU Source: c:\lazsrc\lcl\comctrls.pp time 2002/05/29 02:03:38 *
PPU Source: c:\lazsrc\lcl\include\statusbar.inc found
PPU Source: c:\lazsrc\lcl\include\statuspanel.inc found
PPU Source: c:\lazsrc\lcl\include\statuspanels.inc found
PPU Source: c:\lazsrc\lcl\include\listitem.inc found
PPU Source: c:\lazsrc\lcl\include\listitems.inc found
PPU Source: c:\lazsrc\lcl\include\customlistview.inc found
PPU Source: c:\lazsrc\lcl\include\progressbar.inc found
PPU Source: c:\lazsrc\lcl\include\toolbutton.inc found
PPU Source: c:\lazsrc\lcl\include\toolbar.inc found
PPU Source: c:\lazsrc\lcl\include\trackbar.inc found
PPU Source: c:\lazsrc\lcl\include\treeview.inc found
PPU Source: viewcolumns.inc not found
PPU Source: viewcolumn.inc not found
win32int.pp(37,29) Fatal: Can't compile unit COMCTRLS, no sources available

A search for viewcol*.* finds no files on my system.

5.  Renamed C:\Lazarus to get it out of the way and downloaded the source
for Lazarus into C:\Lazarus

6.  I've run the following from a command prompt:

cd C:\lazarous
make

I get many lines of output and then ...

make -C interfaces all
make[2]: Entering directory `C:/lazarus/lcl/interfaces'
make -C win32 all
make[3]: Entering directory `C:/lazarus/lcl/interfaces/win32'
make -W interfaces.pp interfaces.ppw
make[4]: Entering directory `C:/lazarus/lcl/interfaces/win32'
C:/pp/bin/win32/ppc386.exe -gl -S2 -Sh -Fu../../units -Fuc:/pp/units/win32/r
tl -Fuc:/pp/units/win32/paszlib -Fuc:/pp/units/win32/fcl -Fuc:/pp/units/win3
2/mysql
-Fuc:/pp/units/win32/ibase -FU../../units/win32 -di386 interfaces.pp
Free Pascal Compiler version 1.0.6 [2002/04/23] for i386
Copyright (c) 1993-2002 by Florian Klaempfl
Target OS: Win32 for i386
Compiling interfaces.pp
interfacebase.pp(33,16) Fatal: Can't find unit LCLLINUX
make[4]: *** [interfaces.ppw] Error 1
make[4]: Leaving directory `C:/lazarus/lcl/interfaces/win32'
make[3]: *** [all] Error 2
make[3]: Leaving directory `C:/lazarus/lcl/interfaces/win32'
make[2]: *** [win32_all] Error 2
make[2]: Leaving directory `C:/lazarus/lcl/interfaces'
make[1]: *** [interfaces] Error 2
make[1]: Leaving directory `C:/lazarus/lcl'
make: *** [lcl] Error 2

This is very confusing.  LCLLINUX?

I definitely need help!

Thanks.

-- Ken






More information about the Lazarus mailing list