CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > SU2

Debug code cannot open the source file

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   November 11, 2023, 06:43
Default Debug code cannot open the source file
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, 10 views)
File Type: jpg 7.jpg (84.1 KB, 10 views)
CFDWhite is offline   Reply With Quote

Old   November 25, 2023, 22:24
Join Date: Jul 2018
Posts: 83
Rep Power: 7
TKatt is on a distinguished road

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 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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[] swak4foam compiling issues on a cluster saj216 OpenFOAM Installation 5 January 17, 2023 16:05
Using PengRobinsonGas EoS with sprayFoam Jabo OpenFOAM Running, Solving & CFD 35 April 29, 2022 15:35
[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 08:05.