Convert a unit from Delphi to Lazarus lazarus / 9-Editor ---------------------------------------------------------------------- Guest · 2006-04-11 19:25 Hi Friends. I testing Lazarus... Nice Program  :lol: And , if try convert a unit delphi to Lazarus, it show a Dialog .... the path of unit is not correct . (approximately...) How set the path in the project? Thanks in advance. Sorry for my very bad English.  :oops: ---------------------------------------------------------------------- matthijs · 2006-04-12 06:07 Could you post the exact error message in English please? With the information you give, it is hard for us to tackle your problem. ---------------------------------------------------------------------- Anonymous · 2006-04-12 17:15 Quote from: "matthijs"Could you post the exact error message in English please? With the information you give, it is hard for us to tackle your problem. Yes I Try it. Translation of Spanish to English Dialog box say.. Prompt for beginners The current path of unit to the file "G:\Lazarus\Projects\Main.pas" is "". The Path of units LCL "G:\Lazarus\lcl\Units\$(Target)....." not found Thanks in advance. ---------------------------------------------------------------------- barko · 2006-04-12 20:51 Do this from menu: Project -> Compiler Options In dialog set path in "Other Unit Files" to "G:\Lazarus\Projects". Press OK and try to compile now. ---------------------------------------------------------------------- delphicomplex · 2006-11-16 00:04 I DL the windows binaries and installed them onto my winxp machine...fired up Lazarus ver#: 0.9.20 beta Date: 11/5/2006 SVN Revision: 10176 similar situation attempting to convert a simple hello world delphi unit made in delphi 2005 to lazarus unit using the convert tool I get a LCL unit path missing message: The current unit path for the file "C:\Work\project\Copy of hello world\colorUnit.pas" is "". The path to the LCL units "c:\lazarus\lcl\units\$(TargetCPU)-$(TargetOS)" is missing. Hint for newbies: * can't read what it says since the skip button & abort button cover this up* Tried the above compiler option posted above In dialog set path in "Other Unit Files" to "C:\Work\project\Copy of hello world". Any help would be greatly appreciated ---------------------------------------------------------------------- bmt · 2006-11-16 10:30 I tried to convert a Delphi7 program to Lazarus 0.9.20/WinXP with the convert tool in IDE. After correcting some differences between DP and Lazarus in the codes, I run it but it gave always error "External: SIGSEGV". I didn't know any solution. I decided to start new project and redesign all forms in Lazarus, then copy the DP7-codes into Lazarus-units, change some codes. It works OK ! Ofcourse I missed some features of DP7 in Lazarus. I hope Lazarus getting better in future. ---------------------------------------------------------------------- delphicomplex · 2006-11-16 16:40 thanx bmt for your reply I just wanted to test a simple hello world program that I created in Delphi 2005.  I was curious on how Lazarus would handle a simple program conversion before I attempted to convert my much larger application to Lazarus :shock: ---------------------------------------------------------------------- RudieD · 2006-11-16 19:25 I think the problem might be with the spaces in your path ? ---------------------------------------------------------------------- delphicomplex · 2006-11-21 00:38 i read some where in that spaces in paths are no longer an issue...for the life of me i can't find that information again seach feature :evil: any more suggestions? ---------------------------------------------------------------------- cov · 2008-11-25 09:56 It's not the spaces. I'm trying to convert the TDBf demo program from Delphi and am getting a similar error on Ubuntu (8.10). Code: [Select]The current unit path for the file: "/home/dave/Projects/demo/Calc.pas" is "". The path to LCL Units "/usr/lib/lazarus/lcl/units$(TargetCPU)-$(TargetOS)" is missing. Hint for newbies: Create a Lazarus application and put the file into the project directory ---------------------------------------------------------------------- Leledumbo · 2008-11-26 02:25 Just follow the hint, it often worked for me.