Lazarus
Using the Lazarus IDE => General => Topic started by: minko on January 08, 2021, 06:43:43 pm
-
I think i have problem with two slashes before usr. Does anybody know how to fix it?
Debug: //usr/lib/lazarus/2.0.0/components/lazutils/lib/arm-linux/avglvltree.o: file not recognized: file format not recognized
homeaut.lpr(23,0) Error: Error while linking
Thank You
Raspi B+ OS-Buster, Lazarus 2.0.0, FPC 3.0.4
-
Just as a placeholder since nobody else has said anything useful yet: what exactly were you doing to get that?
By and large the major Linux utilities are fairly tolerant of // in paths, but there's a possibility that there's something in the toolchain that assumes that it identifies a machine name (i.e. like its usage in URLs). Or something :-)
MarkMLl
-
It is a program/application with thermal sensors. As a program (no GUI) it works fine. but as a GUI app it stops with error.
I tried brand new empty project-application and the same.
-
OK, but that looks like a compilation error. What exactly were you doing at the time? Can you duplicate it with a project you are prepared to upload?
MarkMLl
-
I'm talking about a new empty project now. In the original project, I added LazUtils because of the fileutil in the project inspector. Unfortunately, I am at work now and I cannot reproduce every step, but I will continue tomorrow. Thank you.
-
I'm not particularly well set up for doing stuff on an RPi right now, although I've used them heavily in the past. But obviously I'm not the only person watching this thread.
MarkMLl
-
Hi
Why not just make a function, that scans for double //
and then replace them with a single / ?!?
Then just run your path through that...
Just a thought.
Regards benny
-
I apologize for the delay. I tried reinstalling lazarus but due to broken packages in Buster I was forced to reinstall OS and newly install Lazarus. At present I have no problems to run my app - so i can't reproduce previous problem.
Many Thanks to everybody :-X