作者SmallMaggot (小蛆)
看板C_and_CPP
标题Re: [问题] BC Linker Error
时间Tue May 12 14:13:22 2009
※ 引述《SmallMaggot (小蛆)》之铭言:
: ※ 引述《SmallMaggot (小蛆)》之铭言:
: : 今天在Compile古人的程式时,发生了以下的错误;
: : Linking xxx.exe
: : Linker Error:Undefined symbol FIWRQQ in module xxx.c
: : Linker Error:Undefined symbol FIDRQQ in module xxx.c
: : Linker Error:Undefined symbol N_FTOL@ in module xxx.c
: : Linker Error:Undefined symbol _atof in module xxx.c
: : 不知道有没有人遇过相同的问题,可以帮我解答吗??
: 目前要找到当时的开发环境,是没有办法的。
: 写这个原始程式的人都已经不在了,也经过好几手了。
: 不知道提到的动静态转换,是不是如下??
: 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
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 59.120.55.214
1F:推 LPH66:我倾向你的BC没装好.... 05/12 14:32