Win64 linker error
Original Reporter info from Mantis: Andru
-
Reporter name:
Original Reporter info from Mantis: Andru
- Reporter name:
Description:
FreePascal 2.5.1 svn r17989 cannot compile correctly ZenGL library. All works fine with 2.4.4 and "old" version 2.5.1(march 2011).
ZenGL uses static linking with libogg and some other libraries, and they needed to use function pow, which is placed in msvcrt.dll. I have defined it as:
function pow( x : cdouble ) : cdouble; cdecl; external 'msvcrt.dll';
but on linking stage FreePascal shows:
ZenGL.pas(443,1) Error: Undefined symbol: pow
Source code of ZenGL can be grabbed from here:
http://zengl.googlecode.com/svn/trunk/
Mantis conversion info:
- Mantis ID: 19752
- OS: Windows
- Build: svn revision 17989
- Platform: x86_64
- Version: 2.5.1
- Monitored by: » Andru (Andru)