vinayvenu / orthanc

Automatically exported from code.google.com/p/orthanc
GNU General Public License v3.0
1 stars 3 forks source link

fails to make at 97% with not a member error #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.make release build

What is the expected output? What do you see instead?
it ends at 97 percent with 

 97%] Building CXX object CMakeFiles/ServerLibrary.dir/OrthancServer/DicomProtocol/DicomServer.cpp.o
/media/Disk3/Orthanc/OrthancServer/DicomProtocol/DicomServer.cpp: In static 
member function ‘static void 
Orthanc::DicomServer::ServerThread(Orthanc::DicomServer*)’:
/media/Disk3/Orthanc/OrthancServer/DicomProtocol/DicomServer.cpp:91: error: 
‘DICTIONARY_DICOM’ is not a member of ‘Orthanc::EmbeddedResources’
/media/Disk3/Orthanc/OrthancServer/DicomProtocol/DicomServer.cpp:92: error: 
‘DICTIONARY_PRIVATE’ is not a member of ‘Orthanc::EmbeddedResources’
make[2]: *** 
[CMakeFiles/ServerLibrary.dir/OrthancServer/DicomProtocol/DicomServer.cpp.o] 
Error 1
make[1]: *** [CMakeFiles/ServerLibrary.dir/all] Error 2
make: *** [all] Error 2

What version of the product are you using? On what operating system?
latest
rhel 6

Please provide any additional information below.

Original issue reported on code.google.com by rico....@gmail.com on 15 Mar 2013 at 8:29

GoogleCodeExporter commented 9 years ago
Hello,
Thanks for your feedback. This is a known problem that has been fixed since the 
release of Orthanc 0.5.0. There is a patch inside the still-to-be-approved 
Fedora package:

Spec URL: http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/Fedora/orthanc.spec
SRPM URL: 
http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/Fedora/orthanc-0.4.0-5.fc17.src
.rpm
https://bugzilla.redhat.com/show_bug.cgi?id=888301

You can also try and compile the cutting-edge version from Mercurial.

I hope to release soon Orthanc 0.5.1, that will include this patch as well as 
support for color DICOM images.

Original comment by s.jodo...@gmail.com on 15 Mar 2013 at 8:37

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
i tried the mercurial version and i got an error stating that i needed a 
libgoog-glog-dev package.  i didnt get that error last time.  did i do 
something incorrect?
I appreciate the quick response.  At the time of writing this issue i was not 
sure how to acces the mercurial source.  I have since found it.

Original comment by rico....@gmail.com on 15 Mar 2013 at 9:10

GoogleCodeExporter commented 9 years ago
You have to install the GoogleLog library with development headers. I am not 
sure that this package available under RHEL (though it does exist under 
Fedora). If you cannot find GoogleLog, please try the following CMake options:

cmake   -DSTATIC_BUILD:BOOL=OFF \
    -DSTANDALONE_BUILD:BOOL=ON \
    -DUSE_DYNAMIC_GOOGLE_LOG:BOOL=OFF \
    -DCMAKE_BUILD_TYPE=Release

Another option that should work even with the Orthanc 0.5.0 release consists in 
statically linking against all the libraries:

cmake   -DSTATIC_BUILD:BOOL=ON \
    -DCMAKE_BUILD_TYPE=Release

This will download a version of all the dependencies that are known to work 
with Orthanc. HTH...

Original comment by s.jodo...@gmail.com on 15 Mar 2013 at 9:19

GoogleCodeExporter commented 9 years ago
cmake   -DSTATIC_BUILD:BOOL=ON \
    -DCMAKE_BUILD_TYPE=Release

that worked
make worked on the latest version from mercurial:
https://code.google.com/p/orthanc/

Original comment by rico....@gmail.com on 15 Mar 2013 at 9:43

GoogleCodeExporter commented 9 years ago
Strange, was able to compile. But as soon as I try to connect to IP:8042 from a 
windows firefox, it crashed the ETH0 link and the debian server looses network 
link. Any one faced this issue ?

Original comment by pca...@gmail.com on 18 Apr 2013 at 5:14

GoogleCodeExporter commented 9 years ago
@pcadic: I have just replicated your configuration: A Windows XP box with a 
Firefox browser connects to an Orthanc instance that is running on a Debian 
Squeeze server. There is no crash, everything is running properly. If have 
never heard of such an issue. This is presumably a problem that isn't related 
to Orthanc. Perhaps you could try and setup an Apache server on your Debian 
server, then check whether similar problem occurs.

BTW, please could you use the Orthanc Users discussion group instead of the 
issue tracker to discuss such user-related problems? TIA!
https://groups.google.com/forum/?fromgroups#!forum/orthanc-users

Original comment by s.jodo...@gmail.com on 19 Apr 2013 at 9:24

GoogleCodeExporter commented 9 years ago
FYI, I have just added a new section in the FAQ to centralize the CMake 
instructions that are known to work on well-known Linux distributions:
https://code.google.com/p/orthanc/wiki/FAQ#I_use_the_Linux_distribution_XXX,_how
_can_I_build_Orthanc?

I close this bug now.

Original comment by s.jodo...@gmail.com on 19 Apr 2013 at 9:25