debugging-openfoam-with-visual-studio-code's Issues
preLaunchTask 'wmake-build' terminated with exit code-1 & launch program <folder Path> does not exsist
Hello fellow VsCode and OF users,
I tried installing and launching the debugging tool of vs code a couple of times but am stuck here where i get the error wmake-build not found.
Here are the steps i did according to the description in this github
- Installed/ activated debug mode of openFOAM. Currently, i am using of240Debug.
- Changed launch.json, tasks.json andc_cpp_properties.json according to the restrictions and are as follows
as is understand, vs code is searching for a make file to execute but does not recognize the directory even though everything works well with terminal.
If someone understands were i should make some changes to get it running, i would be glad for your comments.
#Launch.json
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "OF-Debug",
// "name": "g++ - Build and debug active file",
"type": "cppdbg",
"request": "launch",
"program": "~/OpenFOAM/userName-2.4.0/SOWFA-2.4.0/src/turbineModels/turbineModelsStandard/Make",
// "program": "${fileDirname}/${fileBasenameNoExtension}",
// "args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"preLaunchTask": "wmake-build",
//"preLaunchTask": "C/C++: g++ build active file",
"miDebuggerPath": "/usr/bin/gdb"
}
]
}
Is it possible to use openfoam in visual studio 2019?
I want to develop project with openfoam
in visual studio 2019. Is it possible?
If it is possible, could you please give a tutorial?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.