Problem 1524

Summary: Error installing Geant4 on windows 8 using Visual studio 2010 express
Product: Geant4 Reporter: Amevi <caamevi>
Component: cmakeAssignee: Ben Morgan <Ben.Morgan>
Status: CLOSED INVALID    
Severity: trivial    
Priority: P5    
Version: 9.6   
Hardware: All   
OS: Windows   

Description Amevi 2013-09-03 00:36:48 CEST

    
Comment 1 Amevi 2013-09-03 00:41:52 CEST
Trying to install Geant4.9.6 on windows 8 using CMake 2.8.11.2-win32-x86 gui and visual studio. During installation the following error keeps occuring.


***********************************
ERROR:

CMake Warning at cmake/Modules/Geant4LibraryBuildOptions.cmake:113 (message):
   Building shared AND static libraries on VS2010 may result in link errors.
   You are welcome to try building both, but please be aware of this warning.
   Problems can be reported to the Geant4 Bugzilla system:
   
   http://bugzilla-geant4.kek.jp
      
Call Stack (most recent call first):
  CMakeLists.txt:76 (include)


CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
  Could NOT find CLHEP:

  CLHEP Header Path Not Found

  CLHEP Library Not Found

  Incompatible versions, (found) < 2.1.2.3(required)

   (missing:  CLHEP_LIBRARY CLHEP_INCLUDE_DIR) (Required is at least version "2.1.2.3")
Call Stack (most recent call first):
  C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
  cmake/Modules/FindCLHEP.cmake:238 (find_package_handle_standard_args)
  cmake/Modules/Geant4OptionalComponents.cmake:37 (find_package)
  CMakeLists.txt:79 (include)


Configuring incomplete, errors occurred!
**********************************************************

CMake can not find CLHEP Header Path files and CLHEP Library Not Found


Please what should i do....?

Thanks for your help
Comment 2 Amevi 2013-09-03 00:44:34 CEST
I was using Visual Studio 10 Express
Comment 3 Amevi 2013-09-03 00:48:38 CEST
I was using Visual Studio 10 Express
Comment 4 Ben Morgan 2013-09-03 16:17:15 CEST
I'm marking as INVALID because we don't yet support Windows 8.

It looks like you have asked to build both static and shared libraries, hence the first warning. The second error appears to indicate you asked to use a system install of CLHEP. I'd recommend that you follow the installation instructions on installing on Windows 7 exactly first - that may resolve these.

if you are still seeing a problem, then I'm afraid this will have to wait until we can support Windows 8.