CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 (https://www.cfd-online.com/Forums/su2/)
-   -   Build SU2 in Xcode (https://www.cfd-online.com/Forums/su2/226412-build-su2-xcode.html)

hyunko April 27, 2020 00:48

Build SU2 in Xcode
 
Hi all,

I want to build SU2 7.0.3 in Xcode 11.4.1.

When I tried. I opened the file "SU2_CFD.xcodeproj" by Xcode and tried to build it.
Unfortunately, it did not work.

Are there any instruction or help pages for this Xcode building?

Actually, I want to understand the code with debugging.

Thanks.

wallym April 27, 2020 13:29

Hi Hyun,

I have never used xcode, however, I use similiar software when debugging (Qt). What is the failure message?

Wally

hyunko May 8, 2020 01:45

Thanks Wally.
The following is the error messages.


Showing Recent Issues
/Users/hyunko/Work/SU2-7.0.3/SU2_CFD/include/output/tools/CWindowingTools.hpp:31:10: '../../../Common/include/option_structure.hpp' file not found

Showing Recent Issues
/Users/hyunko/Work/SU2-7.0.3/SU2_CFD/src/output/CAdjElasticityOutput.cpp:29:10: In file included from /Users/hyunko/Work/SU2-7.0.3/SU2_CFD/src/output/CAdjElasticityOutput.cpp:29:


Showing Recent Issues
/Users/hyunko/Work/SU2-7.0.3/SU2_CFD/include/output/CAdjElasticityOutput.hpp:30:10: In file included from /Users/hyunko/Work/SU2-7.0.3/SU2_CFD/src/output/../../include/output/CAdjElasticityOutput.hpp:30:


Showing Recent Issues
/Users/hyunko/Work/SU2-7.0.3/SU2_CFD/include/output/COutput.hpp:40:10: In file included from /Users/hyunko/Work/SU2-7.0.3/SU2_CFD/src/output/../../include/output/COutput.hpp:40:

wallym May 8, 2020 12:32

Hi Hyunko,

There maybe an issue with the directory path in the output files. There may need to be an extra "../". I believe that the first issue will look for ../SU2_CFD/Common/.... (if I counted correctly) which doesnt exist. If you have access to the source code, you add the addition path.

If not, ill try to make changes to the develop branch of SU2 on github.

Please let me know if you have anymore issues.
Wally


All times are GMT -4. The time now is 09:06.