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
What steps will reproduce the problem?
1. Checkout branch v2
2. Open DllOpenJPEG.sln in Visual Studio 2005.
3. Build Debug and Release configurations.
What is the expected output? What do you see instead?
- Expected: libraries compile without error.
- Actual: multiple errors reported (details at the bottom).
What version of the product are you using? On what operating system?
- Clean checkout from http://openjpeg.googlecode.com/svn/branches/v2
- Windows 7 Pro
Please provide any additional information below.
- Patch includes:
+ Corrected missing source code files in DllOpenJPEG.vcproj
+ Corrected missing OPJ_CALLCONV macro on some function definitions in cio.c and openjpeg.c
- Before applying the patch the following errors were reported:
1>openjpeg.c
1>.\libopenjpeg\openjpeg.c(377) : error C2373: 'opj_write_tile' : redefinition;
different type modifiers
1> c:\source\openjpeg\v2\libopenjpeg\openjpeg.h(842) : see declaration
of 'opj_write_tile'
1>.\libopenjpeg\openjpeg.c(425) : error C2373: 'opj_read_tile_header' :
redefinition; different type modifiers
1> c:\source\openjpeg\v2\libopenjpeg\openjpeg.h(871) : see declaration
of 'opj_read_tile_header'
1>.\libopenjpeg\openjpeg.c(470) : error C2373: 'opj_decode_tile_data' :
redefinition; different type modifiers
1> c:\source\openjpeg\v2\libopenjpeg\openjpeg.h(896) : see declaration
of 'opj_decode_tile_data'
1>.\libopenjpeg\openjpeg.c(540) : error C2373: 'opj_set_decode_area' :
redefinition; different type modifiers
1> c:\source\openjpeg\v2\libopenjpeg\openjpeg.h(915) : see declaration
of 'opj_set_decode_area'
1>.\libopenjpeg\openjpeg.c(870) : error C2373: 'opj_set_MCT' : redefinition;
different type modifiers
1> c:\source\openjpeg\v2\libopenjpeg\openjpeg.h(978) : see declaration
of 'opj_set_MCT'
1>cio.c
1>.\libopenjpeg\cio.c(228) : error C2373: 'opj_stream_create' : redefinition;
different type modifiers
1> c:\source\openjpeg\v2\libopenjpeg\openjpeg.h(721) : see declaration
of 'opj_stream_create'
1>.\libopenjpeg\cio.c(272) : error C2373: 'opj_stream_default_create' :
redefinition; different type modifiers
1> c:\source\openjpeg\v2\libopenjpeg\openjpeg.h(720) : see declaration
of 'opj_stream_default_create'
After correcting the compiler errors the linker reporting missing symbols for
the source files that have been added to DllOpenJPEG.vcproj.
1> Creating library .\Release/OpenJPEG.lib and object .\Release/OpenJPEG.exp
1>j2k.obj : error LNK2019: unresolved external symbol
_opj_procedure_list_destroy referenced in function _j2k_destroy
1>jp2.obj : error LNK2001: unresolved external symbol
_opj_procedure_list_destroy
1>j2k.obj : error LNK2019: unresolved external symbol _opj_procedure_list_clear
referenced in function _j2k_exec
1>jp2.obj : error LNK2001: unresolved external symbol _opj_procedure_list_clear
1>j2k.obj : error LNK2019: unresolved external symbol
_opj_procedure_list_get_first_procedure referenced in function _j2k_exec
1>jp2.obj : error LNK2001: unresolved external symbol
_opj_procedure_list_get_first_procedure
1>j2k.obj : error LNK2019: unresolved external symbol
_opj_procedure_list_get_nb_procedures referenced in function _j2k_exec
1>jp2.obj : error LNK2001: unresolved external symbol
_opj_procedure_list_get_nb_procedures
1>j2k.obj : error LNK2019: unresolved external symbol
_opj_procedure_list_create referenced in function _j2k_create_decompress
1>jp2.obj : error LNK2001: unresolved external symbol _opj_procedure_list_create
1>j2k.obj : error LNK2019: unresolved external symbol
_opj_procedure_list_add_procedure referenced in function
_j2k_setup_header_reading
1>jp2.obj : error LNK2001: unresolved external symbol
_opj_procedure_list_add_procedure
1>tcd.obj : error LNK2019: unresolved external symbol __ProfStop referenced in
function _tcd_encode_tile
1>tcd.obj : error LNK2019: unresolved external symbol __ProfStart referenced in
function _tcd_encode_tile
1>Release/OpenJPEG.dll : fatal error LNK1120: 8 unresolved externals
Original issue reported on code.google.com by Sheet.Sp...@gmail.com on 22 Sep 2010 at 2:42
Original issue reported on code.google.com by
Sheet.Sp...@gmail.com
on 22 Sep 2010 at 2:42Attachments:
The text was updated successfully, but these errors were encountered: