Can't compile new empty application after lazarus 4.0 installation on Win 64... lazarus / 3-General ---------------------------------------------------------------------- gelinp · 2025-06-07 14:08 Hi, I installed Lazarus 4.0 on Windows 64 then I created a new application and compile it without writing any code. So I've got compiling error below. I'm unsertanding that it is a problem with ressources compiling (an empty form)... Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i Compilation du projet, Cible : C:\Users\Patrick\Documents\DATABASES\test\project1.exe: Code de sortie 1, Erreurs : 2Error: Can't create file 'C:\Users\Patrick\Documents\DAT ABASES\test\lib\x86_64-win64\project1.obj'project1.lpr(27,1) Error: Error while compiling resources -> Compile with -vd for more details. Check for duplicates. So I can see in project options that Windows 32 LCL is checked and I'm compiling with FPC win 64 ... (See screenshot attached). I'm remember this is because LCL 64 bit doensn't exist yet (so an other question is do I need to use sqlite3.Dll file 32 Bit or 64 bit ?). I checked -dv compiler option but I can't see any other error informations. So what can I do ? Thanks for your helps. Patrick ---------------------------------------------------------------------- CharlyTango · 2025-06-07 14:22 this is just an assumption based on the error message: Error: Can't create file 'C:\Users\Patrick\Documents\DATABASES\test\li b\x86_64-win64\project1.obj' For some reason Lazarus cannot create the object file. This can have many reasons, but a very common one is that some permissions prevent it. in my opinion, this still has nothing to do with any dlls ---------------------------------------------------------------------- gelinp · 2025-06-07 15:46 Thank you for your response, I'm asking myself the same thing... But Lazarus created some files (see attachments). You can this objectfs files looks like .o and not .obj ! ---------------------------------------------------------------------- Martin_fr · 2025-06-07 19:08 The important line is   Error while compiling resources This indicates that some input file is broken (could be one of the LFM files, or a data module). Do what it says, compile with -vd. If then you do not see any useful info in the output => right click and copy => copy all/original messages Paste them in an editor and check them. They may contain the important error. This will be a lot of lines, the error you look for should be in the last 10 to max 50 lines. If you can't spot it, paste those lines here on the forum. ---------------------------------------------------------------------- Martin_fr · 2025-06-07 19:09 QuoteI checked -dv compiler option but I can't see any other error informations. So what can I do ? -vd Go to "Custom Options" ("opt personalizer") in the project options (where you had been looking). There is a memo, where you can type the -vd