Forum > Options

ld.exe: cannot find -lc


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:
- TMainMenu
- TActionlist
- TDatasource
- TIPHtmlPanel

Any suggestion would be most appreciated.

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.


[0] Message Index

Go to full version