作者SmallMaggot (小蛆)
看板C_and_CPP
标题Re: [问题] BC Linker Error
时间Tue May 12 15:58:22 2009
※ 引述《SmallMaggot (小蛆)》之铭言:
: ※ 引述《SmallMaggot (小蛆)》之铭言:
: : 目前要找到当时的开发环境,是没有办法的。
: : 写这个原始程式的人都已经不在了,也经过好几手了。
: : 不知道提到的动静态转换,是不是如下??
: : BC -> Options -> Make -> Generate Import Library
: : ()No
: : ()Use DLL file exports
: : ()Use DEF file exports
: 刚刚测试了一下,我写了简单的范例,发现主要是我的BC无法使用atof的function
: #include <math.h>
: #include <stdio.h>
: main()
: {
: float f;
: f = atof("1234.567");
: printf("Float = %f",f);
: }
: 执行Make时,就会出现
: Linker Error:Undefined symbol FIWRQQ / FIDRQQ / _atof in module xxx.cpp
最後重灌後,用BC31的初始设定值就可以用了,谢谢大家的帮忙。
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 59.120.55.214
1F:推 VictorTom:这种一行的回报用推文的就可以了喔:) 05/12 17:55