Eclipse Indigo CDT: Function could not be resolved

前端 未结 5 1396
渐次进展
渐次进展 2021-02-05 06:26

This feels silly, but its been 2 days...somewhere after upgrading from Ubuntu 10.04 to 10.11 and from Eclipse Helios to Eclipse Indigo, I got stuck with the following problem:

5条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-05 07:04

    You are missing -lm option in your build preferences. Project->Properties->Settings->Miscleanous->Other (linker) flags[]

提交回复
热议问题