Message: Re: snprintf in Windows Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: snprintf in Windows 

Forum: Installation and Configuration
Re: Feedback snprintf in Windows (Alexey Solovyev)
Date: 12 Apr, 2016
From: Dmitrij Fedorchenko <Dmitrij Fedorchenko>

I encountered the same problem. Compilation of geant4.10.01.p03 and geant4.10.02.p01 from source using Visual Studio Community 2015 update 2 (english) failed with the same error: unresolved external symbol "snprintf".

I am using Windows 7 x64 sp1 (russian, the language settings are ukrainian) and cmake 3.51. I used the recommended approach - configured all with cmake (CMAKE_INSTALL_PREFIX was changed, GEANT4_USE_OPENGL_WIN32, GEANT4_USE_GDML were set), generated Visual Studio solution and started build from Visual Studio: "release", 64bit. The build ended with about 20 error messages, as in Alexey Solovyev's case.

Changing the line 102 in gzguts.h remedied the problem and all was built successfully. Thanks to Alexey Solovyev.

 Add Message Add Message
to: "Re: snprintf in Windows"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]