Re: [osg-users] Problems building Plugins dicom - RESOLVED

2009-09-21 Thread Jason Jerald
Dicom plugin tested and working on windows vista 64 bit with no modifications required--Thanks for the fix! Jason Robert Osfield wrote: Hi J-S, On Sat, Sep 19, 2009 at 12:30 PM, Jean-Sébastien Guay > wrote: Sorry, I copy-pasted that from anothe

Re: [osg-users] Problems building Plugins dicom - RESOLVED

2009-09-20 Thread Robert Osfield
Hi J-S, On Sat, Sep 19, 2009 at 12:30 PM, Jean-Sébastien Guay < jean-sebastien.g...@cm-labs.com> wrote: > Sorry, I copy-pasted that from another CMakeLists.txt and forgot to change > the lib name, the dicom plugin needs wsock32.lib not Ws2_32.lib... > Oopps :-) Now fixed! Robert. _

Re: [osg-users] Problems building Plugins dicom - RESOLVED

2009-09-19 Thread Jean-Sébastien Guay
Hi Robert, I've just added this to src/osgPlugins/dicom/CMakeLists.txt and checked it into svn/trunk, let me know if it works fine or not, Sorry, I copy-pasted that from another CMakeLists.txt and forgot to change the lib name, the dicom plugin needs wsock32.lib not Ws2_32.lib... And Jason

Re: [osg-users] Problems building Plugins dicom - RESOLVED

2009-09-19 Thread Robert Osfield
Hi Jason and J-S, On Sat, Sep 19, 2009 at 2:30 AM, Jean-Sébastien Guay < jean-sebastien.g...@cm-labs.com>You could add something like this to the src/osgPlugins/dicom/CMakeLists.txt: > > IF (WIN32) >SET(TARGET_EXTERNAL_LIBRARIES >Ws2_32.lib) > ENDIF() > I've just added this to src/o

Re: [osg-users] Problems building Plugins dicom - RESOLVED

2009-09-18 Thread Jean-Sébastien Guay
Hi Jason, The only changes I had to do were 1. add wsock32.lib to the Plugins dicom project You could add something like this to the src/osgPlugins/dicom/CMakeLists.txt: IF (WIN32) SET(TARGET_EXTERNAL_LIBRARIES Ws2_32.lib) ENDIF() Then regenerate the build files and the librar

Re: [osg-users] Problems building Plugins dicom - RESOLVED

2009-09-18 Thread Jason Jerald
I built the svn trunk and that seemed to solve the issues on windows I previously described. The only changes I had to do were 1. add wsock32.lib to the Plugins dicom project 2. turn off BUILD_OSG_WRAPPERS in cmake, otherwise there was an error in osganimation (as described in a forum post).

Re: [osg-users] Problems building Plugins dicom - RESOLVED

2009-09-18 Thread Robert Osfield
Hi Jason, On Thu, Sep 17, 2009 at 11:38 PM, Jason Jerald wrote: > We are currently using OSG 2.8.2. I see the problem with "#define > HAVE_CONFIG_H" was fixed in the svn/trunk. > It looks like the dicom plugin wasn't tested under Windows out prior to the 2.8.2 and other release, so without fe

Re: [osg-users] Problems building Plugins dicom - RESOLVED

2009-09-17 Thread Jason Jerald
We are currently using OSG 2.8.2. I see the problem with "#define HAVE_CONFIG_H" was fixed in the svn/trunk. We may try building the svn/trunk soon for testing. Although we will want to use the latest stable/official release for anything other than testing because our projects will be requi

Re: [osg-users] Problems building Plugins dicom - RESOLVED

2009-09-11 Thread Robert Osfield
Hi Jason, On Thu, Sep 10, 2009 at 7:50 PM, Jason Jerald wrote: > One more thing in case anyone else tries to build Plugins dicom on Windows > Vista (and likely other versions of Windows): > > We commented out the following line in ReaderWriterDICOM.cpp > #define HAVE_CONFIG_H > otherwise "osconfi

Re: [osg-users] Problems building Plugins dicom - RESOLVED

2009-09-11 Thread Robert Osfield
Hi Jason, On Thu, Sep 10, 2009 at 7:45 PM, Jason Jerald wrote: > > Thanks for the reply Robert. I guess CMakeLists.txt overrides anything set > within the CMake GUI. No, CMakeLists.txt provides the defaults that are written to the CMakeCache.txt, then ccmake/or the CMake gui override this set

Re: [osg-users] Problems building Plugins dicom - RESOLVED

2009-09-10 Thread Jason Jerald
One more thing in case anyone else tries to build Plugins dicom on Windows Vista (and likely other versions of Windows): We commented out the following line in ReaderWriterDICOM.cpp #define HAVE_CONFIG_H otherwise "osconfig.h" tries to include "cfunix.h" on windows machines Jason Jason Jerald

Re: [osg-users] Problems building Plugins dicom - RESOLVED

2009-09-10 Thread Jason Jerald
Thanks for the reply Robert. I guess CMakeLists.txt overrides anything set within the CMake GUI. Another developer that I work with tried to do the same thing on a different machine and ran into the identical issue so I do not believe it was some missing setup step (unless we happened to mi

Re: [osg-users] Problems building Plugins dicom - RESOLVED

2009-09-10 Thread Robert Osfield
Hi Jason, I'm not a Windows developer so have had to sit on the sidelines on helping out with this one as I don't have the expertise to dive in, good to hear you've resolve problem, hopefully this help others. W.r.t CMake GUI not updating the CMakeLists.txt, this is normal and correct, when you r

Re: [osg-users] Problems building Plugins dicom - RESOLVED

2009-09-09 Thread Jason Jerald
For some reason the CMake GUI was not updating DCMTK CMakeLists.txt. I.e., /MT was being used instead of /MD as defined in the CMake GUI. Manually changing from /MT to /MD in CMakeLists.txt has resolved the issue and everything is working now. Jason CMake was not changing my settings