zoukankan
html css js c++ java
VS2010 编译 sqlite3 生成动态库和链接库
如果想以dll的方式使用sqlite而新建空的dll工程,添加sqlite源文件,会发现能生成dll,但缺乏lib函数信息映射库,单独使用dll文件是比较麻烦的,而网上多数做法是通过lib.exe手动生成lib,这当然不是我想要的,结合几篇文章的做法,现总结如下:
1.下载最新的sqlite源文件和二进制文件压缩包(需要其中的sqlite3.def)
2.新建空的dll项目sqlite3(工程名随意,我喜欢保持一致而已),将源文件sqlite3.h, sqlite3.c, sqlite3ext.h, sqlite3.def添加到项目文件夹
并导入工程中.
3.在工程属性设置中进行如下设置
OK大功告成!
lib文件自动生成了!
来自为知笔记(Wiz)
查看全文
相关阅读:
Leetcode 349. Intersection of Two Arrays
hdu 1016 Prime Ring Problem
map 树木品种
油田合并
函数学习
Leetcode 103. Binary Tree Zigzag Level Order Traversal
Leetcode 102. Binary Tree Level Order Traversal
Leetcode 101. Symmetric Tree
poj 2524 Ubiquitous Religions(宗教信仰)
pat 1009. 说反话 (20)
原文地址:https://www.cnblogs.com/mforestlaw/p/5780323.html
最新文章
回溯法解决四皇后问题
bubble_sort
计蒜客 泥塑课
hdu 2027 统计元音
hdu 2026 首字母变大写
二分查找算法
hackerrank Day15: Linked List
hackerrank Day 10: Binary Numbers
Leetcode 350. Intersection of Two Arrays II
hdu 2035 人见人爱A^B
热门文章
hdu 1040 As Easy As A+B
hdu 1096 A+B for Input-Output Practice (VIII)
hdu 1095 A+B for Input-Output Practice (VII)
hdu 1094 A+B for Input-Output Practice (VI)
hdu 1093 A+B for Input-Output Practice (V)
hdu 1092 A+B for Input-Output Practice (IV)
Leetcode 200. Number of Islands
hdu 1241 Oil Deposits
Leetcode 344. Reverse String
Leetcode 345. Reverse Vowels of a String
Copyright © 2011-2022 走看看