<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hello,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
    <span style="font-family:"PingFang SC", Arial, "Hiragino Sans GB", STHeiti, "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;orphans:2;widows:2;background-color:rgb(251, 251, 251);display:inline !important">
I've just been trying to use build2 for a few weeks.<span style="orphans:2;widows:2;background-color:rgb(251, 251, 251);display:inline !important"> Recently I try to use bdep to create a new project and add SQLite3 dependencies according to the chapter toolchain
 intro 2.3. Although it automatically downloads and compiles libsqlite3 from cppget, it always indicates that the header file "libsqlite3/sqlite3.h" cannot be found.<br>
</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family:"PingFang SC", Arial, "Hiragino Sans GB", STHeiti, "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;orphans:2;widows:2;background-color:rgb(251, 251, 251);display:inline !important"><span style="orphans:2;widows:2;background-color:rgb(251, 251, 251);display:inline !important">I
 know I must have not configured enough, but I have no idea on how to do next.<br>
</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family:"PingFang SC", Arial, "Hiragino Sans GB", STHeiti, "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;orphans:2;widows:2;background-color:rgb(251, 251, 251);display:inline !important"><span style="orphans:2;widows:2;background-color:rgb(251, 251, 251);display:inline !important"><br>
</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family:"PingFang SC", Arial, "Hiragino Sans GB", STHeiti, "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;orphans:2;widows:2;background-color:rgb(251, 251, 251);display:inline !important"><span style="orphans:2;widows:2;background-color:rgb(251, 251, 251);display:inline !important">====</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family:"PingFang SC", Arial, "Hiragino Sans GB", STHeiti, "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;orphans:2;widows:2;background-color:rgb(251, 251, 251);display:inline !important"><span style="orphans:2;widows:2;background-color:rgb(251, 251, 251);display:inline !important">PS
 C:\Users\Administrator\Desktop\sqlitelinktest\sqlitelinktest> bdep update
<div>error: header 'libsqlite3\sqlite3.h' not found and no rule to generate it</div>
<div>  info: failure deferred to compiler diagnostics</div>
<div>  info: re-run with --verbose=4 for more information</div>
<div>  info: while extracting header dependencies from sqlitelinktest\cxx{sqlitelinktest}@..\sqlitelinktest-built\sqlitelinktest\sqlitelinktest\</div>
<div>  info: while applying rule cxx.compile to update ..\sqlitelinktest-built\sqlitelinktest\sqlitelinktest\obje{sqlitelinktest}</div>
<div>  info: while applying rule cxx.link to update ..\sqlitelinktest-built\sqlitelinktest\sqlitelinktest\exe{sqlitelinktest}</div>
<div>  info: while applying rule alias to update ..\sqlitelinktest-built\sqlitelinktest\dir{sqlitelinktest\}</div>
<div>  info: while applying rule alias to update ..\sqlitelinktest-built\dir{sqlitelinktest\}</div>
<div>c++ sqlitelinktest\cxx{sqlitelinktest}@..\sqlitelinktest-built\sqlitelinktest\sqlitelinktest\</div>
<div>C:\Users\Administrator\Desktop\sqlitelinktest\sqlitelinktest\sqlitelinktest\sqlitelinktest.cpp(3): fatal error C1083: Cannot open include file: ¡°libsqlite3/sqlite3.h¡±: No such file or directory</div>
info: failed to update ..\sqlitelinktest-built\dir{sqlitelinktest\}<br>
</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family:"PingFang SC", Arial, "Hiragino Sans GB", STHeiti, "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;orphans:2;widows:2;background-color:rgb(251, 251, 251);display:inline !important"><span style="orphans:2;widows:2;background-color:rgb(251, 251, 251);display:inline !important">====<br>
</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family:"PingFang SC", Arial, "Hiragino Sans GB", STHeiti, "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;orphans:2;widows:2;background-color:rgb(251, 251, 251);display:inline !important"><span style="orphans:2;widows:2;background-color:rgb(251, 251, 251);display:inline !important"><br>
</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family:"PingFang SC", Arial, "Hiragino Sans GB", STHeiti, "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;orphans:2;widows:2;background-color:rgb(251, 251, 251);display:inline !important"><span style="orphans:2;widows:2;background-color:rgb(251, 251, 251);display:inline !important">The
 following are the commands I actually executed:</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family:"PingFang SC", Arial, "Hiragino Sans GB", STHeiti, "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;orphans:2;widows:2;background-color:rgb(251, 251, 251);display:inline !important"><span style="orphans:2;widows:2;background-color:rgb(251, 251, 251);display:inline !important">1.C:\"Program
 Files"\"Microsoft Visual Studio"\2022\Community\VC\Auxiliary\Build\vcvars64.bat
<div>2.bdep new -l c++,cpp -t exe sqlitelinktest</div>
<div>3.//Then I edit manifest, repositories.manifest, sqlitelinktest/buildfile as described in docs, and write #include <libsqlite3/sqlite3.h> in the code.</div>
<div>4.cd sqlitelinktest</div>
<div>5.bdep init -C -@built // (And agree to fetch libsqlite3 here)<br>
</div>
<div><span style="font-family:"PingFang SC", Arial, "Hiragino Sans GB", STHeiti, "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;orphans:2;widows:2;background-color:rgb(251, 251, 251);display:inline !important"><span style="orphans:2;widows:2;background-color:rgb(251, 251, 251);display:inline !important">6.bdep
 update</span></span></div>
<div><br>
</div>
<div>I've tried to add config.import.libsqlite3, and changing -I in sqlitelinktest/buildfile to /I (because I'm using Visual Studio), but it doesn't work. So more guidances are needed.</div>
<div><br>
</div>
<div>Best Regards<br>
<span style="font-family:"PingFang SC", Arial, "Hiragino Sans GB", STHeiti, "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;orphans:2;widows:2;background-color:rgb(251, 251, 251);display:inline !important"><span style="orphans:2;widows:2;background-color:rgb(251, 251, 251);display:inline !important"></span></span></div>
</span></span></div>
</body>
</html>