<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 7 Jul 2019 at 18:36, René J.V. Bertin <<a href="mailto:rjvbertin@gmail.com">rjvbertin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Steve the Fiddle wrote on 20190707::17:53:38 re: "Re: C++ header files and crash issue"<br>
<br>
>On Sun, 7 Jul 2019 at 17:42, René J.V. Bertin <<a href="mailto:rjvbertin@gmail.com" target="_blank">rjvbertin@gmail.com</a>> wrote:<br>
><br>
>> Steve the Fiddle wrote on 20190707::17:10:05 re: "Re: C++ header files and<br>
>> crash issue"<br>
>><br>
>><br>
>> >"Project menu > Open / Import Project" does not allow me to select a file,<br>
>> >only a directory.<br>
>> >How do I load a project from CMakeLists.txt?<br>
>><br>
>> The "Open Project" dialog should allow you to "Open 'CMakeLists.txt' as<br>
>> project". If it doesn't, you will need to check if you have installed all<br>
>> kdevelop-related packages, and (in Settings/Configure KDevelop.../Plugins)<br>
>> if the CMake Project Builder has been enabled.<br>
>><br>
><br>
>I'm using "KDevelop 5.3.2 (64bit) AppImage" from:<br>
><a href="https://www.kdevelop.org/download" rel="noreferrer" target="_blank">https://www.kdevelop.org/download</a><br>
>There isn't an option "Open Project" as far as I can see, only<br>
>"Project menu > Open / Import project".<br>
>The "Open Project" dialog that opens from there says "Files of type:<br>
>Directories" (no other options).<br>
><br>
>The download page does not mention additional dependencies being required.<br>
<br>
This I don't understand; you'll have to ask on the list what's happening there.<br></blockquote><div><br></div><div>Am I not already asking "on the list"?</div><div>So far I've tried this mailing list, the kDevelop forum and the kDevelop IRC Chat (as described <a href="https://www.kdevelop.org/support">https://www.kdevelop.org/support</a>). Where should I go for support? Is this not the official support channel?<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Note however that there's an error in the project's CMake files (references to non-existing files) and seems to be hardwired for MSWin, so this exercise won't help you very much.<br>
It also doesn't help with the "Did you mean std::Foo" class error. <br>
<br>
BTW, I don't think that one happens because KDevelop does not see the class definitions, because it will happily take you to the std::Foo definition (e.g. std::AboutDialog is defined in AboutDialog.h, according to KDevelop).<br>
<br>
I'm also seeing errors about std::wxString being an imcomplete type.<br>
<br>
To me this suggests that somehow the KDevelop parser adds a "using std" or similar that makes the std the active namespace. Go figure out where that happens ...<br></blockquote><div><br></div><div>Are you saying this is a "bug"?<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
What also is bound NOT to help is the fact that the project uses an explicit include header that is included via a compiler argument (`-include AudacityHeaders.h`). I think that this is not well supported by KDevelop.<br></blockquote><div><br></div><div>What do you mean "included via a compiler argument"?</div><div>The compiler arguments that I use (successfully) are:</div><div>../configure --with-lib-preference="local system" --with-ffmpeg="system" --disable-dynamic-loading --with-mod-script-pipe --with-mod-nyq-bench --enable-debug</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
---<br>
I add 2 explicit header search paths to the standard Makefile-based project: the wxWidgets include directory (/opt/local/libexec/wxWidgets/3.1/include/wx-3.1 for me), and the corresponding gtk2-unicode directory (/opt/local/libexec/wxWidgets/3.1/lib/wx/include/gtk2-unicode-3.1). I also add 3 custom defines: WXUSINGDLL=1, _FILE_OFFSET_BITS=64 and __WXGTK__=1 .<br></blockquote><div><br></div><div>Interesting. Is there any documentation about custom defines in kDevelop?</div><div>How did you know to add those custom defines?</div><div>Could other custom defines be required?</div><div><br></div><div>Steve<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
With that, I get no parsing errors, and I cannot reproduce your crash on PlayableTrackControls.cpp either.<br>
<br>
R.<br>
<br>
</blockquote></div></div>