You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using http://openjpeg.googlecode.com/svn/trunk/ so openjpegV1.5 revision 1324.
1) Have updated all #define with correct path to reflect file architecture
2) Add some declaration in proper .h file (cause declare in openjepg.h but defined
in other .c file such as opj_image_t* OPJ_CALLCONV opj_image_create(int numcmpts, opj_image_cmptparm_t
*cmptparms, OPJ_COLOR_SPACE clrspc); in image.c)
3) Have to comment OPJ_API before each function in .h file as it doesn't compile otherwise.
4) I also define opj_event_mgr_t* OPJ_CALLCONV opj_set_event_mgr(opj_common_ptr cinfo,
opj_event_mgr_t *event_mgr, void *context); in event.h
and add #include "../libopenjpeg/event.h" in convert.c (as the function is derecated
in openjpeg.h and not defined in openjpeg.c).
Then source's files compile.
When executing image_to_j2k -i c:\test.bmp -o c:\test.j2k
prog says that c:\test.j2k has been created but no file is on the drive.
I also tried with image_to_j2k -i c:\test.bmp -o test.j2k
prog says again that file has been created but not in the HDD.
The exact prog output is:
[INFO] tile number 1/1
[INFO] - tile encoded in 1.917922s
Generated outfile c:\test.j2k
Process returned 0 (0x0) execution time : 2.050 s
Thanks for your help.
Nic
Reported by nicolas.guerineau64 on 2012-01-17 12:32:48
The text was updated successfully, but these errors were encountered:
Nicolas,
it seems that no one can help you to solve this issue.
Issues 107 .. 109 show that you manually change files.
Thus it can not be reproduced what is going on.
The changes are your secret.
The usual way to compile (and install) OpenJPEG libs and
binaries is to either use the AUTOTOOLS or CMAKE.
As you use WINDOWS (32-bit? 64-bit?) you should use CMAKE.
In case you do not have it installed:
http://www.cmake.org/
winfried
Originally reported on Google Code with ID 109
Reported by
nicolas.guerineau64
on 2012-01-17 12:32:48The text was updated successfully, but these errors were encountered: