Closed hsnabn closed 7 years ago
I've got some basic error detection up and running with this regex taken from Code::Blocks and modified a bit to capture the column index:
([][{}() \t#%$~[:alnum:]&_:+\/\.-]+):([0-9]+):([0-9]+):[ \t](.*)
with File Index 1, Line Number 2, and Column Index 3.
However only this probably won't catch everything.
in the project settings -> general page, make sure you have selected the correct complier ( GCC )
Yep, the compiler selected is MinGW ( TDM-GCC-64 )
, which is the correct compiler.
Hmm, I think I managed to fix this by removing the ^
at the beginning of every error-capture regex in the default regexes.
I wonder if using cmake
wrappers causes this issue.
Using the default build system just works (without the need to alter the default regex patterns)
Maybe that could be the cause, yes. However my project uses CMake, so it is not a possibility to switch to the default build system (is it?).
Can you provide a minimal workspace zipped that reproduces this problem?
Hmm, I'll try to make one that emulates my specific setup. I use a symlink (via mklink
) to create a link for the CMakeLists.txt
into another directory, so I can keep all my project files in a separate directory while having the code separate. You might have to do that...
Uhh, it seems it's actually pretty hard to replicate the correct configuration. This might take a while.
EDIT: Perhaps you could try making a CMake build system-based project yourself and see if it happens then?
I have a custom build using CMake (CodeLite itself is built using CMake on Linux and OSX) and it does not happen for me...
Ping...
Sorry, I haven't been able to find the time to make a minimal project. I can't make any promises as to when I'll be able...
Closed it because I can't upload a minimal project in the near future, and it would be kinda unfair to leave it hanging.
(Tell me if I should leave it open, though, if you want.)
Hi, I'm having some trouble getting CodeLite to correctly parse the errors in my custom Makefile project. I'm using TDM-GCC compiler version 5.1.0, and the stock compiler/build output parse settings. Here's some sample output:
In this, CodeLite only allows me to "click" on the line
mingw32-make: *** [all] Error 2
, which does nothing. It doesn't highlight any of the errors, nor allows me to click on them to take me to where they occur.I think this might be an issue with the regex pattern or something. I'm not sure, though. I don't know anything about regexes.
I'm using CodeLite 9.2.0 on Windows 64-bit.
Any help is appreciated.