Double-click Error in Output View, go to source

General questions regarding the usage of CodeLite
SparkyNZ
CodeLite Curious
Posts: 2
Joined: Wed Jun 01, 2016 1:07 pm
Genuine User: Yes
IDE Question: PHP
Contact:

Double-click Error in Output View, go to source

Post 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
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

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

Post by eranif »

You can't.
You will need to define your compiler inside CodeLite.
http://codelite.org/AddNewCompiler/AddNewCompiler

Eran
Make sure you have read the HOW TO POST thread
SparkyNZ
CodeLite Curious
Posts: 2
Joined: Wed Jun 01, 2016 1:07 pm
Genuine User: Yes
IDE Question: PHP
Contact:

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

Post 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.
Post Reply