Witam,
w wierszu poleceń muszę wpisać komendę zaczynającą się na lib, jednak pojawia mi się komunikat że nie rozpoznaje czegoś takiego jak 'lib',
potrzebuję tego , ponieważ chcę dodać sqlite do VS2010 c++
korzystam z takiej instrukcji i w niej mam właśnie to nieszczęsne 'lib', którego mi nie rozpoznaje:
'lib' is not recognized as an internal or external command, operable program or batch file
instrukcja:
Download the amalgamation
http://www.sqlite.org/sqlite-amalgamation-3_7_3.zip
Download the windows binaries
http://www.sqlite.org/sqlitedll-3_7_3.zip
Extract the sqlite3.h from the amalgation and the sqlite3.dll and sqlite3.def files from the binaries somewhere -- like maybe in your debea directory.
In my case it was a subdirectory under the debea svn checkout
D:\Projects\debea\sqlite3
From VS command window build the .lib file
cd \projects\debea\sqlite3
lib /def:sqlite3.def
mkdir lib
mkdir include
move *.dll lib
move *.lib lib
move *.h include
WXW
Setup your environment variable
set SQLITE3_PATH=D:\Projects\debea\sqlite3
Modify the debea_dev_build.bat
SET DBA_PLUGINS=CSV=1 SQLITE3=1 ODBC=0 PGSQL=0 XML=0
SET DEBEA_CONFIGURE_FLAGS=DEBUG=0 TESTS=0
set SOURCES_DIR=D:\Projects\debea
SET DEVEL=D:\Projects\debeabuild
SET BUILD_DIR=D:\Projects\debeabuild
Comment out all the lines in the wxdba library build (I don't need it -- I don't know about you -- if you want the WX stuff you need to set WXWIN)
REM build wxdba library - needs wxWidgets to build
Build it
You should end up with dba.lib in your DEVEL\lib directory
You'll need to put the sqlite3.dll in your path somewhere so your other projects can find it.
jak mogę to naprawić?