Hi I am using vscode to edit (and build and debug) gdal. So far so good. The compilation works with a simple task that runs a shell (see code below if you need it). Debug also works fine.
My problem is syntax highlighting. Apparently it does not realize that "GDAL_COMPILATION" is defined, so some variables appear as errors with something like identifier "GUIntptr_t" is undefined To configure it I just did cmake .. -DBUILD_PYTHON_BINDINGS=ON -DCMAKE_BUILD_TYPE=Debug Does anybody uses visual studio code and had/solved this problem? Thanks. Javier PS: this is my tasks.json: { "version": "2.0.0", "tasks": [ { "label": "build", "type": "shell", "command": "cmake", "args": ["--build", "build", "-j", "12"], "problemMatcher": [ "$gcc" ], "group": { "kind": "build", "isDefault": true }, "presentation": { "revealProblems": "onProblem", } } ] } .___ ._ ..._ .. . ._. .___ .. __ . _. . __.. ... .... ._ .__
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev