Adding search path

General questions regarding the usage of CodeLite
evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Adding search path

Post by evstevemd »

Here is a long log. Since CMD flushes out the beginning of the log. I decide to run the same command and cancel before the log is flushed out on second part

Code: Select all

h:2191: error: with 'bool wxSQLite3Database::CreateFunction(int)'
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
h:2266: error: ISO C++ forbids declaration of 'wxString' with no type
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
h:2266: error: expected ',' or '...' before '&' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
h:2285: error: ISO C++ forbids declaration of 'wxString' with no type
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
h:2285: error: expected ',' or '...' before '&' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
h:2300: error: ISO C++ forbids declaration of 'wxString' with no type
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
h:2300: error: expected ',' or '...' before '&' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
h:2309: error: ISO C++ forbids declaration of 'wxString' with no type
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
h:2309: error: expected ',' or '...' before '&' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
h:2324: error: ISO C++ forbids declaration of 'wxString' with no type
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
h:2324: error: expected ',' or '...' before '&' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
h:2333: error: ISO C++ forbids declaration of 'wxMemoryBuffer' with no type
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
h:2333: error: expected ',' or '...' before '&' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
h:2333: error: 'void wxSQLite3Database::ReKey(int)' cannot be overloaded
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
h:2324: error: with 'void wxSQLite3Database::ReKey(int)'
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
h:2368: error: 'wxString' does not name a type
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
h:2398: error: 'wxMemoryBuffer' has not been declared
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
h:2420: error: 'wxString' does not name a type
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
h:2426: error: 'wxString' does not name a type
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
h:2439: error: ISO C++ forbids declaration of 'wxString' with no type
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
h:2439: error: expected ',' or '...' before '&' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
h:2451: error: 'wxString' does not name a type
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
h:2458: error: 'wxString' does not name a type
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
h:2465: error: ISO C++ forbids declaration of 'wxString' with no type
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
h:2465: error: expected ',' or '...' before '&' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
h:2534: error: ISO C++ forbids declaration of 'wxString' with no type
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
h:2534: error: expected ',' or '...' before '&' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
h:2634: error: declaration of 'operator new' as non-function
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
h:2634: error: expected ';' before '(' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
h: In member function 'bool wxSQLite3Transaction::IsActive()':
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
h:2629: error: 'NULL' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp: At global scope:
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:143: error: expected initializer before '*' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:144: error: expected initializer before '*' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:145: error: expected initializer before '*' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:146: error: expected initializer before '*' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:147: error: expected initializer before '*' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:148: error: expected initializer before '*' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:149: error: expected initializer before '*' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:150: error: expected initializer before '*' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:151: error: expected initializer before '*' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:153: error: expected initializer before '*' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:154: error: expected initializer before '*' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:155: error: expected initializer before '*' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:156: error: expected initializer before '*' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:157: error: expected initializer before '*' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:158: error: expected initializer before '*' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:159: error: expected initializer before '*' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:160: error: expected initializer before '*' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:161: error: expected initializer before '*' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:162: error: expected initializer before '*' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:164: error: expected initializer before '*' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:165: error: expected initializer before '*' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:166: error: expected initializer before '*' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:167: error: expected initializer before '*' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:168: error: expected initializer before '*' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:169: error: expected initializer before '*' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:170: error: expected initializer before '*' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:171: error: expected initializer before '*' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:173: error: expected initializer before '*' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:175: error: expected initializer before '*' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:176: error: expected initializer before '*' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:178: error: expected initializer before '*' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:179: error: expected initializer before '*' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:180: error: expected initializer before '*' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:187: error: 'wxLongLong' does not name a type
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:218: error: ISO C++ forbids declaration of 'wxString' with no type
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:218: error: expected ',' or '...' before '&' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp: In constructor 'wxSQLite3Exception::wxSQLite3Exception(int, int)':
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:221: error: 'm_errorMessage' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:221: error: 'ErrorCodeAsString' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:221: error: 'wxT' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:222: error: 'wxString' is not a class or namespace
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:223: error: 'errorMsg' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:223: error: 'wxGetTranslation' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp: In copy constructor 'wxSQLite3Exception::wxSQLite3Exception(const wxSQLite3
Exception&)':
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:227: error: class 'wxSQLite3Exception' does not have any field named 'm_erro
rMessage'
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:227: error: 'const class wxSQLite3Exception' has no member named 'm_errorMes
sage'
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp: At global scope:
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:231: error: 'wxString' does not name a type
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp: In member function 'void wxSQLite3StatementBuffer::Clear()':
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:329: error: 'sqlite3_free' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp: In member function 'const char* wxSQLite3StatementBuffer::Format(const char
*, ...)':
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:338: error: 'va_list' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:338: error: expected ';' before 'va'
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:339: error: 'va' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:339: error: 'va_start' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:340: error: 'sqlite3_vmprintf' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:341: error: 'va_end' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp: At global scope:
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:345: error: 'va_list' has not been declared
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp: In member function 'const char* wxSQLite3StatementBuffer::FormatV(const cha
r*, int)':
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:348: error: 'sqlite3_vmprintf' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp: In constructor 'wxSQLite3ResultSet::wxSQLite3ResultSet(void*, void*, bool,
bool, bool)':
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:388: error: 'sqlite3_stmt' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:388: error: expected primary-expression before ')' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:388: error: 'sqlite3_column_count' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp: At global scope:
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:432: error: 'wxString' does not name a type
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:445: error: 'wxString' does not name a type
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp: In member function 'int wxSQLite3ResultSet::GetInt(int, int)':
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:454: error: 'SQLITE_NULL' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:460: error: 'sqlite3_stmt' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:460: error: expected primary-expression before ')' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:460: error: 'sqlite3_column_int' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp: At global scope:
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:465: error: ISO C++ forbids declaration of 'wxString' with no type
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:465: error: expected ',' or '...' before '&' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp: In member function 'int wxSQLite3ResultSet::GetInt(int)':
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:467: error: 'columnName' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:468: error: 'nullValue' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp: At global scope:
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:471: error: 'wxLongLong' does not name a type
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:483: error: 'wxLongLong' does not name a type
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp: In member function 'double wxSQLite3ResultSet::GetDouble(int, double)':
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:491: error: 'SQLITE_NULL' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:497: error: 'sqlite3_stmt' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:497: error: expected primary-expression before ')' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:497: error: 'sqlite3_column_double' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp: At global scope:
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:501: error: ISO C++ forbids declaration of 'wxString' with no type
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:501: error: expected ',' or '...' before '&' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp: In member function 'double wxSQLite3ResultSet::GetDouble(int)':
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:503: error: 'columnName' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:504: error: 'nullValue' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp: At global scope:
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:507: error: 'wxString' does not name a type
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:520: error: 'wxString' does not name a type
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp: In member function 'const unsigned char* wxSQLite3ResultSet::GetBlob(int, i
nt&)':
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:532: error: 'wxERRMSG_INVALID_INDEX' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:535: error: 'sqlite3_stmt' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:535: error: expected primary-expression before ')' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:535: error: 'sqlite3_column_bytes' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:536: error: expected primary-expression before ')' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:536: error: 'sqlite3_column_blob' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp: At global scope:
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:539: error: ISO C++ forbids declaration of 'wxString' with no type
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:539: error: expected ',' or '...' before '&' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp: In member function 'const unsigned char* wxSQLite3ResultSet::GetBlob(int)':

C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:541: error: 'columnName' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:542: error: 'len' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp: At global scope:
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:545: error: expected constructor, destructor, or type conversion before '&'
token
mingw32-make.exe[1]: *** [../../sdk/work/wxsqlite3/wxsqlite3.o] Error 1
mingw32-make.exe[1]: Leaving directory `C:/Documents and Settings/stefano/Deskt
op/MyProject/sdk/wxqslite3'
mingw32-make.exe: *** [All] Error 2

C:\Documents and Settings\stefano\Desktop\MyProject>
Second part (Actually the start of command)

Code: Select all

C:\Documents and Settings\stefano\Desktop\MyProject>C:\WINDOWS\system32\cmd.
exe /c ""mingw32-make.exe"  -j 1 -f "MyProject_wsp.mk""
----------Building project:[ wxqslite3 - DebugUnicode ]----------

Please use the --prefix flag (as in wx-config --prefix=C:\wxWidgets)
or set the environment variable WXWIN (as in WXWIN=C:\wxWidgets)
to specify where is your installation of wxWidgets.

Please use the --prefix flag (as in wx-config --prefix=C:\wxWidgets)
or set the environment variable WXWIN (as in WXWIN=C:\wxWidgets)
to specify where is your installation of wxWidgets.
mingw32-make.exe[1]: Entering directory `C:/Documents and Settings/stefano/Desk
top/MyProject/sdk/wxqslite3'
g++ -c  "C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/w
xsqlite3.cpp" -g wx-config Error: wxWidgets hasn't been found installed at ''.
-D__WX__ -DWXUSINGDLL -DSQLITE_CORE -DTHREADSAFE=1 -DSQLITE_HAS_CODEC -DCODEC_TY
PE=CODEC_TYPE_AES128 -DSQLITE_SECURE_DELETE -DSQLITE_SOUNDEX -DSQLITE_ENABLE_COL
UMN_METADATA -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENAB
LE_RTREE  -o ../../sdk/work/wxsqlite3/wxsqlite3.o "-I." "-I." "-I../../sdk/sqlit
e3" "-I../sqlite3"
g++: wx-config: No such file or directory
g++: Error:: Invalid argument
g++: wxWidgets: No such file or directory
g++: hasn't: No such file or directory
g++: been: No such file or directory
g++: found: No such file or directory
g++: installed: No such file or directory
g++: at: No such file or directory
g++: ''.: No such file or directory
Terminate batch job (Y/N)? y






CodeLite 15.x
CodeLite is awesome, I just Love it!

User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Adding search path

Post by eranif »

It looks like wx-config cant find the environment it needs.

Apply the environment variables WXWIN & WXCFG before you start building

(copy the their values from within codelite's environment variable dialog)

(just in case you are not familiar with how to set them under windows):

Code: Select all

set WXCFG=<value here>
set WXWIN=<value here>
and build again
Eran
Make sure you have read the HOW TO POST thread
evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Adding search path

Post by evstevemd »

But already CL have filled them in :shock:

Here they are:

Code: Select all

CodeLiteDir=C:\Program Files\CodeLite
WXWIN=C:\wxWidgets-2.8.10
PATH=$(WXWIN)\lib\gcc_dll;$(PATH)
WXCFG=gcc_dll\mswu
UNIT_TEST_PP_SRC_DIR=C:\UnitTest++-1.3

CodeLite 15.x
CodeLite is awesome, I just Love it!

User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Adding search path

Post by eranif »

in the cmd... not in codelite
Make sure you have read the HOW TO POST thread
evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Adding search path

Post by evstevemd »

I see :D

CodeLite 15.x
CodeLite is awesome, I just Love it!

evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Adding search path

Post by evstevemd »

Code: Select all

C:\Documents and Settings\stefano\Desktop\MyProject>C:\WINDOWS\system32\cmd.
exe /c ""mingw32-make.exe"  -j 1 -f "MyProject_wsp.mk""
----------Building project:[ wxqslite3 - DebugUnicode ]----------
mingw32-make.exe[1]: Entering directory `C:/Documents and Settings/stefano/Desk
top/MyProject/sdk/wxqslite3'
g++ -c  "C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/w
xsqlite3.cpp" -g -mthreads -DHAVE_W32API_H -D__WXMSW__ -D__WXDEBUG__ -D_UNICODE
-IC:\wxWidgets-2.8.10\lib\gcc_dll\mswud -IC:\wxWidgets-2.8.10\include -DWXUSINGD
LL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0     -D__WX__ -DWXUSINGDLL -DS
QLITE_CORE -DTHREADSAFE=1 -DSQLITE_HAS_CODEC -DCODEC_TYPE=CODEC_TYPE_AES128 -DSQ
LITE_SECURE_DELETE -DSQLITE_SOUNDEX -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENA
BLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_RTREE  -o ../../sdk/wo
rk/wxsqlite3/wxsqlite3.o "-I." "-I." "-I../../sdk/sqlite3" "-I../sqlite3"
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:43:1: warning: "SQLITE_HAS_CODEC" redefined
<command-line>: warning: this is the location of the previous definition
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:46:21: error: sqlite3.h: No such file or directory
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp: In static member function 'static const wxString wxSQLite3Exception::ErrorC
odeAsString(int)':
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:235: error: 'SQLITE_OK' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:236: error: 'SQLITE_ERROR' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:237: error: 'SQLITE_INTERNAL' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:238: error: 'SQLITE_PERM' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:239: error: 'SQLITE_ABORT' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:240: error: 'SQLITE_BUSY' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:241: error: 'SQLITE_LOCKED' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:242: error: 'SQLITE_NOMEM' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:243: error: 'SQLITE_READONLY' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:244: error: 'SQLITE_INTERRUPT' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:245: error: 'SQLITE_IOERR' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:246: error: 'SQLITE_CORRUPT' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:247: error: 'SQLITE_NOTFOUND' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:248: error: 'SQLITE_FULL' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:249: error: 'SQLITE_CANTOPEN' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:250: error: 'SQLITE_PROTOCOL' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:251: error: 'SQLITE_EMPTY' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:252: error: 'SQLITE_SCHEMA' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:253: error: 'SQLITE_TOOBIG' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:254: error: 'SQLITE_CONSTRAINT' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:255: error: 'SQLITE_MISMATCH' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:256: error: 'SQLITE_MISUSE' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:257: error: 'SQLITE_NOLFS' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:258: error: 'SQLITE_AUTH' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:259: error: 'SQLITE_FORMAT' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:260: error: 'SQLITE_RANGE' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:261: error: 'SQLITE_NOTADB' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:262: error: 'SQLITE_ROW' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:263: error: 'SQLITE_DONE' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:265: error: 'SQLITE_IOERR_READ' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:266: error: 'SQLITE_IOERR_SHORT_READ' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:267: error: 'SQLITE_IOERR_WRITE' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:268: error: 'SQLITE_IOERR_FSYNC' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:269: error: 'SQLITE_IOERR_DIR_FSYNC' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:270: error: 'SQLITE_IOERR_TRUNCATE' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:271: error: 'SQLITE_IOERR_FSTAT' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:272: error: 'SQLITE_IOERR_UNLOCK' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:273: error: 'SQLITE_IOERR_RDLOCK' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:274: error: 'SQLITE_IOERR_DELETE' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp: In member function 'void wxSQLite3StatementBuffer::Clear()':
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:329: error: 'sqlite3_free' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp: In member function 'const char* wxSQLite3StatementBuffer::Format(const char
*, ...)':
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:340: error: 'sqlite3_vmprintf' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp: In member function 'const char* wxSQLite3StatementBuffer::FormatV(const cha
r*, char*)':
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:348: error: 'sqlite3_vmprintf' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp: In constructor 'wxSQLite3ResultSet::wxSQLite3ResultSet(void*, void*, bool,
bool, bool)':
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:388: error: 'sqlite3_stmt' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:388: error: expected primary-expression before ')' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:388: error: 'sqlite3_column_count' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp: In member function 'wxString wxSQLite3ResultSet::GetAsString(int)':
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:441: error: 'sqlite3_stmt' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:441: error: expected primary-expression before ')' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:441: error: 'sqlite3_column_text' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp: In member function 'wxString wxSQLite3ResultSet::GetAsString(const wxString
&)':
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:448: error: 'sqlite3_stmt' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:448: error: expected primary-expression before ')' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:448: error: 'sqlite3_column_text' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp: In member function 'int wxSQLite3ResultSet::GetInt(int, int)':
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:454: error: 'SQLITE_NULL' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:460: error: 'sqlite3_stmt' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:460: error: expected primary-expression before ')' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:460: error: 'sqlite3_column_int' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp: In member function 'wxLongLong wxSQLite3ResultSet::GetInt64(int, wxLongLong
)':
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:473: error: 'SQLITE_NULL' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:479: error: 'sqlite3_stmt' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:479: error: 'sqlite3_column_int64' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:479: error: expected primary-expression before '(' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:479: error: expected primary-expression before ')' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp: In member function 'double wxSQLite3ResultSet::GetDouble(int, double)':
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:491: error: 'SQLITE_NULL' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:497: error: 'sqlite3_stmt' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:497: error: expected primary-expression before ')' token
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:497: error: 'sqlite3_column_double' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp: In member function 'wxString wxSQLite3ResultSet::GetString(int, const wxStr
ing&)':
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:509: error: 'SQLITE_NULL' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:515: error: 'sqlite3_stmt' was not declared in this scope
C:/Documents and Settings/stefano/Desktop/MyProject/sdk/wxqslite3/wxsqlite3.
cpp:515: error: expected primary-expression before ')' token
mingw32-make.exe[1]: *** Deleting file `../../sdk/work/wxsqlite3/wxsqlite3.o'
Terminate batch job (Y/N)?

CodeLite 15.x
CodeLite is awesome, I just Love it!

User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Adding search path

Post by eranif »

The compilation is just fine.
The only problem here is that your directory is named sqlite and NOT sqlite3 :o (I just had a look at the pictures you provided in the first post)

Eran
Make sure you have read the HOW TO POST thread
evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Adding search path

Post by evstevemd »

That pretty stupid.
I have just changed and it compiles fine. User errors are very stupid.
Thanks for support and helping me discover my stupid subtle error!

CodeLite 15.x
CodeLite is awesome, I just Love it!

Post Reply