Forum > Options

ld.exe: cannot find -lc

(1/1)

magenta:
I had a project on Linux compiled properly. Porting to Windows, while trying to compile, I get error message "ld.exe: cannot find -lc" at final linking stage. I tried several things, for example checking all uses declarations for c lib requirements but had no luck.

Components used:
- TDBF
- TMainMenu
- TActionlist
- TDatasource
- TIPHtmlPanel

Any suggestion would be most appreciated.

felipemdc:
The declaration is probably: {$linklib c}

My first guess is that TIPHtmlPanel isnĀ“t prepared to work on Windows, since all other components work well on it. See if TIPHtmlPanel uses libc unit, or links to glibc.

Navigation

[0] Message Index

Go to full version