Problem 1524 - Error installing Geant4 on windows 8 using Visual studio 2010 express
Summary: Error installing Geant4 on windows 8 using Visual studio 2010 express
Status: CLOSED INVALID
Alias: None
Product: Geant4
Classification: Unclassified
Component: cmake (show other problems)
Version: 9.6
Hardware: All Windows
: P5 trivial
Assignee: Ben Morgan
URL:
Depends on:
Blocks:
 
Reported: 2013-09-03 00:36 CEST by Amevi
Modified: 2013-09-03 16:17 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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.