I downloaded and ran:
lazarus-1.0.6-fpc-2.6.0-win32.exe
lazarus-1.0.6-fpc-2.6.0-cross-arm-wince-win32
Installed sqlite3laz 0.4 in line
Downloaded sqlite3.dll and sqlite3.def precompiled binaries for windows from http://www.sqlite.org/download.html
and copy them to c:\lazarus
I copied the lnet.0.6.5 to c:\lazarus\packager and open it via Lazarus menu Package|open package file(.lpk). I compile. Then open and compile lnetvisaul too(I don't know if it needed but...) I loaded a project for WinCe that I developed and is runnng under Lazarus 0.9.30 Press ctrl-F9 and after some seconds of compilation there was an error. Lazarus opens the Win32WSDialogs form and occurred the following error message: win32\win32wsdialogs.pp(0,0) Fatal: Can not find unit shlobj used by Win32WSDialogs. May someone here tell me what's wrong, please?
There is no other Lazarus versions on this machine. The Lazarus 0.9.30 runs in other computer. Code generation options: Target Os: WinCE Target CPU Family: arm Target processor: default Greetings from S?o Paulo - Brazil
Ricardo
I found the shlobj.ppu on the directory c:\lazarus\fpc\2.6.0\units\i386-Win32\winunits-base -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130312/09a69bd0/attachment.html>
Mailing lists / lazarus / 2013-03
Error on first compilation of a legacy WinCe project
10 messages · 4 people · –
- AAntonio Fortuny 4
- AArí Ricardo Ody 4
- FFelipe Monteiro de Carvalho 1
- MMattias Gaertner 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Le 12/03/2013 15:18, "Ar? Ricardo Ody" a ?crit :
Show quoted text 11 lines
Did you select the good target for the project ? As far as I can read the project is set for Win32 platform. Is tahat what you want ? Maybe the project has to compile on both platforms ? I compile very often for both platforms having some big projecys running on both platforms. But I need sometimes also some {$ifdef WINCE} to target the good windows api
Show quoted text 15 lines
Sorry but the text of my answer was mixed inside your text. I wonder if the unit mentioned is used only by Win32. Differences between Win32 and WinCE must be managed depending on the apis used. The shlobj.pp does exist only in win32 folder. You should check whether the functions and procedures used from that unit have equivalences in WinCE.
Antonio.
Send us a screenshot of your compiler options dialog for this project. You can upload it to imageshack.us and put a link to the image here. Show the place where the target OS and architecture are shown.
I think the widgetset is wrong, it should be wince.
win32<something> files are utilized only by win32, never by wince widgetset.
Send us a screenshot of your compiler options dialog for this project.
Or simply copy and paste the content of Project / Project Options / Show Options.
Show quoted text 6 lines
Mattias
Hi!
See the link:
http://www.adrive.com/public/GrfVrs/lazarus_project_options_as_you_ask_for.zip
It contains the snapshots you ask for.
Thanks in advance
Ricardo
Earlier message 10 lines
I think Felipe is right: project options --> build modes check the one with Wince as target
depending on IDE version (I use 1.1)
click on IDE macro values and change LCLWidgetType to WinCE or
on the build mode tab change LCLWidgetType to WinCE
Le 13/03/2013 02:04, "Ar? Ricardo Ody" a ?crit :
Show quoted text 27 lines
Hi Antonio
See in the link below the screens you mentined.
Looking fort these screensI don't understand what you explanation. LCLWidgetType???
Cheers
Ricardo
Earlier message 10 lines
Le 13/03/2013 17:14, "Ar? Ricardo Ody" a ?crit :
Show quoted text 7 lines
Look at screen "ide_build_modes_screen.jpg"
You have the IDE macro values part.
click on the (none) box (left hand side), a list shouls appear, select "LCLWidgetType"
On the right hand side, onto the same line, select wince thats it
In the list of active build modes you can add another build mode (win32 for instance) and, when selected, change all project options as desired. This time do not forget to change the LCLWidgetType accordingly Do not forget either that all project options are different from one build mode to another.
Show quoted text 23 lines
Congratulations!
You're right. My project for WinCe finally compiles ok. I can't test it exactly now, but it compiles. I have no reasons to suppose that it won't run ok.
I would like to ask another favour.
Can you prepare an organized list of what kind of customize list about what I must do to configure Lazarus in the way I can compile for WinCe or Win32.
You mentioned some stuff below but it's so difficult to me.
(IMHO my Lazarus environment is ready to compile for WinCe only. Is it?)
Can I count on your help, please?
BTW, thank you very much, Antonio
Cheers
Ricardo
