CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

Debug code cannot open the source file

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 11, 2023, 06:43
Default Debug code cannot open the source file
  #1
New Member
 
Liming Yang
Join Date: Sep 2023
Posts: 29
Rep Power: 2
CFDWhite is on a distinguished road
Hello community:

After the terminal is compiled using meson, there will always be an error as shown in the figure when debugging in vscode.

Is there any missing file? Is CLI11.hpp a C++11 library? Is vscode inherently unsupported or something else? Where is the mel.hpp library? What should I do?

All the suggestions will be helpful, thank you very much.
Attached Images
File Type: png 1.png (72.7 KB, 12 views)
File Type: jpg 7.jpg (84.1 KB, 12 views)
CFDWhite is offline   Reply With Quote

Old   November 25, 2023, 22:24
Default
  #2
Member
 
na
Join Date: Jul 2018
Posts: 83
Rep Power: 8
TKatt is on a distinguished road
Hi,


do you have the microsoft cpp tools installed in your vscode?

If not please install and in doubt restart vscode (and you might need to wait a bit until vscode has loaded all symbols etc, the status is usually reported in the lower left corner).

If you have that already installed you might want to check here https://stackoverflow.com/questions/...cted-in-vscode as this list a few things people had problems with.


vscode can not find certain headers in the codebase or on your system which is most likely just a problem of teaching vscode where to look for those files (in case the code compiles fine otherwise). mel.hpp e.g. is in <su2-root>/externals/mel/mel.hpp and is a header for a Math Expression language.


Best Tobi
TKatt is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using PengRobinsonGas EoS with sprayFoam Jabo OpenFOAM Running, Solving & CFD 36 July 16, 2024 03:52
[OpenFOAM.com] swak4foam compiling issues on a cluster saj216 OpenFOAM Installation 5 January 17, 2023 16:05
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc ofslcm OpenFOAM Community Contributions 25 March 6, 2017 10:03
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 Seroga OpenFOAM Community Contributions 9 June 12, 2015 17:18
centOS 5.6 : paraFoam not working yossi OpenFOAM Installation 2 October 9, 2013 01:41


All times are GMT -4. The time now is 01:40.