Message: C++ compiler cannot create executables(VC9.0) Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback C++ compiler cannot create executables(VC9.0) 

Keywords: C++ compiler cannot create executables VC 9.0
Forum: Installation and Configuration
Date: 25 Jan, 2008
From: Jorge Ferreira <jorgeferrera@bol.com.br>

   Hi everybody, how are you?
   Well, I have a problem here. Im trying to compile geant4, but Im stucked with CLHEP
   Im using Visual C++ 9.0 Express Edition and I installed Microsoft Platform SDK for Windows Server 2003 R2
   Im following this tutorial: http://geant4.slac.stanford.edu/tutorial/installation/Geant4.9.0/Windows/Geant4_9_0_Windows_Installation.htm
   Well, When I set ./configure --prefix /cygdrive/c/CLHEP/ I receive: C++ compiler cannot create executables
   This the full error:

configure:2164: result: cl configure:2180: checking for C++ compiler version configure:2183: cl --version </dev/null >&5 Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for 80x86 Copyright (C) Microsoft Corporation. All rights reserved.

cl : Command line warning D9002 : ignoring unknown option '--version' cl : Command line error D8003 : missing source filename configure:2186: $? = 2 configure:2188: cl -v </dev/null >&5 Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for 80x86 Copyright (C) Microsoft Corporation. All rights reserved.

cl : Command line warning D9002 : ignoring unknown option '-v' cl : Command line error D8003 : missing source filename configure:2191: $? = 2 configure:2193: cl -V </dev/null >&5 Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for 80x86 Copyright (C) Microsoft Corporation. All rights reserved.

cl : Command line error D8004 : '/V' requires an argument configure:2196: $? = 2 configure:2219: checking for C++ compiler default output file name configure:2222: cl conftest.cc >&5 Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for 80x86 Copyright (C) Microsoft Corporation. All rights reserved.

conftest.cc conftest.cc(10) : error C2143: syntax error : missing ';' before '/' conftest.cc(10) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int conftest.cc(10) : error C2001: newline in constant configure:2225: $? = 2

configure: failed program was:
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
| ts/clhep/ "
configure:2264: error: C++ compiler cannot create executables See `config.log' for more details.

Im not good in this kind of programming then, someone have an idea? Thank in advanced, bye bye.

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Ok: Re: C++ compiler cannot create executables(VC9.0)   (Tom Roberts - 07 Aug, 2008)
 Add Message Add Message
to: "C++ compiler cannot create executables(VC9.0)"

 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 ]