I solved the issue in my last email. For interested observers, the root cause is that config.py does not search for the Express version of VS2017, only the Enterprise, Commercial and Community versions.

The wiki page of build directions (https://gmat.atlassian.net/wiki/spaces/GW/pages/380273355/Compiling+GMAT+CMake+Build+System) explicitly mentions the Express version in the requirements. Perhaps that could be changed.

Cheers,

Mike

On 09-Oct-20 1:33 PM, Hughes, Steven P. (GSFC-5950) wrote:
Hi Mike,

    What version and bitness of Visual Studio (VS) are you using?  It looks to 
me like the 64 bit dlls of VS were not located so I suspect the version of 
Visual Studio you are using may not meet current build requirements for GMAT.

But, I'm far from an expert on resolving compiler issues, so I CC'd the experts!

Steve

-----Original Message-----
From: Michael Buksas <mwbuk...@stellarscience.com>
Sent: Thursday, October 8, 2020 7:22 PM
To: gmat-developers@lists.sourceforge.net
Subject: [EXTERNAL] [Gmat-developers] Error when running config.py when 
building 2020a

Hi all,

I'm following the build instructions as described in the wiki on a Windows 10 
system. I'm encountering an error in the dependency configuration step.

Running "python config.py" in the depends directory results in the
following:

"C:\Program Files (x86)\Microsoft Visual 
Studio\2017\Community\Common7\Tools\..\..\VC\Auxiliary\Build\vcvarsall.bat"
x86_amd64 & set > vsEnvironment.txt
'C:\Program' is not recognized as an internal or external command, operable 
program or batch file.
"C:\Program Files (x86)\Microsoft Visual 
Studio\2017\Community\Common7\Tools\..\..\VC\Auxiliary\Build\vcvarsall.bat"
x86_amd64 & set > vsEnvironment.txt
********** Configuring Xerces-C++ 3.2.2 **********
-- Compiling debug Xerces. This could take a while...
-- Compiling release Xerces. This could take a while...
********** Configuring wxWidgets 3.0.4 **********
-- Compiling debug wxWidgets. This could take a while...
-- Compiling release wxWidgets. This could take a while...
Traceback (most recent call last):
    File "configure.py", line 550, in <module>
      build_wxWidgets()
    File "configure.py", line 352, in build_wxWidgets
      os.rename('vc' + vc_major_version + vc_minor_version + wxtype + 'dll', 
'vc' + wxtype + 'dll')
FileNotFoundError: [WinError 2] The system cannot find the file
specified: 'vc141_x64_dll' -> 'vc_x64_dll'

There are other successful steps in between, but they aren't repeated on 
subsequent attempts. Just the text above appears.

Thanks in advance,
Mike


--
Michael Buksas
Stellar Science, LLC
mwbuk...@stellarscience.com
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.stellarscience.com&d=DwICAg&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=rPwj6ldqYsJdidksED_DY2qdmVF0pnehyKezcvjm6HU&m=BCM3vwV4k0qQvLthdQmZLtWEUSJgq3xXDxbQA44avBc&s=vJDNTtoor_2P7UAAYCAFq3EPRNIj4olckXgtv0g1ckQ&e=


_______________________________________________
GMAT-developers mailing list
GMAT-developers@lists.sourceforge.net
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_gmat-2Ddevelopers&d=DwICAg&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=rPwj6ldqYsJdidksED_DY2qdmVF0pnehyKezcvjm6HU&m=BCM3vwV4k0qQvLthdQmZLtWEUSJgq3xXDxbQA44avBc&s=VvzI57glI_h6YS9Gcp5jPr0D854ZNnqAS0vrSTMaPNE&e=

--
Michael Buksas
Stellar Science, LLC
mwbuk...@stellarscience.com
www.stellarscience.com




_______________________________________________
GMAT-developers mailing list
GMAT-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gmat-developers

Reply via email to