-
Notifications
You must be signed in to change notification settings - Fork 446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"The C++ compiler "/usr/bin/c++.exe" is not able to compile a simple test program" on Windows 10 with Cygwin 64 #108
Comments
Do you have GNU
|
I just tried this, but I get the same error. Edit: I might add, that during the installation of Cygwin due to proxy settings I didn't select http://www.gtlib.gatech.edu and Direct connection, but installed it from another Mirror. However I guess this shouldn't make any difference... |
@pfeja you can verify the compilers that CMake is using by looking in
Could you verify that you are indeed using the c++ compiler you expect? If CMake did not pick up gcc, try deleting |
And FYI you can also see the other compilers by searching for |
After temporarily renaming the opal-rt directory, deleting the But then I added the EDIT: I also added What am I missing now? |
I have created a workaround to run openfast from the Command prompt. I have created a .sh script reading |
@pfeja Am I understanding correctly that you are trying to run the OpenFAST executable which you compiled in CygWin from the Windows Command Prompt? |
If so, you must run anything compiled by CygWin within the CygWin terminal. This is from the CygWin website:
Your final problem looks like a path configuration problem where cmd cannot find the cygwin dll. I believe this issue is resolved so I'm closing it, but @pfeja feel free to open it again, if necessary. |
Hi, |
I tried to compile OpenFAST asper the documentation. I followed all steps one-by-one, but when I try to do the actual compilation, CMake fails with:
I attached CMakeOutput.log and CMakeError.log.
The strange thing is, when looking at CMakeError.log, it calls gmake.exe from
C:\opal-rt\rt-lab\v11.2.1.100\common\bin\gmake.exe
. I tried to remove this folder from the PATH environment variable, but it still tries to run gmake.exe from there.I can't uninstall rt-lab because I need this for another project.
What else can I try?
CMakeError.log
CMakeOutput.log
The text was updated successfully, but these errors were encountered: