Package Details: codelite 16.0.0-1

Git Clone URL: (read-only, click to copy)
Package Base: codelite
Description: Cross platform IDE for C, C++, Rust, Python, PHP and Node.js written in C++
Upstream URL:
Keywords: C++ Editor IDE
Licenses: GPL
Conflicts: codelite-unstable
Submitter: None
Maintainer: uffe
Last Packager: uffe
Votes: 172
Popularity: 0.033237
First Submitted: 2008-08-01 09:11 (UTC)
Last Updated: 2022-08-02 10:04 (UTC)

Pinned Comments

uffe commented on 2016-09-26 11:42 (UTC) (edited on 2020-07-27 18:21 (UTC) by uffe)

ATTENTION: read this before flagging this package out-of-date

This package "codelite" represents the stable release of the codelite project.

I do not consider the "Weekly Builds" from as stable releases (neither does the codelite project)

Generally speaking - this package will not be updated before the codelite release/download page ( have a new stable release published.

Please respect that - Thanks

PS: to clear up a recent misunderstanding - this does not mean that I won't accept patches that is needed for stable codelite to build against refreshed libraries etc

PS: I have added new "codelite-unstable" package to AUR that follows the weekly/latest builds from the codelite project.

Latest Comments

uffe commented on 2022-07-15 10:40 (UTC)

@Zdrobot new PKGBUILD pushed - please try again - the wxgtk3 was updated and renamed to wxwidget-gtk3 this night - also its wx-config script was renamed

Zdrobot commented on 2022-07-15 09:08 (UTC) (edited on 2022-07-15 09:08 (UTC) by Zdrobot)

Failed to compile:

which: no wx-config-gtk3 in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
CMake Error at CMakeLists.txt:131 (message):

  No functional wx_config script was found in your PATH.

  Is the wxWidgets development package installed?

-- Configuring incomplete, errors occurred!
See also "/home/archie/.cache/yay/codelite/src/codelite-16.0.0-1/_build/CMakeFiles/CMakeOutput.log".
==> ERROR: A failure occurred in build().
 -> error making: codelite

pogojotz commented on 2022-03-21 14:19 (UTC)

Does not compile with GCC 11:

/home/jotz/dev/arch/codelite/src/codelite-15.0.2/sdk/codelite_cppcheck/cli/cppcheckexecutor.cpp:297:22: error: size of array ‘mytstack’ is not an integral constant-expression
  297 | static char mytstack[MYSTACKSIZE]= {0}; // alternative stack for signal handler
      |                      ^~~~~~~~~~~

The upstream fix works for me:

juxuanu commented on 2021-06-02 11:23 (UTC) (edited on 2021-06-02 11:27 (UTC) by juxuanu)

Why does this depen on python2? I can't see it being a requirement in the of Codelite's Github repo.

Also, pacman -Rsdd python2 from my system doesn't seem to affect CodeLite.

nfs commented on 2021-01-11 22:49 (UTC)

It would help if you could update the PKGBUILD to make the dependency 'wxgtk2' instead of 'wxgtk'. When I tried to use 'pacman -Suy' today, it refused to update wxgtk2, because it broke codelite's dependency on 'wxgtk'. When I uninstalled codelite, I was able to update 'wxgtk2', but then I couldn't install codelite until I edited the PKGBUILD dependency to read 'wxgtk2'.

uffe commented on 2020-09-17 16:55 (UTC)

@aviallon: regarding the mysql include problem - thanks for the suggestion

I'm not crazy about recommending users to modify mysql system include files. So I've disabled codelite dblayer support for mysql - for now - it is my impression that most users do not use the dbbrowsing feature in codelite anyway.

Those who use/need it - will have to modify PKGBUILD and change -DWITH_MYSQL=0

uffe commented on 2020-09-16 14:36 (UTC) (edited on 2020-09-16 14:37 (UTC) by uffe)

@aviallon: apologies - there was a typo in the wx-config name (wx-config-gtk2 is/was a homemade clone) - it should be fixed now - thanks for notifying :-)

aviallon commented on 2020-09-15 13:45 (UTC)

If the package fails to build, try to change the header files like described in

aviallon commented on 2020-08-24 00:47 (UTC)

No functional wx_config script was found in your PATH. Message got both on normal Arch PC and inside clean container.

uffe commented on 2020-07-27 18:24 (UTC)

To those that are interested: I have added new "codelite-unstable" package to AUR that follows the weekly/latest builds from the codelite project (currently v14.0.2)

uffe commented on 2020-05-13 16:15 (UTC) (edited on 2020-05-13 16:16 (UTC) by uffe)

@AirMH: this a system specific customization - and that is not something that should be hardcoded into individual packages. It would for sure totally kill one of my older laptops - and for another of my systems -j 128 would be more suitable - you'll never find a setting that fits all :-) You should put that kind of system specific customizations into your local makepkg.conf


man makepkg
man makepkg.conf

AirMH commented on 2020-05-13 15:58 (UTC) (edited on 2020-05-13 15:59 (UTC) by AirMH)

In function build(), use make -j4 instead of make for faster build speed.

ryanw commented on 2020-05-03 06:12 (UTC)

@uffe: yes, full upgraded. Thanks, it works

uffe commented on 2020-04-29 09:32 (UTC)

@ryanw: I just did a rebuild of codelite without any problems. Is your system fully upgraded ?

MySql is only needed for the Database Explorer plugin - rest of CodeLite will work without it... An an experiment you could try to take out MySql by editing PKGBUILD - look for "-DWITH_MYSQL=1"

ryanw commented on 2020-04-29 03:12 (UTC) (edited on 2020-05-03 06:04 (UTC) by ryanw)

I got Error when making codelite Any suggestion to fix ?

Scanning dependencies of target databaselayersqlite
[ 10%] Building CXX object sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/src/dblayer/DatabaseErrorReporter.cpp.o
[ 10%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/BitmapShape.cpp.o
[ 10%] Building CXX object sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/src/dblayer/DatabaseLayer.cpp.o
[ 10%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/checkcondition.cpp.o
[ 10%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/BitmapShapeXml.cpp.o
[ 10%] Building CXX object codelitephp/CMakeFiles/PHPParser.dir/PHPParser/php_workspace.cpp.o
[ 10%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/CanvasHistory.cpp.o
[ 10%] Building CXX object sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/src/dblayer/DatabaseQueryParser.cpp.o
[ 11%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/checkexceptionsafety.cpp.o
[ 11%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/CanvasState.cpp.o
[ 11%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/checkfunctions.cpp.o
[ 11%] Building CXX object sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/src/dblayer/DatabaseResultSet.cpp.o
[ 11%] Building CXX object codelitephp/CMakeFiles/PHPParser.dir/PHPParser/phpexecutor.cpp.o
[ 11%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/checkinternal.cpp.o
[ 11%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/checkio.cpp.o
[ 11%] Building CXX object sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/src/dblayer/DatabaseStringConverter.cpp.o
[ 11%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/CircleArrow.cpp.o
[ 11%] Building CXX object sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/src/dblayer/PreparedStatement.cpp.o
[ 11%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/CircleShape.cpp.o
[ 11%] Linking CXX static library ../lib/libPHPParser.a
[ 11%] Built target PHPParser
[ 11%] Building CXX object sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/src/dblayer/SqliteDatabaseLayer.cpp.o
[ 11%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/checkleakautovar.cpp.o
[ 11%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/checkmemoryleak.cpp.o
[ 11%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/CommonFcn.cpp.o
[ 11%] Building CXX object sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/src/dblayer/SqlitePreparedStatement.cpp.o
[ 11%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/checknullpointer.cpp.o
[ 11%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/ControlShape.cpp.o
[ 11%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/checkother.cpp.o
[ 11%] Building CXX object sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/src/dblayer/SqliteResultSet.cpp.o
[ 11%] Building CXX object sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/src/dblayer/SqliteResultSetMetaData.cpp.o
[ 12%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/CurveShape.cpp.o
[ 12%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/DiagramManager.cpp.o
[ 12%] Building CXX object sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/src/dblayer/MysqlDatabaseLayer.cpp.o
[ 12%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/DiamondArrow.cpp.o
[ 12%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/checkpostfixoperator.cpp.o
In file included from /home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/src/dblayer/MysqlDatabaseLayer.cpp:5:
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:27:17: error: ISO C++ forbids declaration of ‘my_bool’ with no type [-fpermissive]
   27 | typedef my_bool (STDCALL *MysqlAutoCommitType)(MYSQL*, my_bool);
      |                 ^
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:27:9: error: typedef ‘my_bool’ is initialized (use decltype instead)
   27 | typedef my_bool (STDCALL *MysqlAutoCommitType)(MYSQL*, my_bool);
      |         ^~~~~~~
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:27:27: error: ‘MysqlAutoCommitType’ was not declared in this scope
   27 | typedef my_bool (STDCALL *MysqlAutoCommitType)(MYSQL*, my_bool);
      |                           ^~~~~~~~~~~~~~~~~~~
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:28:17: error: ISO C++ forbids declaration of ‘my_bool’ with no type [-fpermissive]
   28 | typedef my_bool (STDCALL *MysqlCommitType)(MYSQL*);
      |                 ^
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:28:9: error: typedef ‘my_bool’ is initialized (use decltype instead)
   28 | typedef my_bool (STDCALL *MysqlCommitType)(MYSQL*);
      |         ^~~~~~~
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:28:27: error: ‘MysqlCommitType’ was not declared in this scope; did you mean ‘MysqlInitType’?
   28 | typedef my_bool (STDCALL *MysqlCommitType)(MYSQL*);
      |                           ^~~~~~~~~~~~~~~
      |                           MysqlInitType
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:29:17: error: ISO C++ forbids declaration of ‘my_bool’ with no type [-fpermissive]
   29 | typedef my_bool (STDCALL *MysqlRollbackType)(MYSQL*);
      |                 ^
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:29:9: error: typedef ‘my_bool’ is initialized (use decltype instead)
   29 | typedef my_bool (STDCALL *MysqlRollbackType)(MYSQL*);
      |         ^~~~~~~
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:29:27: error: ‘MysqlRollbackType’ was not declared in this scope
   29 | typedef my_bool (STDCALL *MysqlRollbackType)(MYSQL*);
      |                           ^~~~~~~~~~~~~~~~~
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:37:17: error: ISO C++ forbids declaration of ‘my_bool’ with no type [-fpermissive]
   37 | typedef my_bool (STDCALL *MysqlStmtFreeResultType)(MYSQL_STMT*);
      |                 ^
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:37:9: error: typedef ‘my_bool’ is initialized (use decltype instead)
   37 | typedef my_bool (STDCALL *MysqlStmtFreeResultType)(MYSQL_STMT*);
      |         ^~~~~~~
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:37:27: error: ‘MysqlStmtFreeResultType’ was not declared in this scope; did you mean ‘MysqlStmtExecuteType’?
   37 | typedef my_bool (STDCALL *MysqlStmtFreeResultType)(MYSQL_STMT*);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~
      |                           MysqlStmtExecuteType
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:38:17: error: ISO C++ forbids declaration of ‘my_bool’ with no type [-fpermissive]
   38 | typedef my_bool (STDCALL *MysqlStmtCloseType)(MYSQL_STMT*);
      |                 ^
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:38:9: error: typedef ‘my_bool’ is initialized (use decltype instead)
   38 | typedef my_bool (STDCALL *MysqlStmtCloseType)(MYSQL_STMT*);
      |         ^~~~~~~
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:38:27: error: ‘MysqlStmtCloseType’ was not declared in this scope; did you mean ‘MysqlCloseType’?
   38 | typedef my_bool (STDCALL *MysqlStmtCloseType)(MYSQL_STMT*);
      |                           ^~~~~~~~~~~~~~~~~~
      |                           MysqlCloseType
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:46:17: error: ISO C++ forbids declaration of ‘my_bool’ with no type [-fpermissive]
   46 | typedef my_bool (STDCALL *MysqlStmtBindParamType)(MYSQL_STMT*, MYSQL_BIND*);
      |                 ^
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:46:9: error: typedef ‘my_bool’ is initialized (use decltype instead)
   46 | typedef my_bool (STDCALL *MysqlStmtBindParamType)(MYSQL_STMT*, MYSQL_BIND*);
      |         ^~~~~~~
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:46:27: error: ‘MysqlStmtBindParamType’ was not declared in this scope; did you mean ‘MysqlStmtPrepareType’?
   46 | typedef my_bool (STDCALL *MysqlStmtBindParamType)(MYSQL_STMT*, MYSQL_BIND*);
      |                           ^~~~~~~~~~~~~~~~~~~~~~
      |                           MysqlStmtPrepareType
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:48:17: error: ISO C++ forbids declaration of ‘my_bool’ with no type [-fpermissive]
   48 | typedef my_bool (STDCALL *MysqlStmtBindResultType)(MYSQL_STMT*, MYSQL_BIND*);
      |                 ^
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:48:9: error: typedef ‘my_bool’ is initialized (use decltype instead)
   48 | typedef my_bool (STDCALL *MysqlStmtBindResultType)(MYSQL_STMT*, MYSQL_BIND*);
      |         ^~~~~~~
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:48:27: error: ‘MysqlStmtBindResultType’ was not declared in this scope
   48 | typedef my_bool (STDCALL *MysqlStmtBindResultType)(MYSQL_STMT*, MYSQL_BIND*);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:64:3: error: ‘MysqlAutoCommitType’ does not name a type; did you mean ‘MysqlStmtInitType’?
   64 |   MysqlAutoCommitType GetMysqlAutoCommit() { return m_pMysqlAutoCommit; }
      |   ^~~~~~~~~~~~~~~~~~~
      |   MysqlStmtInitType
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:65:3: error: ‘MysqlCommitType’ does not name a type; did you mean ‘MysqlInitType’?
   65 |   MysqlCommitType GetMysqlCommit() { return m_pMysqlCommit; }
      |   ^~~~~~~~~~~~~~~
      |   MysqlInitType
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:66:3: error: ‘MysqlRollbackType’ does not name a type
   66 |   MysqlRollbackType GetMysqlRollback() { return m_pMysqlRollback; }
      |   ^~~~~~~~~~~~~~~~~
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:74:3: error: ‘MysqlStmtFreeResultType’ does not name a type; did you mean ‘MysqlFreeResultType’?
   74 |   MysqlStmtFreeResultType GetMysqlStmtFreeResult() { return m_pMysqlStmtFreeResult; }
      |   ^~~~~~~~~~~~~~~~~~~~~~~
      |   MysqlFreeResultType
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:75:3: error: ‘MysqlStmtCloseType’ does not name a type; did you mean ‘MysqlCloseType’?
   75 |   MysqlStmtCloseType GetMysqlStmtClose() { return m_pMysqlStmtClose; }
      |   ^~~~~~~~~~~~~~~~~~
      |   MysqlCloseType
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:83:3: error: ‘MysqlStmtBindParamType’ does not name a type; did you mean ‘MysqlStmtPrepareType’?
   83 |   MysqlStmtBindParamType GetMysqlStmtBindParam() { return m_pMysqlStmtBindParam; }
      |   ^~~~~~~~~~~~~~~~~~~~~~
      |   MysqlStmtPrepareType
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:85:3: error: ‘MysqlStmtBindResultType’ does not name a type
   85 |   MysqlStmtBindResultType GetMysqlStmtBindResult() { return m_pMysqlStmtBindResult; }
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:97:3: error: ‘MysqlAutoCommitType’ does not name a type; did you mean ‘MysqlStmtInitType’?
   97 |   MysqlAutoCommitType m_pMysqlAutoCommit;
      |   ^~~~~~~~~~~~~~~~~~~
      |   MysqlStmtInitType
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:98:3: error: ‘MysqlCommitType’ does not name a type; did you mean ‘MysqlInitType’?
   98 |   MysqlCommitType m_pMysqlCommit;
      |   ^~~~~~~~~~~~~~~
      |   MysqlInitType
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:99:3: error: ‘MysqlRollbackType’ does not name a type
   99 |   MysqlRollbackType m_pMysqlRollback;
      |   ^~~~~~~~~~~~~~~~~
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:107:3: error: ‘MysqlStmtFreeResultType’ does not name a type; did you mean ‘MysqlFreeResultType’?
  107 |   MysqlStmtFreeResultType m_pMysqlStmtFreeResult;
      |   ^~~~~~~~~~~~~~~~~~~~~~~
      |   MysqlFreeResultType
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:108:3: error: ‘MysqlStmtCloseType’ does not name a type; did you mean ‘MysqlCloseType’?
  108 |   MysqlStmtCloseType m_pMysqlStmtClose;
      |   ^~~~~~~~~~~~~~~~~~
      |   MysqlCloseType
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:116:3: error: ‘MysqlStmtBindParamType’ does not name a type; did you mean ‘MysqlStmtPrepareType’?
  116 |   MysqlStmtBindParamType m_pMysqlStmtBindParam;
      |   ^~~~~~~~~~~~~~~~~~~~~~
      |   MysqlStmtPrepareType
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlInterface.h:118:3: error: ‘MysqlStmtBindResultType’ does not name a type
  118 |   MysqlStmtBindResultType m_pMysqlStmtBindResult;
      |   ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlPreparedStatement.h:18,
                 from /home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/src/dblayer/MysqlDatabaseLayer.cpp:6:
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/./include/wx/dblayer/include/../include/MysqlPreparedStatementParameter.h:65:3: error: ‘my_bool’ does not name a type; did you mean ‘bool’?
   65 |   my_bool m_bIsNull;
      |   ^~~~~~~
      |   bool
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/src/dblayer/MysqlDatabaseLayer.cpp: In member function ‘virtual void MysqlDatabaseLayer::BeginTransaction()’:
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/src/dblayer/MysqlDatabaseLayer.cpp:248:31: error: ‘class MysqlInterface’ has no member named ‘GetMysqlAutoCommit’
  248 |   int nReturn = m_pInterface->GetMysqlAutoCommit()((MYSQL*)m_pDatabase, 0);
      |                               ^~~~~~~~~~~~~~~~~~
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/src/dblayer/MysqlDatabaseLayer.cpp: In member function ‘virtual void MysqlDatabaseLayer::Commit()’:
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/src/dblayer/MysqlDatabaseLayer.cpp:261:31: error: ‘class MysqlInterface’ has no member named ‘GetMysqlCommit’; did you mean ‘GetMysqlInit’?
  261 |   int nReturn = m_pInterface->GetMysqlCommit()((MYSQL*)m_pDatabase);
      |                               ^~~~~~~~~~~~~~
      |                               GetMysqlInit
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/src/dblayer/MysqlDatabaseLayer.cpp:268:27: error: ‘class MysqlInterface’ has no member named ‘GetMysqlAutoCommit’
  268 |   nReturn = m_pInterface->GetMysqlAutoCommit()((MYSQL*)m_pDatabase, 1);
      |                           ^~~~~~~~~~~~~~~~~~
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/src/dblayer/MysqlDatabaseLayer.cpp: In member function ‘virtual void MysqlDatabaseLayer::RollBack()’:
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/src/dblayer/MysqlDatabaseLayer.cpp:281:31: error: ‘class MysqlInterface’ has no member named ‘GetMysqlRollback’
  281 |   int nReturn = m_pInterface->GetMysqlRollback()((MYSQL*)m_pDatabase);
      |                               ^~~~~~~~~~~~~~~~
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/src/dblayer/MysqlDatabaseLayer.cpp:288:27: error: ‘class MysqlInterface’ has no member named ‘GetMysqlAutoCommit’
  288 |   nReturn = m_pInterface->GetMysqlAutoCommit()((MYSQL*)m_pDatabase, 1);
      |                           ^~~~~~~~~~~~~~~~~~
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/src/dblayer/MysqlDatabaseLayer.cpp: In member function ‘virtual DatabaseResultSet* MysqlDatabaseLayer::RunQueryWithResults(const wxString&)’:
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/src/dblayer/MysqlDatabaseLayer.cpp:355:25: error: ‘class MysqlInterface’ has no member named ‘GetMysqlStmtFreeResult’; did you mean ‘GetMysqlFreeResult’?
  355 |           m_pInterface->GetMysqlStmtFreeResult()(pMysqlStatement);
      |                         ^~~~~~~~~~~~~~~~~~~~~~
      |                         GetMysqlFreeResult
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/src/dblayer/MysqlDatabaseLayer.cpp:356:25: error: ‘class MysqlInterface’ has no member named ‘GetMysqlStmtClose’; did you mean ‘GetMysqlClose’?
  356 |           m_pInterface->GetMysqlStmtClose()(pMysqlStatement);
      |                         ^~~~~~~~~~~~~~~~~
      |                         GetMysqlClose
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/src/dblayer/MysqlDatabaseLayer.cpp:381:21: error: ‘class MysqlInterface’ has no member named ‘GetMysqlStmtFreeResult’; did you mean ‘GetMysqlFreeResult’?
  381 |       m_pInterface->GetMysqlStmtFreeResult()(pMysqlStatement);
      |                     ^~~~~~~~~~~~~~~~~~~~~~
      |                     GetMysqlFreeResult
/home/user/.cache/yay/codelite/src/codelite-14.0/sdk/databaselayer/src/dblayer/MysqlDatabaseLayer.cpp:382:21: error: ‘class MysqlInterface’ has no member named ‘GetMysqlStmtClose’; did you mean ‘GetMysqlClose’?
  382 |       m_pInterface->GetMysqlStmtClose()(pMysqlStatement);
      |                     ^~~~~~~~~~~~~~~~~
      |                     GetMysqlClose
make[2]: *** [sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/build.make:213: sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/src/dblayer/MysqlDatabaseLayer.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1286: sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 12%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/DiamondShape.cpp.o
[ 12%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/checksizeof.cpp.o
[ 12%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/checkstl.cpp.o
[ 12%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/checkstring.cpp.o
[ 12%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/checktype.cpp.o
[ 12%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/checkuninitvar.cpp.o
[ 12%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/EditTextShape.cpp.o
[ 12%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/checkunusedfunctions.cpp.o
[ 12%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/checkunusedvar.cpp.o
[ 12%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/checkvaarg.cpp.o
[ 12%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/EllipseShape.cpp.o
[ 12%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/cppcheck.cpp.o
[ 13%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/errorlogger.cpp.o
[ 13%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/importproject.cpp.o
[ 13%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/FixedRectShape.cpp.o
[ 13%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/library.cpp.o
[ 13%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/mathlib.cpp.o
[ 13%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/path.cpp.o
[ 13%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/FlexGridShape.cpp.o
[ 13%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/pathmatch.cpp.o
[ 13%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/platform.cpp.o
[ 13%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/preprocessor.cpp.o
[ 13%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/settings.cpp.o
[ 13%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/GridShape.cpp.o
[ 13%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/suppressions.cpp.o
[ 13%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/symboldatabase.cpp.o
[ 13%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/templatesimplifier.cpp.o
[ 13%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/LineShape.cpp.o
[ 13%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/MultiSelRect.cpp.o
[ 13%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/OpenArrow.cpp.o
[ 13%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/OrthoShape.cpp.o
[ 13%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/timer.cpp.o
[ 13%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/PolygonShape.cpp.o
[ 13%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/PolygonShapeXml.cpp.o
[ 13%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/token.cpp.o
[ 13%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/tokenize.cpp.o
[ 13%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/tokenlist.cpp.o
[ 13%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/Printout.cpp.o
[ 13%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/lib/valueflow.cpp.o
[ 13%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/RectShape.cpp.o
[ 13%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/RoundOrthoShape.cpp.o
[ 14%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/RoundRectShape.cpp.o
[ 14%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/SFEvents.cpp.o
[ 14%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/ScaledDC.cpp.o
[ 14%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/ShapeBase.cpp.o
[ 14%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/ShapeBaseXml.cpp.o
[ 14%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/ShapeCanvas.cpp.o
[ 14%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/ShapeDataObject.cpp.o
[ 14%] Linking CXX executable ../../bin/codelite_cppcheck
[ 14%] Built target codelite_cppcheck
[ 14%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/ShapeDockpoint.cpp.o
[ 14%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/ShapeHandle.cpp.o
[ 14%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/SolidArrow.cpp.o
[ 14%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/TextShape.cpp.o
[ 14%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/TextShapeXml.cpp.o
[ 14%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/Thumbnail.cpp.o
[ 14%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/wx_pch.cpp.o
[ 14%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/wxxmlserializer/PropertyIO.cpp.o
[ 14%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/wxxmlserializer/XmlSerializer.cpp.o
[ 14%] Linking CXX shared library ../../lib/
[ 14%] Built target wxshapeframework
make: *** [Makefile:150: all] Error 2
==> ERROR: A failure occurred in build().
Error making: codelite

uffe commented on 2020-03-02 10:39 (UTC)

@aucunhenac: it is not a problem here. My guess is that you have a partial downloaded file - and you need to clean up that file. curl is semi intelligent and wants to continue where it last was interrupted - but the server seems to refuse that.

aucunhenac commented on 2020-02-29 16:39 (UTC)

When I try today update codelite reports this message:

curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume. ==> ERROR: Failure while downloading Aborting... Error downloading sources: codelite


uffe commented on 2019-10-09 22:24 (UTC) (edited on 2019-10-09 22:27 (UTC) by uffe)

Two months have gone - no official ArchLinux or upstream pango/harfbuzz have come up... I've made a temporary hack/patch that again will enable end-users to compile this codelite AUR package without hazzle.

The pkgrel will NOT be bumped - it is a deliberate choise. My change will bring no value to those of you who have managed to build the current release of codelite - and those that have failed to build codelite during the last two months will not be notified by the pkgrel bump anyway....

Please speak up if you think this is wrong :-)

b1t0 commented on 2019-10-08 22:51 (UTC)

@ryanw that's actually works for me but with another file so thank you.

ryanw commented on 2019-10-07 13:15 (UTC)

I can success build from source after edit two files /usr/include/pango-1.0/pango/pango-features.h and /usr/include/pango-1.0/pango/pango-font.h. in the files change code #include <hb.h> to #include <harfbuzz/hb.h>

settyness commented on 2019-09-16 19:12 (UTC)

Got a new computer and needed this to build, so I just made temporary symlinks in /usr/include to all the C header files in /usr/include/harfbuzz. It's dirty, but it works. You're gonna want to remove the symlinks when you're done or at least until you've built everything you need to that relies on this wonky pango.

uffe commented on 2019-08-14 15:24 (UTC) (edited on 2019-08-14 15:25 (UTC) by uffe)

NOTE: (2019-08-14)

Recent pango (package) releases have created a problem related to inclusion of harfbuzz/hb.h file. The problem will prevent CodeLite and other applications from compiling properly. Currently CodeLite will not compile unless the cmakefiles are hacked - but I'm still hoping for an upstream pango/harfbuzz fix...

uffe commented on 2019-04-09 14:28 (UTC)

@schnedan my comment about stable relases only relates to codelite itself - it has nothing to do with not wanting to accept a patch - which I have applied now.

schnedan commented on 2019-04-04 21:38 (UTC)

Thanks to hpmachining. Works like a charm. Hint: I needed to adjust the md5sum...

Well personally I think the maintainer comment is... lets say bullshit. The community should focus on a working system. For me the computer is a productivity tool, and a IDE especially. If we can fix it we should. Waiting for upstream to appear on my computer broke my systems to often for my taste.

so again: thanks folks for getting the work done!

jazztickets commented on 2019-04-04 15:32 (UTC)

Maybe it's time for an orphan request.

hpmachining commented on 2019-04-04 15:24 (UTC)

I'm not the maintainer, so I can't update the PKGBUILD.

jazztickets commented on 2019-04-04 15:22 (UTC)

Ah, got it. Could you update the PKGBUILD to reflect those changes? It seems to work fine for me.

hpmachining commented on 2019-04-04 14:44 (UTC)

@jazztickets see my previous comments. The patches I posted should fix that error.

hpmachining commented on 2019-01-29 17:17 (UTC)

The issue with mariadb 10.3 has been fixed upstream. Here is a patch for the fix.


diff --git a/sdk/databaselayer/CMakeLists.txt b/sdk/databaselayer/CMakeLists.txt
index b7632bc7d..23907a5ad 100644
--- a/sdk/databaselayer/CMakeLists.txt
+++ b/sdk/databaselayer/CMakeLists.txt
@@ -56,6 +56,18 @@ if ( WITH_MYSQL )
     message("-- Adding MySQL include path: ${MYSQLCLIENT_INCLUDE} ")
     FILE(GLOB MYSQL_SRCS "src/dblayer/Mysql*.cpp")
+# Recent (2019) versions of debian and Arch have mariadb 10.3 which, it seems, isn't directly compatable with the included dblayer source
+# It has a necessary header file in /usr/include/mariadb/server/ so flag to #include it if it exists
+# See
+    find_path(MARIADBSERVER_INCLUDE NAMES mysql.h PATH_SUFFIXES mysql/server mariadb/server)
+        add_definitions( -DMARIADBSERVER_INCLUDE=1 )
+        message( "-- Adding MySQL server include" )
 endif ( WITH_MYSQL )

 # Define the output
diff --git a/sdk/databaselayer/src/dblayer/MysqlPreparedStatementWrapper.cpp b/sdk/databaselayer/src/dblayer/MysqlPreparedStatementWrapper.cpp
index 699df3a53..3cac9b6c6 100644
--- a/sdk/databaselayer/src/dblayer/MysqlPreparedStatementWrapper.cpp
+++ b/sdk/databaselayer/src/dblayer/MysqlPreparedStatementWrapper.cpp
@@ -1,3 +1,9 @@
+// See
+// (For some reason this needs to come before the other #includes)
+    #include "server/mysql.h"
 #include "../include/MysqlPreparedStatementWrapper.h"
 #include "../include/MysqlPreparedStatementResultSet.h"
 #include "../include/MysqlDatabaseLayer.h"
diff --git a/sdk/databaselayer/src/dblayer/MysqlResultSetMetaData.cpp b/sdk/databaselayer/src/dblayer/MysqlResultSetMetaData.cpp
index a22963a9a..831708d23 100644
--- a/sdk/databaselayer/src/dblayer/MysqlResultSetMetaData.cpp
+++ b/sdk/databaselayer/src/dblayer/MysqlResultSetMetaData.cpp
@@ -1,5 +1,5 @@
 #include "../include/MysqlResultSetMetaData.h"
-#include "mysql_com.h"
+#include "mysql.h"

 // ctor
 MysqlResultSetMetaData::MysqlResultSetMetaData(MysqlInterface* pInterface, MYSQL_RES* pMetaData)

Here is a patch to update PKGBUILD


diff --git a/PKGBUILD b/PKGBUILD
index 86485d9..ca19afb 100644
@@ -12,7 +12,7 @@

 pkgdesc="Cross platform C/C++/PHP and Node.js IDE written in C++"
 arch=('i686' 'x86_64')
@@ -22,7 +22,7 @@ depends=('wxgtk'
           'clang' 'lldb'
-          'libmariadbclient'
+          'mariadb-libs'
           'xterm' 'curl'
@@ -34,10 +34,15 @@ optdepends=('graphviz: callgraph visualization'
              'valgrind: debugger'

+  "${pkgname}-${pkgver}.tar.gz::${pkgname}/archive/${pkgver//_/-}.tar.gz"
+  mariadb_10_3.patch

-         '20f3428eb831c3ff2539a7228afaa3b4')
+         '20f3428eb831c3ff2539a7228afaa3b4'
+         'd6da3b478ec7577abd05d8183d20a705')

 #if [[ "$CARCH" == 'i686' ]]; then
@@ -52,6 +57,11 @@ noextract=('')


+prepare() {
+  cd "${srcdir}/${pkg_name_ver}"
+  patch -p1 -i "${srcdir}"/mariadb_10_3.patch
 # 20151027: ArchLinux clang/llvm-3.7: CommandLine Error: Option 'aarch64-reserve-x18' registered more than once
 # 20151027: -DENABLE_LLDB=0: ArchLinux clang/llvm-3.7: CommandLine Error: Option 'aarch64-reserve-x18' registered more than once
 # 20151027: sudo chmod 000 /usr/lib/codelite/

hpmachining commented on 2019-01-19 15:58 (UTC) (edited on 2019-01-19 21:17 (UTC) by hpmachining)

It looks like the change from libmariadbclient 10.1.37 to mariadb-libs 10.3.12 has broken this build. I can provide the full build log if needed, but here is the error:

build/codelite/src/codelite-12.0/sdk/databaselayer/src/dblayer/MysqlPreparedStatementWrapper.cpp:97:25: error: ‘MYSQL_STMT’ {aka 
‘struct st_mysql_stmt’} has no member named ‘affected_rows’; did you mean ‘prefetch_rows’?
   return (m_pStatement->affected_rows);
make[2]: *** [sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/build.make:284: sdk/databaselayer/CMakeFiles/databaselayersqlit
e.dir/src/dblayer/MysqlPreparedStatementWrapper.cpp.o] Error 1

Changing affected_rows to prefetch_rows does enable the build to complete, but I don't know what affected_rows and prefetch_rows are, so I don't know if that is an appropriate fix.


After some digging, I found that mariadb-libs 10.3.12 (the latest version) has 2 mysql.h files. One in /usr/include/mysql and one in /usr/include/mysql/server. There was only 1 in version 10.1.37 (previous version in Arch). It looks like the one in the server directory is the one that was used in libmariadbclient 10.1.37.

If I change line 15 in sdk/databaselayer/include/wx/dblayer/include/MysqlPreparedStatementWrapper.h from #include "mysql.h" to #include "server/mysql.h" the package will build. There are 7 other files that have #include "mysql.h". They are not causing the build to fail, but it does build if I change them all. So as a possible fix I added the following to the PKGBUILD.

prepare() {
cd "${srcdir}/${pkg_name_ver}"
sed -i 's%#include "mysql.h"%#include "server/mysql.h"%' $(grep -rl '#include "mysql.h"')

I don't know if this is the correct fix. It seems to work but I don't know how to test it properly.

mimagind commented on 2018-08-18 19:50 (UTC)

This fails to build with MySQL support enabled if libmysqlclient>=8 is installed.

sankasan commented on 2018-02-04 09:45 (UTC)

Is there a way to get an older clang version compatible as well?

Clang 5.0 doesn't cut it for all projects and codelite (and codelite-bin) now depend on it. It would be useful if clang35 (and potentially clang39) would be accepted as valid alternatives.

guzzard commented on 2017-10-27 21:22 (UTC)

I'm unable to find wxCrafter anywhere? Seems like the plugin is not working?

jmscaramal commented on 2017-08-10 17:08 (UTC)

Rebuilding it, as mentioned by schnedan, solves the problem with wx****lib errors.

schnedan commented on 2017-08-02 20:01 (UTC)

After suffering the same problems (wx stuff lib errors) and the same with clang, I just rebuild codelite, compiled without errors, installed the package and the good news: it works!

uffe commented on 2017-06-12 11:49 (UTC)

NOTE: recent updates of wxgtk2 and wxgtk-common results in the following error when starting codelite: undefined symbol: _ZTV15wxWebViewWebKit undefined symbol: vtable for wxWebViewWebKit undefined reference to `vtable for wxWebViewWebKit' [2017-06-12 10:19] [ALPM] upgraded wxgtk-common ( -> [2017-06-12 10:19] [ALPM] upgraded wxgtk2 ( -> Downgrading to these version is a temporary workaround: wxgtk2- wxgtk-common- I've filed a bug report on wxgtk2 here:

zza commented on 2016-12-16 06:51 (UTC)

use symlink to old library temporarily: sudo ln -s /usr/lib/ /usr/lib/

zerophase commented on 2016-11-17 20:15 (UTC)

Doesn't work with clang 3.9

duckbrain commented on 2016-11-13 14:48 (UTC)

I am now getting this error: codelite: error while loading shared libraries: cannot open shared object file: No such file or directory It looks like clang updated to 3.9.

jgmdev commented on 2016-10-02 14:13 (UTC)

This is a better description as found on github repo: "A cross platform C/C++/PHP and Node.js IDE written in C++"

jgmdev commented on 2016-10-01 18:36 (UTC)

Please update the description to: "A Free, open source, cross platform C,C++,PHP and Node.js IDE" as found on site Since now codelite is more than C/C++ IDE

jgmdev commented on 2016-10-01 18:27 (UTC)

The hunspell package is missing as a dependency, and it is needed for the spellchecker plugin.

uffe commented on 2016-09-26 11:43 (UTC)

@pattisahusiwa: please read the newly pinned comment on codelite stable releases /thanks :-)

uffe commented on 2016-09-26 11:42 (UTC) (edited on 2020-07-27 18:21 (UTC) by uffe)

ATTENTION: read this before flagging this package out-of-date

This package "codelite" represents the stable release of the codelite project.

I do not consider the "Weekly Builds" from as stable releases (neither does the codelite project)

Generally speaking - this package will not be updated before the codelite release/download page ( have a new stable release published.

Please respect that - Thanks

PS: to clear up a recent misunderstanding - this does not mean that I won't accept patches that is needed for stable codelite to build against refreshed libraries etc

PS: I have added new "codelite-unstable" package to AUR that follows the weekly/latest builds from the codelite project.

zerophase commented on 2016-09-12 08:33 (UTC)

@zza The only thing I could suggest if you're running out of memory is compiling without -pipe, and maybe try compiling a second time. (Would need to install with makepkg for that I believe, and not yaourt) When I compile Unreal I usually fail the first time, and have to try a second time.

uffe commented on 2016-09-12 08:25 (UTC)

@zza The error: *** Error in `/usr/lib/gcc/i686-pc-linux-gnu/6.1.1/cc1plus': malloc(): smallbin double linked list corrupted: 0x0af423f0 *** Is an error in the (GCC) c++ compiler backend - it is not related to codelite The error should be reported to the on the GCC compiler for i686 Codelite is a fairly large C++ project - is your i686 system low on memory or similar ? Anyway I do not have a i686 system - so I cannot help you here - other than suggesting that you report the error to the GCC folks

zza commented on 2016-09-11 04:59 (UTC)

Attempted to install codelite 9.2-1 (on i686) via command: $ yaourt -S codelite While compiling received the following error 4% into the compile process: [ 4%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/TextShape.cpp.o *** Error in `/usr/lib/gcc/i686-pc-linux-gnu/6.1.1/cc1plus': malloc(): smallbin double linked list corrupted: 0x0af423f0 *** ======= Backtrace: ========= /usr/lib/[0xb73e0d2a] /usr/lib/[0xb73e79c7] /usr/lib/[0xb73e9c70] /usr/lib/[0xb73eb3d5] /usr/lib/gcc/i686-pc-linux-gnu/6.1.1/cc1plus(xmalloc+0x18)[0x8d8f5a8] /usr/lib/gcc/i686-pc-linux-gnu/6.1.1/cc1plus(splay_tree_insert+0x43)[0x8d8f093] /usr/lib/gcc/i686-pc-linux-gnu/6.1.1/cc1plus(_Z29maybe_note_name_used_in_classP9tree_nodeS0_+0x78)[0x8274268] /usr/lib/gcc/i686-pc-linux-gnu/6.1.1/cc1plus[0x82ae42e] /usr/lib/gcc/i686-pc-linux-gnu/6.1.1/cc1plus[0x82ae6e0] /usr/lib/gcc/i686-pc-linux-gnu/6.1.1/cc1plus[0x82b9f5d] /usr/lib/gcc/i686-pc-linux-gnu/6.1.1/cc1plus[0x829d58d] /usr/lib/gcc/i686-pc-linux-gnu/6.1.1/cc1plus[0x82ae5fe] /usr/lib/gcc/i686-pc-linux-gnu/6.1.1/cc1plus[0x82b82b4] /usr/lib/gcc/i686-pc-linux-gnu/6.1.1/cc1plus[0x82b876d] /usr/lib/gcc/i686-pc-linux-gnu/6.1.1/cc1plus[0x82bef95] /usr/lib/gcc/i686-pc-linux-gnu/6.1.1/cc1plus[0x82bdafa] /usr/lib/gcc/i686-pc-linux-gnu/6.1.1/cc1plus(_Z12c_parse_filev+0x25b)[0x82bde0b] /usr/lib/gcc/i686-pc-linux-gnu/6.1.1/cc1plus(_Z19c_common_parse_filev+0xdc)[0x838449c] /usr/lib/gcc/i686-pc-linux-gnu/6.1.1/cc1plus[0x8704d0e] /usr/lib/gcc/i686-pc-linux-gnu/6.1.1/cc1plus(_ZN6toplev4mainEiPPc+0x68f)[0x820c2cf] /usr/lib/gcc/i686-pc-linux-gnu/6.1.1/cc1plus(main+0x31)[0x820e391] /usr/lib/[0xb7391196] /usr/lib/gcc/i686-pc-linux-gnu/6.1.1/cc1plus[0x820e785] ======= Memory map: ======== 08048000-0986b000 r-xp 00000000 08:01 916019 /usr/lib/gcc/i686-pc-linux-gnu/6.1.1/cc1plus 0986b000-0986f000 r--p 01822000 08:01 916019 /usr/lib/gcc/i686-pc-linux-gnu/6.1.1/cc1plus 0986f000-09877000 rw-p 01826000 08:01 916019 /usr/lib/gcc/i686-pc-linux-gnu/6.1.1/cc1plus 09877000-0996c000 rw-p 00000000 00:00 0 0ac60000-0aff0000 rw-p 00000000 00:00 0 [heap] ae600000-ae621000 rw-p 00000000 00:00 0 ae621000-ae700000 ---p 00000000 00:00 0 ae755000-ae771000 r-xp 00000000 08:01 265238 /usr/lib/ ae771000-ae772000 r--p 0001b000 08:01 265238 /usr/lib/ ae772000-ae773000 rw-p 0001c000 08:01 265238 /usr/lib/ ae773000-b243d000 rw-p 00000000 00:00 0 b247d000-b71df000 rw-p 00000000 00:00 0 b71df000-b7377000 r--p 00000000 08:01 279658 /usr/lib/locale/locale-archive b7377000-b7379000 rw-p 00000000 00:00 0 b7379000-b752b000 r-xp 00000000 08:01 266734 /usr/lib/ b752b000-b752c000 ---p 001b2000 08:01 266734 /usr/lib/ b752c000-b752e000 r--p 001b2000 08:01 266734 /usr/lib/ b752e000-b752f000 rw-p 001b4000 08:01 266734 /usr/lib/ b752f000-b7532000 rw-p 00000000 00:00 0 b7532000-b7585000 r-xp 00000000 08:01 268964 /usr/lib/ b7585000-b7586000 ---p 00053000 08:01 268964 /usr/lib/ b7586000-b7587000 r--p 00053000 08:01 268964 /usr/lib/ b7587000-b7588000 rw-p 00054000 08:01 268964 /usr/lib/ b7588000-b759e000 r-xp 00000000 08:01 267342 /usr/lib/ b759e000-b759f000 r--p 00015000 08:01 267342 /usr/lib/ b759f000-b75a0000 rw-p 00016000 08:01 267342 /usr/lib/ b75a0000-b75a3000 r-xp 00000000 08:01 268963 /usr/lib/ b75a3000-b75a4000 r--p 00002000 08:01 268963 /usr/lib/ b75a4000-b75a5000 rw-p 00003000 08:01 268963 /usr/lib/ b75a5000-b762d000 r-xp 00000000 08:01 265387 /usr/lib/ b762d000-b762e000 r--p 00087000 08:01 265387 /usr/lib/ b762e000-b762f000 rw-p 00088000 08:01 265387 /usr/lib/ b762f000-b7698000 r-xp 00000000 08:01 267193 /usr/lib/ b7698000-b7699000 ---p 00069000 08:01 267193 /usr/lib/ b7699000-b769a000 r--p 00069000 08:01 267193 /usr/lib/ b769a000-b769b000 rw-p 0006a000 08:01 267193 /usr/lib/ b769b000-b76b7000 r-xp 00000000 08:01 273424 /usr/lib/ b76b7000-b76b8000 r--p 0001b000 08:01 273424 /usr/lib/ b76b8000-b76b9000 rw-p 0001c000 08:01 273424 /usr/lib/ b76b9000-b76e1000 rw-p 00000000 00:00 0 b76e1000-b76e2000 r--p 00197000 08:01 279658 /usr/lib/locale/locale-archive b76e2000-b76e4000 rw-p 00000000 00:00 0 b76e4000-b76e6000 r--p 00000000 00:00 0 [vvar] b76e6000-b76e7000 r-xp 00000000 00:00 0 [vdso] b76e7000-b7709000 r-xp 00000000 08:01 266733 /usr/lib/ b7709000-b770a000 r--p 00021000 08:01 266733 /usr/lib/ b770a000-b770b000 rw-p 00022000 08:01 266733 /usr/lib/ bf923000-bf945000 rw-p 00000000 00:00 0 [stack] In file included from /tmp/yaourt-tmp-guest/aur-codelite/src/codelite-9.2/sdk/wxshapeframework/include/wx/wxsf/Printout.h:15:0, from /tmp/yaourt-tmp-guest/aur-codelite/src/codelite-9.2/sdk/wxshapeframework/include/wx/wxsf/ShapeCanvas.h:24, from /tmp/yaourt-tmp-guest/aur-codelite/src/codelite-9.2/sdk/wxshapeframework/src/TextShape.cpp:18: /usr/include/wx-3.0/wx/printdlg.h:61:13: internal compiler error: Aborted virtual wxPrintDialogData& GetPrintDialogData(); ^~~~~~~~~~~~~~~~~ Please submit a full bug report, with preprocessed source if appropriate. See <> for instructions.

uffe commented on 2016-08-26 18:20 (UTC)

@Gendalf: you have flagged codelite out-of-date - but main-page mentions nothing of Codelite-9.2.1 Generally speaking the github release page ( needs to have the release published before I will push a new release Thx/Uffe :-)

zerophase commented on 2016-08-02 03:58 (UTC)

@fusion809 Is Clang 3.8 required to open Codelite? With having Clang as a required dependency it prevents changing Clang versions from the official repos.

fusion809 commented on 2016-08-01 13:26 (UTC)

Ah clang is listed as both an optional and runtime dependency. I think it should be listed as a runtime or optional dependency. As if someone has this package installed and it's a runtime dependency they should already have the package installed and hence it isn't really an optional dependency.

zerophase commented on 2016-07-30 16:45 (UTC)

I'm just referring to clang 3.8 as being a necessary dependency for building the ide. would it make sense to have clang as a makedepend?

uffe commented on 2016-07-30 11:56 (UTC)

Yes, if you have clang-3.5 installed - go into menu Settings -> Build settings... In the dialog you can scan your computer for the compilers that you have installed. Select the one you prefer..

zerophase commented on 2016-07-29 23:18 (UTC)

Does 9.2-1 compile with clang 3.5? On occasion I need to drop back to clang 3.5 for a custom Unreal build.

uffe commented on 2016-02-06 00:05 (UTC)

Updated to codelite 9.1.0

norby commented on 2015-10-27 15:41 (UTC)

Thanks, nickname! I thought that this problem is resolved in the latest version, so I left out the comments. P.S. Sorry for my bad English :(

nickname commented on 2015-10-26 17:25 (UTC)

Hi norby. This happens (most probable) because of the lldb 3.7 version. See the two different solutions uffe provides on the comments below the other logs (mismatch) are displayed every time anyway

norby commented on 2015-10-26 17:16 (UTC)

The application fails to start: Warning: Mismatch between the program and library build versions detected. The library used 3.0 (wchar_t,compiler with C++ ABI 1008,wx containers,compatible with 2.8), and your program used 3.0 (wchar_t,compiler with C++ ABI 1009,wx containers,compatible with 2.8)

uffe commented on 2015-10-23 08:43 (UTC)

bumped to 9.0

uffe commented on 2015-10-06 07:03 (UTC)

This worked for me - as a temporary workaround: sudo chmod 000 /usr/lib/codelite/

nickname commented on 2015-10-06 06:01 (UTC)

Indeed. But I would have to re-compile it... (and it takes sometime) If the problem persist it will be the only way out in the next release anyway so...

uffe commented on 2015-10-05 11:47 (UTC)

You could try to change -DENABLE_LLDB=1 into -DENABLE_LLDB=0 in the PKGBUILD file. That should work with lldb-3.7.x

nickname commented on 2015-10-05 10:46 (UTC) (edited on 2015-10-05 10:47 (UTC) by nickname)

found it! It was caused by "lldb 3.7.0" I downgrade it to 3.6.2-4 to make it work. more specific: (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /usr/bin/codelite [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/". 13:43:55: Warning: Mismatch between the program and library build versions detected. The library used 3.0 (wchar_t,compiler with C++ ABI 1008,wx containers,compatible with 2.8), and your program used 3.0 (wchar_t,compiler with C++ ABI 1009,wx containers,compatible with 2.8). [New Thread 0x7fffdcad8700 (LWP 22667)] [New Thread 0x7fffd7fff700 (LWP 22668)] [New Thread 0x7fffd77fe700 (LWP 22669)] [New Thread 0x7fffd6b3e700 (LWP 22671)] [New Thread 0x7fffd633d700 (LWP 22672)] [New Thread 0x7fffd5b3c700 (LWP 22673)] [Thread 0x7fffd6b3e700 (LWP 22671) exited] [New Thread 0x7fffd533b700 (LWP 22674)] [New Thread 0x7fffd4b3a700 (LWP 22675)] [New Thread 0x7fffbffff700 (LWP 22676)] [New Thread 0x7fffbf7fe700 (LWP 22677)] [New Thread 0x7fffbeffd700 (LWP 22678)] [New Thread 0x7fffbe7fc700 (LWP 22679)] [New Thread 0x7fffbdffb700 (LWP 22680)] [New Thread 0x7fffbd7fa700 (LWP 22681)] [New Thread 0x7fffbcff9700 (LWP 22682)] [New Thread 0x7fff9bfff700 (LWP 22683)] Program received signal SIGSEGV, Segmentation fault. 0x00007fff90af30a0 in ?? () from /usr/lib/ (gdb) q A debugging session is active.

nickname commented on 2015-10-05 10:16 (UTC)

Does anyone have problem starting codelite the last days? Since friday it failes to might be caused by an update but I am still trying to figure it out...

uffe commented on 2015-08-04 11:11 (UTC)

Done :)

nickname commented on 2015-05-12 06:34 (UTC)

@uffe thanks for your answer! Also thanks for providing us codelite!

uffe commented on 2015-05-11 22:20 (UTC)

@nickname: not all packages compile without changes - previously codelite had to be patched before it could compile on archlinix. The last releases all compile smoothly without any problems on archlinux - but it can easily break again in a later release. Not all people are comfortable with building and/or patching - they get an helping hand by using makepkg and helpers such as yaourt etc.

uffe commented on 2015-05-11 19:50 (UTC)

updated to codelite-8.0-1 (not 8.0)

nickname commented on 2015-05-11 10:17 (UTC)

Can you plz tell me what benefits I gain by using pkgbuild vs compiling it from the source by-passing pacman tool? (besides the obvious that pacman will be aware of codelite) I mean on my way to install the new version of codelite I compiled it once by downloading the code from the site and using cmake. After that (and before I run make install) I did the same by modifing the pkgbuild for 7.0-3 and it worked the same way. Anyway the pkgbuild that worked on mine laptop is: pkgname=codelite pkgver=8.0 pkgrel=1 pkgdesc="Open-source, cross platform IDE for the C/C++ programming languages" arch=('i686' 'x86_64') url="" license=('GPL') depends=('wxgtk' 'curl' 'webkitgtk2' 'libssh' 'xterm' 'python2' 'libedit' 'ncurses' 'valgrind' 'libmariadbclient' 'lldb') makedepends=('pkgconfig' 'cmake') optdepends=('graphviz: callgraph visualization') source=(${pkgname}/archive/${pkgver}.tar.gz md5sums=('f66e5b01a7a6e60ab88110056d904a6f' '093485fcae62073ca8d0ba6ff3a5cb69') noextract=('') build() { cd "${srcdir}/${pkgname}-${pkgver}" CXXFLAGS="${CXXFLAGS} -fno-devirtualize" mkdir -p build cd build cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DENABLE_CLANG=1 -DENABLE_LLDB=1 -DWITH_MYSQL=1 -DCMAKE_INSTALL_LIBDIR=lib .. make } package() { cd "${srcdir}/${pkgname}-${pkgver}/build" make -j1 DESTDIR="${pkgdir}" install install -m 644 -D "${srcdir}/" "${pkgdir}/usr/share/codelite/" install -m 644 -D "${srcdir}/${pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }

enkeyz commented on 2015-05-10 19:57 (UTC)

CodeLite 8.0 available. Please update the package. Thanks!

BeenEncoded commented on 2015-04-29 18:58 (UTC)

@uffe iirc, it was LLDB. After I was able to use it, though, I found that it did not show any debug info when debugging a program compiled by clang. I havn't looked into the iddue since. I just compile with GNU when I want to debug. I havn't tried the new package, so it might work properly now.

uffe commented on 2015-04-10 21:03 (UTC)

Changes between codelite-7.0-2 and codelite-7.0-3: - now depends on extra/lldb (previously lldb-svn) - builds with -DENABLE_LLDB=1

uffe commented on 2015-04-10 15:13 (UTC)

Changes between codelite-7.0-1 and codelite-7.0-2: added libmariadbclient as dependency now compiles with -DWITH_MYSQL=1

uffe commented on 2015-03-16 11:33 (UTC)

@BeenEncoded: regarding the libtinfo. I do not have any libtinfo related package on my system - and I use codelite every day - without any problem A file system search (find / -name 'libtinfo*' 2>/dev/null) also confirms that no libtinfo is on the system. I need some more info: What plugin is causing problems etc ? Thanks

BeenEncoded commented on 2015-03-10 18:36 (UTC)

Please add libtinfo as a required dependency. Here's why: [ 18:39:37:440 ERR ] cannot open shared object file: No such file or directory Codelite looks for it, and you can't use some plugins without it.

richcocoa commented on 2014-12-13 19:31 (UTC)

@migrev, using wxCrafter binaries for Fedora compiled against wxWidgets 3.0.0 available at seems to work. I have not tested extensively, but manually copy-pasting the files causes the wxCrafter plugin to be loaded and it seems to work fine. You might want to modify the PKGBUILD to include this, so that we get wxCrafter bundled by default. And thanks for maintaining this package.

migrev commented on 2014-08-25 15:12 (UTC)

Updated to 6.1, with Valgrind a as new dependency. The wxCrafter plugin has not been included for now, as upstream must provide the binary packages for Arch. Will make a new release once those are available. Enjoy.

uffe commented on 2014-08-18 12:53 (UTC)

Rebuilding codelite seems to have fixed the previously reported issue: > >$ codelite > codelite: relocation error: /usr/lib/codelite/ symbol _ZThn600_N14wxTextCtrlBase8overflowEi, version WXU_3.0 not defined in file with link time reference > Is there some way with aur that is it possible to automatically trigger such rebuild ?

uffe commented on 2014-08-18 11:33 (UTC)

codelite have been working since its last update 2014-06-06 But extra/wxgtk was recently updated (2014-08-15) after that codelite will not start: $ codelite codelite: relocation error: /usr/lib/codelite/ symbol _ZThn600_N14wxTextCtrlBase8overflowEi, version WXU_3.0 not defined in file with link time reference

ioquatix commented on 2014-06-12 01:48 (UTC)

Why do you depend on libtinfo, shouldn't you just depend directly on ncurses? EDIT: Okay, so I just manually removed libtinfo and everything appears to be working fine (e.g. builds, runs). Perhaps this dependency can be made optional or removed?

dpriedel commented on 2014-06-06 15:58 (UTC)

In trying to build the 6.0.1 version the build would fail with unresolved symbol errors. I discoverd that the build was failing due to conflicts with an installed version of the codelite-bin package (which I had planned on removing after completing the build of this package). After removing codelite-bin, the build completed successfully. Thanks!! Dave Riedel

migrev commented on 2014-06-06 09:46 (UTC)

Updated to 6.0.1 and wxCrafter plugin now working (thanks Eran Ifrah @codelite for his help). @roheim: I have added lldb-svn as an optional dependendy, as it is actually not needed either for building or running, unless you explicitly want to use that debugger. But thanks for pointing it.

roheim commented on 2014-06-05 21:13 (UTC)

I would recommend to add lldb as a dependecy.

roheim commented on 2014-06-05 21:10 (UTC)

6.0.1 is out:

migrev commented on 2014-06-05 12:10 (UTC)

Updated to 6.0. Found a workaround for the gcc 4.9 problems and will use it until the issue is fixed upstream. wxCrafter plugin is NOT working, as the Fedora build that previously did fails to find some symbols in wxGTK. Have just asked CodeLite upstream to make a build for Arch Linux, but we'll have to wait for a response. Also, added xterm as a depend as pointed by debio264.

migrev commented on 2014-05-20 11:25 (UTC)

I can confirm gcc4.9 problems. Looks like it is definitely an issue of wx3.0+gcc4.9. Will wait until a fix is found to bump version, including the 'xterm' dependency at that time.

npzaak commented on 2014-05-19 07:52 (UTC)

I have same issue debio264 has. I looked into this problem roughly and found strange behavior of gcc4.9. If wxCommandEvent instantiate in two or more functions, somehow gcc create the reference to "wxCommandEvent::Clone()" which is NOT used obviously. Furthermore gcc ignore the definition of wxCommandEvent::Clone() in class definition. It seems bug of gcc or problem of combination of gcc and other library, because some people can't reproduce it. I don't have so much time to investigate true problem, but I just found the workaround. Adding function call to wxCommandEvent::Clone in Plugin/search_thread.cpp can avoid this problem. (deleting cloned instance is also necessary.) But this is really dirty workaround...

debio264 commented on 2014-05-17 02:33 (UTC)

Two issues: - I also could not build with GCC 4.9. It did build with 4.8. - This package needs to depend on xterm. See

underdoeg commented on 2014-05-06 11:01 (UTC)

After installing gcc-4.8 codelite compiled fine on my system

underdoeg commented on 2014-05-05 13:45 (UTC)

Thanks for your answer. Did it build correctly on your machine? I still have the issue and it seems like I am not the only one. These links are related to other wxWidgets enabled projects and gcc 4.9;topicseen

migrev commented on 2014-05-03 16:46 (UTC)

I have all packages updated and can't reproduce the error. Codelite works just fine.

underdoeg commented on 2014-05-03 16:44 (UTC)

Just tried it on my laptop as well and there I don't have the error. My laptop is not as up to date. But the only update that might be relevant is core/gcc-libs 4.8.2-8 -> 4.9.0-1 core/gcc 4.8.2-8 -> 4.9.0-1

underdoeg commented on 2014-05-03 11:31 (UTC)

I get this error. Looks like its related to wxgtk. /home/phwhitfield/softwareSources/codelite-5.4/build-release/lib/ undefined reference to `wxCommandEvent::Clone() const' collect2: error: ld returned 1 exit status

Grotlek commented on 2014-04-13 03:07 (UTC)

This package ought be in community/extras. It's better by far than some of the alternatives already in there :-). It has my +1.

rprego commented on 2014-01-21 22:46 (UTC)

I think there is not an Arch-compatible wxCrafter library for the current version. I added a bug for it:

rprego commented on 2014-01-17 03:12 (UTC)

I'm on x86_64 Here's the output of ldd /usr/lib/codelite/

migrev commented on 2014-01-16 12:25 (UTC)

@rprego: Which architecture do you have (i686 or x86_64)? Can you check if any libs are missing with 'ldd /usr/lib/codelite/'? Thanks!

rprego commented on 2014-01-16 04:19 (UTC)

When I create a new wxWidgets project, I get a message that says the wxCrafter plugin is not installed... how do I install it? As far as I can tell, is in /usr/lib/codelite. Thanks for any help

migrev commented on 2014-01-13 23:53 (UTC)

Updated to 5.4 along with wxCrafter 1.4 @ghotrix: This also fixes your 404.

ghotrix commented on 2014-01-13 22:29 (UTC)

Downloading of gives me 404 error.

migrev commented on 2013-10-23 12:19 (UTC)

Updated to 5.3 along with wxCrafter 1.3

pschmitt commented on 2013-10-22 11:32 (UTC)

Codelite 5.3.0 is out.

migrev commented on 2013-07-15 21:47 (UTC)

@jazztickets Fixed, thanks for pointing it.

jazztickets commented on 2013-07-15 20:46 (UTC)

PKGBUILD is currently broken - webkitgtk2 needs to be added as a dependency.

commented on 2013-07-15 13:23 (UTC)

WxCrafter download returns 404

SoleSoul commented on 2013-07-09 05:34 (UTC)

Missing dependency? I get many errors like that and compilation fails: /usr/bin/ld: warning:, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../lib/, not found (try using -rpath or -rpath-link) /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../lib/ undefined reference to `webkit_dom_document_get_default_view'

migrev commented on 2013-07-06 09:06 (UTC)

5.1-5 bump. Included wxcrafter 1.1 plugin.

migrev commented on 2013-05-18 11:20 (UTC)

@Huulivoide: Found like that when I adopted the PKG and really didn't had a second thought about it. Will fix for the next release, but probably doesn't call for a bump now, as this is a rather large package and forcing the upgrade will make more bad than good. Will check the lib thing, too. Thanks for pointing it.

Huulivoide commented on 2013-05-18 11:12 (UTC)

Why is make -j2 hardcoded into the PKGBUILD? I usually trust PKGBUILDs to be in order and rarely read them before building them. Now it took a hell of long to build this, just becouse a small fraction pf my CPU power was given to this task. Please remove it. Also you should check if the cmake allows moving the lib64 files to regular lib/ instead.

migrev commented on 2013-04-18 10:27 (UTC)

@TrueBers: please, try with this PKGBUILD and inform on the outcome. Thx.

TrueBers commented on 2013-04-18 08:56 (UTC)

I have an error... pls check

migrev commented on 2013-04-15 09:40 (UTC)

That's true! :) Bumping.

kalio commented on 2013-04-15 09:29 (UTC)

'cmake' should be added as a make dependency.

SoleSoul commented on 2013-04-05 11:28 (UTC)

5.1 is announced on their main page.

BlackIkeEagle commented on 2013-03-26 20:17 (UTC)

its not stated on their website 5.1 is a stable version but the 5.1 packages are indeed available for other distributions

jorge_barroso commented on 2013-03-22 23:07 (UTC)

Version 5.1 released:

nem commented on 2013-02-14 21:56 (UTC)

i'm done with arch. feel free to adopt.

ackalker commented on 2013-02-04 23:57 (UTC)

Please add 'graphviz' to optdepends for viewing call graphs. Thank you.

SoleSoul commented on 2013-01-28 10:06 (UTC)

Thanks for the prompt update.

nem commented on 2012-05-30 17:21 (UTC)

there is no problem compiling this version on x86_64. any problem you have is not related to the architecture.

mrbit commented on 2012-01-27 18:32 (UTC)

ok, with codelite-x86_64

Zeph commented on 2012-01-26 09:27 (UTC) This is the stable version 3.5.5378 Direct download bin from sourceforge for ubuntu 64. No need compil, work nice with wxgtk from repo [extra].

mrbit commented on 2012-01-23 19:53 (UTC)

wxgtk: checking for Xinerama... no configure: WARNING: Xinerama not found; disabling wxDisplay checking for -lSM - X11 session management... no configure: WARNING: libSM not found; disabling session management detection checking for OpenGL headers... found in /usr/include checking for GL/gl.h... yes checking GL/glu.h usability... yes checking GL/glu.h presence... yes checking for GL/glu.h... yes checking for -lGL... no checking for -lMesaGL... no configure: error: OpenGL libraries not available ==> ERRORE:

commented on 2012-01-04 17:01 (UTC)

If you are getting wxRE_ADVANCED error try this: 1. Go to 2. Download the script and save it to PKGBUILD 3. Go to the directory where you save the PKGBUILD and run "makepkg -i" 4. Then try to build codelite Note: 1. The PKGBUILD is from ABS but I add --with-regex=builtin 2. This work for me on a 64Bit system 3. codelite-svn doesn't work with this

commented on 2012-01-01 13:17 (UTC)

Cannot get this to work, Tried installing wxgtk from ABS, where tried installing wxgtk (before codelite), with --with-regex=sys and --with-regex=builtin It doesn't make a difference for me, still get the "Plugin/search_thread.cpp:104:15: error: 'wxRE_ADVANCED' was not declared in this scope" etc. error as in the post by VlaoMao (ps the same happens when using codelite-svn)

nem commented on 2011-12-20 16:46 (UTC)

update your wx, see: bugreport: fix:

VlaoMao commented on 2011-12-20 09:02 (UTC)

What it is? System arch x86_64 installed all dependencies. try build: Plugin/search_thread.cpp: In member function 'wxRegEx& SearchThread::GetRegex(const wxString&, bool)': Plugin/search_thread.cpp:104:15: error: 'wxRE_ADVANCED' was not declared in this scope make: *** [Release_gcc_unicode/SDKObjects_search_thread.o] Error 1 make: *** Waiting for unfinished jobs....

nem commented on 2011-09-11 17:48 (UTC)

BEFORE FLAGGING OUT OF DATE check the codelite homepage and look if there's actually a new STABLE VERSION. the latest stable version is - so everything is FINE. if you would leave a comment upon flagging you probably stumble across these thoughts.

nem commented on 2011-09-02 09:00 (UTC)

this is the stable version which gets released every few months. if you want every new patch immediately use the codelite-svn package. it always fetches the most recent version (even though the PKGBUILD version says otherwise).

rggjan commented on 2011-09-01 14:28 (UTC)

codelite_3.0.0.5046 is out...

commented on 2011-07-16 15:37 (UTC)

Not sure if this causes problems for anyone else but the line makedepends('pkgconfig') causes the build process to halt. Removing this line fixes the problem

commented on 2010-09-10 19:35 (UTC)

The install line in PKGBUILD needs the -j1 parameter to avoid problems on multicore systems make -j1 DESTDIR=$pkgdir install || return 1

commented on 2010-09-08 11:52 (UTC)

I give up. I just don't have the time and I don't use codelite any more. Feel free to adopt it.

commented on 2010-09-07 08:08 (UTC) is out

commented on 2010-07-21 09:33 (UTC) is out

jokerboy commented on 2010-06-24 22:22 (UTC) is out.

trusktr-aurvote commented on 2010-06-19 08:25 (UTC)

Please update and remove the outdated flag!

commented on 2010-06-11 13:21 (UTC)

this link works but you have to modify the /etc/makepkg.conf and put MAKEFLAGS="-j1"

encelo commented on 2010-05-23 16:05 (UTC)

Try this:

mar04 commented on 2010-04-27 10:51 (UTC)

Please update