|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
Codelite build errors
Hi guys,
I’ve been using Codelite for a time now (on my linux hdd) and trying to get it working on a fresh OpenBSD install (6.1). I've already sorted a few build errors out but this one I can’t get past. The make step is failing due to an unrecognized command line option “-std=c++11” error. A g++ --version shows 4.2, and eg++/egcc is showing 4.9.4. Tried setting both CC and CXX variables but I keep getting the same errors, so obviously I’m doing something wrong somewhere else. Any ideas? |
|
|||
I'll have to keep looking.
Thanks anyway. |
|
|||
It looks like they're using CMake? Try this:
Code:
$ doas pkg_add cmake ninja $ git clone https://github.com/eranif/codelite.git $ cd codelite $ mkdir -p build $ cd build $ cmake -G Ninja -DCMAKE_C_COMPILER=egcc -DCMAKE_CXX_COMPILER=eg++ .. $ ninja -v Last edited by ibara; 30th June 2017 at 09:45 AM. Reason: Add comment about wxWidgets. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
X session errors | darif | OpenBSD General | 6 | 2nd August 2016 10:54 AM |
pkg_check errors | rockworldmi | OpenBSD Installation and Upgrading | 5 | 21st October 2015 03:58 PM |
dnscrypt-proxy build errors? | gkbsd | OpenBSD Packages and Ports | 7 | 3rd May 2014 01:12 PM |
apache log errors | ijk | FreeBSD Ports and Packages | 4 | 13th July 2008 03:56 PM |
lang/pcc build errors | JMJ_coder | NetBSD Package System (pkgsrc) | 1 | 17th June 2008 02:00 AM |