-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dutf8.c:(.text+0x8): undefined reference to `_imp__nc_utf8proc_iterate' #404
Comments
Interesting, I did not realize that ffmpeg had netcdf support. |
Last week FFmpeg has stopped using netCDF-C in favour of libmysofa. This issue has become superfluous as there's no need to solve it anymore, so I'm closing it now. |
I did some searching and found this:
|
This is a follow-on in that the old utf8 code was still being used in ncgen to convert utf8->utf16 when converting cdl to Java (see genj.c). The new code apparently has no utf16 support, but it does have utf32 support. Converting utf32 -> utf16 can be approximated by truncating the 32bits to 16 bits, unless the top 16 bits are not zero. This latter condition is unlikely to be common because it implies use of some rather obscure characters. So solution is to convert to utf32 and truncate to 16 bits to get utf16. An error is reported if the high-order truncated 16 bits are not zero. If we get complaints, then I will figure out how to convert full utf32 to a utf16 pair. Other changes: 1. removed the old code from ncgen. 2. changed UTF8PROC_DLLEXPORT (in utf8proc) to EXTERNL and added appropriate includes. This should fix issue #404, but since we cannot duplicate the failure, I am not quite sure.
This may have been fixed by pull request #430. |
I've just tried to compile FFmpeg (https://github.com/FFmpeg/FFmpeg/tree/a32a6b4201dca46c54247194bd5249dfb7c64874, a version that still uses netCDF-C) with the latest netCDF-C version from git. Result; the same error-message:
|
Then I have no fix and no idea why it fails. It works for my Visual Studio. Sorry. |
configure
) (gcc 4.9.4)C
code to recreate the issue?I'm using Roger's "ffmpeg-windows-build-helpers"-script to cross-compile FFMpeg with netCDF, but with an updated "build_netcdf"-function:
As you can see; v4.4.1.1 instead of v4.4.1. NetCDF is built without errors, as well as FFMpeg in the end.
When I however start using your Git-repository, then netCDF still builds without errors, but FFMpeg terminates with a fatal error:
I've done quite some searching for
_imp__nc_utf8proc_iterate
and if it's perhaps some library I'm missing, but Google returns practically nothing.I have practically no experience with coding in C/C++, but in
libdispatch/dutf8.c
I can seenc_utf8proc_iterate
being used, which (if I'm correct) is defined inlibdispatch/utf8proc.h
, so shouldn't it work?Is this is real bug, or am I missing something?
'netcdf-c_git_lib-only.diff':
The text was updated successfully, but these errors were encountered: