cnjinhao / nana

a modern C++ GUI library
https://nana.acemind.cn
Boost Software License 1.0
2.3k stars 331 forks source link

why can not use in vscode? #634

Open JohnLoveMm opened 2 years ago

JohnLoveMm commented 2 years ago

I set the path like this but it can not work. { "configurations": [ { "name": "Win32", "includePath": [ "${workspaceFolder}/**", "F:/Code/C/package/nana-master/include" ], "defines": [ "_DEBUG", "UNICODE", "_UNICODE" ], "compilerPath": "D:\\MinGW\\MinGW2020\\mingw64\\bin\\g++.exe", "cStandard": "gnu17", "cppStandard": "gnu++14", "intelliSenseMode": "gcc-x64" } ], "version": 4 }

the vscode raise an error "f:\Code\C\study20210902\test.cpp:1:10: fatal error: nana/gui.hpp: No such file or directory

include <nana/gui.hpp>"

hope someone help me, thanks!

cnjinhao commented 2 years ago

You need to build nana before using.

https://github.com/cnjinhao/nana/wiki/Troubleshooting-MinGW