Closed GoogleCodeExporter closed 9 years ago
Hi,
It seems that this kind of problem might be due to VS2008 and not openjpeg :
http://social.msdn.microsoft.com/Forums/en/vclanguage/thread/9abfefe0-56bd-4a82-
ae14-b08f262972bd
Could you give it a another try after having installed SP1 ?
A
Original comment by antonin
on 28 Feb 2011 at 10:19
Thanks for your answer. I've installed the sp1 without any success, however I
solved the problem removing the libs directory. Maybe some of the libraries are
compiled with the /GL switch to optimize the code, that makes these libraries
incompatible with other versions of the compiler.
The second issue. I understand that the static library it's only a wrapper for
the dll (that's why it's so small) Is there a way to build a completely static
library like the one provided by yours binary package?
Original comment by leonardo...@gmail.com
on 2 Mar 2011 at 8:47
Hi Leonardo,
Thanks for having pointed this out. The libs directory is in the process of
being entirely replaced by the source code of the 3rd party libraries, instead
of binaries. This should fix the issue.
Concerning the static building, this is an option you have to specify when
using cmake:
cmake -DBUILD_SHARED_LIBS:bool=off
This should build the static version of libopenjpeg.
Cheers,
Antonin
Original comment by antonin
on 2 Mar 2011 at 8:59
Original comment by antonin
on 4 Mar 2011 at 11:31
Original issue reported on code.google.com by
leonardo...@gmail.com
on 28 Feb 2011 at 9:55Attachments: