The following modules are providing their own int main() for testing. These functions are interfering with my own unit tests (via Boost). Environment: IM 6.9.2-0, static link, MSVC 14, Windows.
- OpenJPEG / t1_generate_luts.c
- libPNG / pngtest.c
Excluding these files from the respective projects and then rebuilding solves the issue. IM may want to remove these files from their respective projects so that IM can be built/used successfully.
Thanks!
Module tests providing int main()
Re: Module tests providing int main()
Those files should be excluded and I just pushed a patch to our GIT repository to fix this. These files will no longer be included in the next release of ImageMagick. Thank you for reporting this issue.
Who is online
Users browsing this forum: No registered users and 17 guests