IDE - Build Errors window lazarus / 11-Options ---------------------------------------------------------------------- mars · 2016-04-08 21:46 Under version 1.4.0 with fpc 2.6.4 (Win32), I developed programs in directories with long names and accented letters (e.g .: C:\Raízes de Funções). Under version 1.6.0 with fpc 3.0.0, this is no longer possible, when using the compiler messages window. In the message window, are listed Errors, Warnings and Hints, and clicking the line of the message, to find the line of the program, appears the information: File "C:\RaÝzes de Funþ§es\Unit1.pas was not found." Example. In the message window the directory is correctly displayed C:\Raízes de Funções\Unit1.pas (620,46) Hint: Local variable "CellRow" does not seem to be initialized. When I select the line with the message, appears the information: File "C:\RaÝzes de Funþ§es\Unit1.pas" not found. Accented letters are displayed incorrectly and I don't know where change the setting for this works properly as in previous version. Thank in advance. ---------------------------------------------------------------------- JuhaManninen · 2016-04-08 21:53 Does the project compile and run OK? The problem comes only when clicking a hint/warning in messages window? ---------------------------------------------------------------------- mars · 2016-04-08 22:03 Yes, compiles and runs correctly. The message window displays errors, warnings and hints correctly. The problem is just not access the program line by clicking the message line, because to find the line, some of Lazarus routine uses another letter code and can not find the directory and, therefore, does not find the file present and visible in the code editor. ---------------------------------------------------------------------- mars · 2016-04-09 00:51 Does anyone knows where is the source code of the IDE Messages Window? I think the error (or mistake) is in this program. Something like code page or switch between UTF and ANSI. I would like to see the program and try a solution, even if it seems Klingon language to me. :-) ---------------------------------------------------------------------- JuhaManninen · 2016-04-09 10:28 Quote from: mars on April 09, 2016, 02:51:21 amDoes anyone knows where is the source code of the IDE Messages Window? The relevant code is in etMessageFrame, etMessageWnd and IDEExternToolIntf (class TMessageLine). TMainIDE.DoJumpToCompilerMessage (unit Main) is a call-back method and a good place to debug. QuoteI think the error (or mistake) is in this program. Something like code page or switch between UTF and ANSI. I think so, too. I don't have Windows now and on Linux everything works. I debugged a little but did not spot the potentially quilty conversion. It happens before TMainIDE.DoJumpToCompilerMessage. You can debug the IDE by opening lazarus.lpi and pressing F9. The IDE must be compiled with debug info obviously. It should work on Windows, too, although people have reported problems with GDB there. Good luck! QuoteI would like to see the program and try a solution, even if it seems Klingon language to me. :-) It is Object Pascal, not Klingon. Easy and fun. ---------------------------------------------------------------------- mattias · 2016-04-09 11:19 It works here. What FPC version was used to compile the IDE? See View / IDE Internals / About IDE. ---------------------------------------------------------------------- Ondrej Pokorny · 2016-04-09 14:20 Interesting, I cannot even compile a project in non-ASCII folder. I get this error in the message window: Error: Can't create object file: {path-to- project}\lib\i386-win32\Default\fpttfencodings.o (error code: 3) Please note that {path-to-project} is wrong (some non-ASCII characters are lost): řeříchäß => reríchäß Lazarus trunk, FPC trunk ---------------------------------------------------------------------- Mike.Cornflake · 2016-04-10 13:05 Has anyone raised anything in Mantis over this?  I've had a look, but not seeing anything obvious, or at least, not anything new... ---------------------------------------------------------------------- mars · 2016-04-12 05:51 I'm seen just now the answers for which I thank and if I get a solution, I will inform. [JuhaManninen] I'll try to use debug. Thank you. [Mattias] The informations are: Lazarus version: 1.6 Lazarus svn revision: 51630 Lazarus build date: 2016/02/14 Lazarus was compiled for i386-win32 Lazarus was compiled with fpc 3.0.0 [Ondrejpokorny] I use Windows Brazilian-Portuguese and in the previous version (Lazarus 1.4.0 with fpc 2.6.4 (Win32) I always used names with accented letters and everything worked properly. ---------------------------------------------------------------------- mars · 2016-05-31 04:13 It would be interesting that the authors of the program module in question had given a solution. Whereas no solution to the above problem, I give up. Sorry for the inconvenience. ---------------------------------------------------------------------- Ondrej Pokorny · 2016-05-31 08:35 I cannot reproduce Try to debug the IDE. Just open Lazarus.pp as a project and hit F9. Be sure that you build Lazarus with debug info before you run&debug it.