wlfsim.o error Mac OS X Lion

Compilation and installation of DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
Pramod
Posts: 27
Joined: Fri, 2007-09-07, 07:41

wlfsim.o error Mac OS X Lion

#1 Post by Pramod »

OS version : Mac OS X Lion 10.7.3
dcmtk version : 3.6.1_20110922

After ./configure and make, "wlfsim.o" error is generated. The version checking for Darwin has been removed in configure and configure.in.

In file included from wlfsim.cc:51:
../../ofstd/include/dcmtk/ofstd/ofoset.h:149:11: error: use of undeclared
identifier 'Resize'
Resize( this->size * 2 );
^
this->
wlfsim.cc:509:23: note: in instantiation of member function
'OFOrderedSet<OFString>::Insert' requested here
worklistFiles.Insert( subname );
^
../../ofstd/include/dcmtk/ofstd/ofset.h:165:18: note: must qualify identifier to
find this declaration in dependent base class
virtual void Resize( unsigned int newSize )
^
In file included from wlfsim.cc:51:
../../ofstd/include/dcmtk/ofstd/ofoset.h:192:13: error: use of undeclared
identifier 'Resize'
Resize( this->size * 2 );
^
this->
wlfsim.cc:185:26: note: in instantiation of member function
'OFOrderedSet<OFString>::InsertAt' requested here
OFOrderedSet<OFString> worklistFiles;
^
../../ofstd/include/dcmtk/ofstd/ofset.h:165:18: note: must qualify identifier to
find this declaration in dependent base class
virtual void Resize( unsigned int newSize )
^
2 errors generated.
make[2]: *** [wlfsim.o] Error 1
make[1]: *** [libsrc-all] Error 2

J. Riesmeier
DCMTK Developer
Posts: 2506
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: wlfsim.o error Mac OS X Lion

#2 Post by J. Riesmeier »

Please try again with the current DCMTK snapshot (20120515).

Here's the relevant commit: http://git.dcmtk.org/web?p=dcmtk.git;a= ... 33f868a258

Pramod
Posts: 27
Joined: Fri, 2007-09-07, 07:41

Re: wlfsim.o error Mac OS X Lion

#3 Post by Pramod »

Thank you for the reply and dcmtk is installed.

To quote again, we are using Xcode 4.3.2 and Mac OS X Lion 10.7.3, and compiled dcmtk using gnu make. We want to make a project using iOS SDK and Simulator, i.e., we want to compile a program using dcmtk libraries.

Can you give an idea what I should do next? (sudo make install is completed and all the files are available at /usr/local/bin).

J. Riesmeier
DCMTK Developer
Posts: 2506
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: wlfsim.o error Mac OS X Lion

#4 Post by J. Riesmeier »

Unfortunately, I cannot help you with the Apple-related stuff but in addition to "make install" you also need "make install-lib" (or use "make install-all" for both) - see INSTALL file for details:

Code: Select all

Step 3:
    make install

Step 3 will install the executables and some support files (data dictionary,
configuration and documentation files).  If you also wish to install the
libraries and include files then use "make install-lib".  For the HTML
documentation (see below) use "make install-html" (requires Doxygen to be
installed); "make install-all" installs all of the above.
In case the files should be installed in a temporary directory, e.g. in order
to create a distribution package, use "make install DESTDIR=<path>" to prepend
<path> to the installation directories specified for configure.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest