- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I am testing some projects from image-codecs sample package, I found the small program ijgtiming fails to work for 64-bit application.
(it works very well for a 32 -bit application )
The program will exit at the 38th line of the source code file jcapimin.c
if (structsize != SIZEOF(struct jpeg_compress_struct))
ERREXIT2(cinfo, JERR_BAD_STRUCT_SIZE,
(int) SIZEOF(struct jpeg_compress_struct), (int) structsize);
Please give me some hints how to fix this bug.
Tom
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
By the way, I am using IPP 7.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi tom,
can you share more details about this issue? it apperes when you useijgtiming builded with Maikefiles or through Visual Studio project?
by the way, try this fix in jconfig.h in line 30:
change
[bash]#ifdef WIN32[/bash]to
[bash]#if defined (WIN32) || defined (WIN64)[/bash]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tom,
Above suggestion is works for you?
Regards,
Naveen Gv

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page