Page 1 of 1

Double-click Error in Output View, go to source

Posted: Wed Jun 01, 2016 1:59 pm
by SparkyNZ
I am running an External Tool from CodeLite which runs a proprietary compiler.

How can I configure CodeLite so that I can double-click on an error in the Output View and it will take me to that file and line number?

e.g. Below is an example of a compiler error:

Code: Select all

/work/MyTestApp/main.cpp:70:1: error: 'test' does not name a type

Re: Double-click Error in Output View, go to source

Posted: Wed Jun 01, 2016 3:49 pm
by eranif
You can't.
You will need to define your compiler inside CodeLite.
http://codelite.org/AddNewCompiler/AddNewCompiler

Eran

Re: Double-click Error in Output View, go to source

Posted: Wed Jun 01, 2016 11:59 pm
by SparkyNZ
eranif wrote:You can't.
You will need to define your compiler inside CodeLite.
http://codelite.org/AddNewCompiler/AddNewCompiler
Eran
Ok. It's actually ndk-build that I'm running from my external tool. It's probably gcc that it's running behind the scenes anyway. So could I add a custom compiler for this case even though there will be no parameters given to the compiler? ndk-build is like a make program which recursively makes android.mk files.

I wonder if anybody else has configured CodeLite for Android NDK development.. That's what I'm trying to do at the moment.