Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2019-10

Incorrect IDE Messages error line

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Alexey Tor.

Compile Project, Mode: linux x64 qt5, Target:
builds/linux-x64-qt5/cudatext: Exit code 1, Errors: 3 Error: /home/user/lazarus/lcl/units/x86_64-linux/qt5/qtwidgets.o: In function `SETTEXTHINT':
Error: /home/user/lazarus/lcl/interfaces//qt5/qtwidgets.pas:10156: undefined reference to `QTextEdit_setPlaceholderText' cudatext.lpr(37,1) Error: Error while linking

See double // before 'qt5' in last file path?
IDE cannot jump to that file from Messages window.

./fpc
Free Pascal Compiler version 3.3.1-r43118 [2019/10/04] for x86_64

Regards, Alexey

Reply by email

Jonas Maebe
to Alexey Tor.
Alexey Tor. wrote 10 lines
Compile Project, Mode: linux x64 qt5, Target: builds/linux-x64-qt5/cudatext: Exit code 1, Errors: 3 Error: /home/user/lazarus/lcl/units/x86_64-linux/qt5/qtwidgets.o: In function `SETTEXTHINT': Error: /home/user/lazarus/lcl/interfaces//qt5/qtwidgets.pas:10156: undefined reference to `QTextEdit_setPlaceholderText' cudatext.lpr(37,1) Error: Error while linking See double // before 'qt5' in last file path? IDE cannot jump to that file from Messages window.

That error message is not printed by the compiler, but by the linker. That said, a double / is perfectly valid in a path (it's the same as a single /), so it should be fixed in Lazarus.

Jonas

Reply by email