[Gmat-developers] Error when running config.py when building 2020a

4 views
Skip to first unread message

Michael Buksas

unread,
Oct 8, 2020, 7:55:13 PM10/8/20
to gmat-de...@lists.sourceforge.net
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
mwbu...@stellarscience.com
www.stellarscience.com


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

Hughes, Steven P. (GSFC-5950) via GMAT-developers

unread,
Oct 9, 2020, 3:34:27 PM10/9/20
to Michael Buksas, gmat-de...@lists.sourceforge.net, Darrel Conway, Claire Conway, John McGreevy, Mathur, Ravishankar (GSFC-595.0)[EMERGENT SPACE TECH., INC]
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
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-de...@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

unread,
Oct 9, 2020, 5:15:55 PM10/9/20
to Hughes, Steven P. (GSFC-5950), gmat-de...@lists.sourceforge.net, Darrel Conway, Claire Conway, John McGreevy, Mathur, Ravishankar (GSFC-595.0)[EMERGENT SPACE TECH., INC]
Hi Steve,

I had VS 2019 instead of VS 2017 installed. I installed VS 2017 Express
version 15.9.27, which appears to only be available in 32 bit. Some
progress has been made, but the error in wxWidgets configuration remains.

I removed and re-unzipped the source directory, and ran config.py again.
Here's the output on a second try:

"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 **********
-- Xerces already configured
********** 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'


Thanks!
Mike
www.stellarscience.com

Michael Buksas

unread,
Oct 15, 2020, 7:46:42 PM10/15/20
to gmat-de...@lists.sourceforge.net
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:
www.stellarscience.com
Reply all
Reply to author
Forward
0 new messages