Re: [Mingw-w64-public] undefined reference to `opj_version'

2012-12-10 Thread Kyle Schwarz
On 12/10/2012 1:52 PM, Ruben Van Boxem wrote: > Are you using the binary package on their website? > > I just compiled openjpeg with both my x64 and x86 compilers and I get no > undefined references. Running "nm" on the produced libopenjp2.dll.a > gives me: > I __imp__opj_version@0 > 0

Re: [Mingw-w64-public] undefined reference to `opj_version'

2012-12-10 Thread Ruben Van Boxem
2012/12/10 Kyle Schwarz > I'm trying to compile an example program that uses openjpeg 2.0.0 and am > getting an undefined reference to `opj_version'. > > I'm using the latest MinGW-w64 svn along with gcc 4.7.2. > > The example program is: > extern int opj_version(); > int main(void){ opj_version(

[Mingw-w64-public] undefined reference to `opj_version'

2012-12-10 Thread Kyle Schwarz
I'm trying to compile an example program that uses openjpeg 2.0.0 and am getting an undefined reference to `opj_version'. I'm using the latest MinGW-w64 svn along with gcc 4.7.2. The example program is: extern int opj_version(); int main(void){ opj_version(); } I'm compiling it with: i686-w64-m