I am trying to compile and build GMAT in windows visual code that has integrated CMake. I am facing multiple challenges.
-> Firstly, when I ran the "Configure.py" file, I got the error for reading the .tar.bz2 files. I overcame it by replacing the contents of the curl folder with the latest version of "curl".
-> Secondly, I got error in the "configure.py" file at the line "os.rename('vc' + vc_major_version + vc_minor_version + wxtype + 'dll', 'vc' + wxtype + 'dll')". As I did not find any .dll file in that location I have commented this line and the rest of file ran okay and downloaded required dependencies.
-> Finally, after downloading all the dependencies, I have tried to build the GMAT. I am getting the following error:
"Severity Code Description Project File Line Suppression State
Error CMake Error at C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Failed to find XercesC (missing: XercesC_LIBRARY XercesC_INCLUDE_DIR
XercesC_VERSION) C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake 230"
I am new to C++ and appreciate any help. Thank you.
I am trying to compile and build GMAT in windows visual code that has integrated CMake. I am facing multiple challenges.
-> Firstly, when I ran the "Configure.py" file, I got the error for reading the .tar.bz2 files. I overcame it by replacing the contents of the curl folder with the latest version of "curl".
-> Secondly, I got error in the "configure.py" file at the line "os.rename('vc' + vc_major_version + vc_minor_version + wxtype + 'dll', 'vc' + wxtype + 'dll')". As I did not find any .dll file in that location I have commented this line and the rest of file ran okay and downloaded required dependencies.
-> Finally, after downloading all the dependencies, I have tried to build the GMAT. I am getting the following error: "Severity Code Description Project File Line Suppression State Error CMake Error at C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Failed to find XercesC (missing: XercesC_LIBRARY XercesC_INCLUDE_DIR XercesC_VERSION) C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake 230"
I am new to C++ and appreciate any help. Thank you.