I updated my local version of CL with the latest repository version (rev. 2304) and did the usual
./configure
make
sudo make install
This worked all OK, happily running CL 2304.
However, in CL itself (trying to build CL), I did a Custom Build Targets -> Configure and did a rebuild. I received the following errors:
../CodeLite/db_record.h:28:26: error: wx/wxsqlite3.h: No such file or directory
../CodeLite/db_record.h:70: error: ‘wxSQLite3Statement’ has not been declared
These errors are repeated over several projects.
This also applies for debug builds (Custom BT -> Configure --enable-debug).
I checked to have the latest wx packages for my OS (Debian Lenny).
What I find awkward is that from the command-line, building and installing CL itself works OK, but from withing CL not.
Is there a dependency problem, since the file does exist, see the search output below?
trunk/sdk/wxsqlite3
trunk/sdk/wxsqlite3/wxsqlite3.mk
trunk/sdk/wxsqlite3/DebugUnicode/wxsqlite3.o.d
trunk/sdk/wxsqlite3/DebugUnicode/wxsqlite3.o
trunk/sdk/wxsqlite3/ReleaseUnicode/wxsqlite3.o.d
trunk/sdk/wxsqlite3/ReleaseUnicode/wxsqlite3.o
trunk/sdk/wxsqlite3/include/wx/wxsqlite3opt.h
trunk/sdk/wxsqlite3/include/wx/wxsqlite3dyn.h
trunk/sdk/wxsqlite3/include/wx/wxsqlite3.h
trunk/sdk/wxsqlite3/include/wx/wxsqlite3def.h
trunk/sdk/wxsqlite3/src/wxsqlite3.cpp
trunk/sdk/wxsqlite3/src/.svn/text-base/wxsqlite3.cpp.svn-base
trunk/sdk/wxsqlite3/wxsqlite3.project
trunk/sdk/wxsqlite3/.svn/text-base/wxsqlite3.project.svn-base
trunk/sdk/wxsqlite3/WinReleaseUnicode/wxsqlite3.o.d
trunk/sdk/wxsqlite3/WinReleaseUnicode/wxsqlite3.o
wx/wxsqlite3.h: No such file or directory
-
- CodeLite Enthusiast
- Posts: 20
- Joined: Wed Sep 24, 2008 9:49 pm
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: wx/wxsqlite3.h: No such file or directory
If I had to take a wild guess here:
- You clicked 'rebuild' from the workspace level
- Click 'Rebuild' from the project LiteEditor and all will work.
The reason is that only project 'LiteEditor' is marked as 'Custom Build', while clicking 'Rebuild' from workspace level, codelite starts to calculates dependencies and builds them accordingly, since all other projects are *not* custom, it generated a makefile for each and every one of them (except for LiteEditor, which is marked as 'Custom') - however there settings are not updated, since I dont need it (I am using external makefile)
You can guess the rest...
Eran
- You clicked 'rebuild' from the workspace level
- Click 'Rebuild' from the project LiteEditor and all will work.
The reason is that only project 'LiteEditor' is marked as 'Custom Build', while clicking 'Rebuild' from workspace level, codelite starts to calculates dependencies and builds them accordingly, since all other projects are *not* custom, it generated a makefile for each and every one of them (except for LiteEditor, which is marked as 'Custom') - however there settings are not updated, since I dont need it (I am using external makefile)
You can guess the rest...
Eran
Make sure you have read the HOW TO POST thread