|
chartdir51.lib: error adding symbols: File format not recognized |
Posted by redblue on Dec-19-2016 01:00 |
|
Hi,
I am trying to update our windows application (C++) to be 64bit, but we're getting this error when building with ming64. We also tried chartdir60 and it had the same error. 32bit code works fine. The compiler we are using:
gcc version 4.9.2 (x86_64-posix-sjlj, built by strawberryperl.com project)
Thoughts,
Regards, |
Re: chartdir51.lib: error adding symbols: File format not recognized |
Posted by Peter Kwan on Dec-19-2016 21:20 |
|
Hi redblue,
A few months ago, a user posted a method in this forum to solve an issue of using ChartDirector for C++ 64-bit with TDM gcc. Basically, the user ignores the chartdir51.lib. Instead, he uses "gendef.exe" and "dlltool.exe" (apparently they are tools that come with gcc on Windows) to generate a "libchartdir51.a" from "chartdir51.dll". See:
http://www.chartdir.com/forum/download_thread.php?site=chartdir&bn=chartdir_support&thread=1417071681#N1462578941
Please kindly let me know if the above can solve the problem with your version of gcc.
Regards
Peter Kwan |
|