|
[Sponsors] |
November 11, 2023, 07:43 |
Debug code cannot open the source file
|
#1 |
New Member
Liming Yang
Join Date: Sep 2023
Posts: 29
Rep Power: 3 |
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. |
|
November 25, 2023, 23:24 |
|
#2 |
Member
na
Join Date: Jul 2018
Posts: 90
Rep Power: 8 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using PengRobinsonGas EoS with sprayFoam | Jabo | OpenFOAM Running, Solving & CFD | 36 | July 16, 2024 04:52 |
[OpenFOAM.com] swak4foam compiling issues on a cluster | saj216 | OpenFOAM Installation | 5 | January 17, 2023 17:05 |
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc | ofslcm | OpenFOAM Community Contributions | 25 | March 6, 2017 11:03 |
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 | Seroga | OpenFOAM Community Contributions | 9 | June 12, 2015 18:18 |
centOS 5.6 : paraFoam not working | yossi | OpenFOAM Installation | 2 | October 9, 2013 02:41 |