Hello everybody !
I've found greatfull healp here, so I tried again !
I'm trying to built the clangcompletion plugin for codeblocks.
I've download this --> https://github.com/Lalaland/ClangComplete (https://github.com/Lalaland/ClangComplete)
I open it with my newlly installed codeblocks ( ;) ) , but I've got this error :
||=== Build: default in ClangComplete (compiler: GNU GCC Compiler) ===|
/home/astrapi/.lib/codeBlocks/ClangComplete-master/ClangComplete.h||In member function ‘wxArrayString ClangComplete::GetCallTips()’:|
/home/astrapi/.lib/codeBlocks/ClangComplete-master/ClangComplete.h|71|warning: no return statement in function returning non-void [-Wreturn-type]|
/home/astrapi/.lib/codeBlocks/ClangComplete-master/ClangComplete.cpp||In function ‘wxString generateCommandString(ProjectFile*)’:|
/home/astrapi/.lib/codeBlocks/ClangComplete-master/ClangComplete.cpp|130|error: invalid initialization of reference of type ‘const CompilerTool&’ from expression of type ‘const CompilerTool*’|
/home/astrapi/.lib/codeBlocks/ClangComplete-master/ClangComplete.cpp|132|error: ‘class Compiler’ has no member named ‘GenerateCommandLine’|
/home/astrapi/.lib/codeBlocks/ClangComplete-master/ClangComplete.cpp|130|warning: unused variable ‘tool’ [-Wunused-variable]|
/home/astrapi/.lib/codeBlocks/ClangComplete-master/ClangComplete.cpp||In member function ‘CXCodeCompleteResults* ClangComplete::getResults(cbEditor*, cbStyledTextCtrl*)’:|
/home/astrapi/.lib/codeBlocks/ClangComplete-master/ClangComplete.cpp|308|warning: narrowing conversion of ‘length’ from ‘int’ to ‘long unsigned int’ inside { } [-Wnarrowing]|
/home/astrapi/.lib/codeBlocks/ClangComplete-master/ClangComplete.cpp|317|warning: unused variable ‘status’ [-Wunused-variable]|
/usr/include/codeblocks/cbplugin.h||In instantiation of ‘static cbPlugin* PluginRegistrant<T>::CreatePlugin() [with T = ClangComplete]’:|
/usr/include/codeblocks/cbplugin.h|1109|required from ‘PluginRegistrant<T>::PluginRegistrant(const wxString&) [with T = ClangComplete]’|
/home/astrapi/.lib/codeBlocks/ClangComplete-master/ClangComplete.cpp|70|required from here|
/usr/include/codeblocks/cbplugin.h|1116|error: invalid new-expression of abstract class type ‘ClangComplete’|
/home/astrapi/.lib/codeBlocks/ClangComplete-master/ClangComplete.h|28|note: because the following virtual functions are pure within ‘ClangComplete’:|
/usr/include/codeblocks/cbplugin.h|822|note: virtual cbCodeCompletionPlugin::CCProviderStatus cbCodeCompletionPlugin::GetProviderStatusFor(cbEditor*)|
/usr/include/codeblocks/cbplugin.h|869|note: virtual std::vector<cbCodeCompletionPlugin::CCToken> cbCodeCompletionPlugin::GetAutocompList(bool, cbEditor*, int&, int&)|
/usr/include/codeblocks/cbplugin.h|881|note: virtual wxString cbCodeCompletionPlugin::GetDocumentation(const cbCodeCompletionPlugin::CCToken&)|
/usr/include/codeblocks/cbplugin.h|902|note: virtual std::vector<cbCodeCompletionPlugin::CCCallTip> cbCodeCompletionPlugin::GetCallTips(int, int, cbEditor*, int&)|
/usr/include/codeblocks/cbplugin.h|914|note: virtual std::vector<cbCodeCompletionPlugin::CCToken> cbCodeCompletionPlugin::GetTokenAt(int, cbEditor*, bool&)|
/usr/include/codeblocks/cbplugin.h|925|note: virtual wxString cbCodeCompletionPlugin::OnDocumentationLink(wxHtmlLinkEvent&, bool&)|
||=== Build failed: 3 error(s), 7 warning(s) (0 minute(s), 5 second(s)) ===|
reference to this part of code :
const CompilerTool &tool = comp->GetCompilerTool(ctCompileObjectCmd,_(".cpp"));
wxString tempCommand = _("$options $includes");
comp->GenerateCommandLine(tempCommand,target,file,UnixFilename(pfd.source_file_absolute_native),Object,pfd.object_file_flat,
pfd.dep_file);
return tempCommand;
If someone see the problem...
I'm with Starting Code::Blocks Release 16.01 rev 10760 Feb 2 2016, 03:11:29 - wx2.8.12 (Linux, unicode) - 64 bit
On ubuntu
✔ astrapi 18:34:21 ~ ▶ wx-config --version=2.8 --cflags
Warning: No config found to match: /usr/bin/wx-config --version=2.8 --cflags
in /usr/lib/x86_64-linux-gnu/wx/config
If you require this configuration, please install the desired
library build. If this is part of an automated configuration
test and no other errors occur, you may safely ignore it.
You may use wx-config --list to see all configs available in
the default
✘ astrapi 18:34:44 ~ ▶ which wx-config
/bin/wx-config
✔ astrapi 18:34:54 ~ ▶ wx-config --list
Default config is gtk2-unicode-3.0
Default config will be used for output
Alternate matches:
base-unicode-3.0
So, for my codeblocks version :
✔ astrapi 18:40:50 ~ ▶ codeblocks -v
Starting Code::Blocks Release 16.01 rev 10760 Feb 2 2016, 03:11:29 - wx2.8.12 (Linux, unicode) - 64 bit
Can I "down"date my wx-config to wx2.8 ? (does this question have a sense ?)
I think I can probably built codeblocks, with some probleme maybe.
I try to built right now your clanglib, thank you a lot !
(Codeblocks at start up of your project clanglib wx3.0.x ask me Global variable editor current variable cb, I don't what that mean, is this important ?)
I've got this error
-------------- Build: use_pch in clanglib wx3.0.x - Unix (compiler: GNU GCC Compiler)---------------
g++-5 -DBUILDING_PLUGIN -DCB_PRECOMP -DWX_PRECOMP -O3 -Wextra -Wall -std=c++0x -ansi -fPIC /home/astrapi/.lib/codeBlocks -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/lib/llvm-3.4/include -fmessage-length=0 -fexceptions -Winvalid-pch -pthread -DcbDEBUG -Wall -std=c++11 -std=c++14 -D__GXX_EXPERIMENTAL_CXX0X__ -I/usr/include/codeblocks -I/usr/lib/llvm-3.4/include/ -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0/ -I/usr/include/codeblocks/wxscintilla/include -c /home/astrapi/.lib/codeBlocks/ClangLib-build-tim_s/clangccsettingsdlg.cpp -o .objs/plugins/clanglib/clangccsettingsdlg.o
In file included from /home/astrapi/.lib/codeBlocks/ClangLib-build-tim_s/translationunit.h:5:0,
from /home/astrapi/.lib/codeBlocks/ClangLib-build-tim_s/clangproxy.h:11,
from /home/astrapi/.lib/codeBlocks/ClangLib-build-tim_s/clangplugin.h:9,
from /home/astrapi/.lib/codeBlocks/ClangLib-build-tim_s/clangccsettingsdlg.cpp:39:
/usr/include/clang-c/Documentation.h:40:3: error: conflicting declaration ‘typedef struct CXComment CXComment’
} CXComment;
reference to that part of code :
/**
* \brief A parsed comment.
*/
typedef struct {
const void *ASTNode;
CXTranslationUnit TranslationUnit;
} CXComment;
Thanks again !
Ok, so I think I understand some part of you say.
But what is a NOPCH patch ?
You said you have the newer version of wxWidgets3.0.x so does that mean that your codeblocks is built with too ?
(The computer can't use an older version for a software and a new for an other does he ?)
✔ astrapi 14:47:00 ~ ▶ wx-config --libs all
-L/usr/lib/x86_64-linux-gnu -pthread -lwx_gtk2u_xrc-3.0 -lwx_gtk2u_stc-3.0 -lwx_gtk2u_richtext-3.0 -lwx_gtk2u_ribbon-3.0 -lwx_gtk2u_propgrid-3.0 -lwx_gtk2u_aui-3.0 -lwx_gtk2u_gl-3.0 -lwx_gtk2u_media-3.0 -lwx_gtk2u_html-3.0 -lwx_gtk2u_qa-3.0 -lwx_gtk2u_adv-3.0 -lwx_gtk2u_core-3.0 -lwx_baseu_xml-3.0 -lwx_baseu_net-3.0 -lwx_baseu-3.0
✔ astrapi 14:47:18 ~ ▶
Does this not mean I'm yousing wxWidgets3.0 ?
But I know that my codeblocks is using wxWidgets2.8.x :
✔ astrapi 14:47:18 ~ ▶ codeblocks -v
Starting Code::Blocks Release 16.01 rev 10760 Feb 2 2016, 03:11:29 - wx2.8.12 (Linux, unicode) - 64 bit
I'm a bit confuse... If you don't want explain me no problem, I will do what you say I understand.
You add an answere during my righting, I try to built later (if I have to, I don't understand very well sorry...)
Arh ! I'm surely miss something...
I've install libwxgtk2.8-dev, so now I-ve got the header files, I remove the `wx-config --cflags` because I've
got the gtk3.0 install so it gives only include for it. And put by hand the flags and include that I think is needed.
(I hope this plugin is very good....)
I try to built it again... and got the same error (maybe it's normal I've just don't understand somethingsss ?)
-------------- Build: default in clanglib wx2.8.x - Unix (compiler: GNU GCC Compiler)---------------
g++-5 -I/usr/include/codeblocks -I/usr/include/codeblocks/tinyxml -I/usr/include/codeblocks/scripting/include -I/usr/include/codeblocks/scripting/bindings -I/usr/include/codeblocks/scripting/sqplus -I/usr/include/codeblocks/wxscintilla/include -DBUILDING_PLUGIN -DNOPCH -Wextra -Wall -std=c++0x -ansi -fPIC /home/astrapi/.lib/codeBlocks -I/usr/lib/llvm-3.4/include -fmessage-length=0 -fexceptions -Winvalid-pch -pthread -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DcbDEBUG -Wall -std=c++11 -std=c++14 -D__GXX_EXPERIMENTAL_CXX0X__ -I/usr/include/codeblocks -I/usr/include/wx-2.8/ -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-release-2.8/ -I/usr/include/codeblocks/wxscintilla/include/ -c /home/astrapi/.lib/codeBlocks/ClangLib-build-tim_s/clangccsettingsdlg.cpp -o .objs/plugins/clanglib/clangccsettingsdlg.o
In file included from /home/astrapi/.lib/codeBlocks/ClangLib-build-tim_s/translationunit.h:5:0,
from /home/astrapi/.lib/codeBlocks/ClangLib-build-tim_s/clangproxy.h:11,
from /home/astrapi/.lib/codeBlocks/ClangLib-build-tim_s/clangplugin.h:9,
from /home/astrapi/.lib/codeBlocks/ClangLib-build-tim_s/clangccsettingsdlg.cpp:39:
/usr/include/clang-c/Documentation.h:40:3: error: conflicting declaration ‘typedef struct CXComment CXComment’
} CXComment;
^
In file included from /home/astrapi/.lib/codeBlocks/ClangLib-build-tim_s/translationunit.h:4:0,
from /home/astrapi/.lib/codeBlocks/ClangLib-build-tim_s/clangproxy.h:11,
from /home/astrapi/.lib/codeBlocks/ClangLib-build-tim_s/clangplugin.h:9,
from /home/astrapi/.lib/codeBlocks/ClangLib-build-tim_s/clangccsettingsdlg.cpp:39:
/usr/lib/llvm-3.4/include/clang-c/Index.h:2149:3: note: previous declaration as ‘typedef struct CXComment CXComment’
} CXComment;
What do I miss ?
Haaaa very good to know that indeed, I'm on it ! Thanks ! (I feel that we are going the right way !)
I still have something I don't understand :
-------------- Build: default in clanglib wx2.8.x - Unix (compiler: GNU GCC Compiler)---------------
g++-5 -shared -L/usr/lib .objs/plugins/clanglib/cclogger.o .objs/plugins/clanglib/clangcc.o .objs/plugins/clanglib/clangccsettingsdlg.o .objs/plugins/clanglib/clangdiagnostics.o .objs/plugins/clanglib/clangplugin.o .objs/plugins/clanglib/clangproxy.o .objs/plugins/clanglib/clangtoolbar.o .objs/plugins/clanglib/tokendatabase.o .objs/plugins/clanglib/translationunit.o .objs/plugins/clanglib/treemap.o -o devel/clanglib.so /usr/lib/llvm-3.4/lib -Wl,--no-undefined -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -lcodeblocks -lcodeblocks -lclang
/usr/bin/ld: ne peut pas trouver /usr/lib/llvm-3.4/lib: Format de fichier non reconnu
/usr/bin/ld: ne peut trouver -lclang
collect2: error: ld returned 1 exit status
I've reinstall clang clang-dev llvm llvm-dev
/usr/lib/llvm-3.4/lib exist, there is lot of file in it, some .so and some .a
So !
I've mange to built the clanglib_wxGTK30-unix.cbp from tim_s.
But I have no .cbplugin out. I've no error when I built but this when I run :
-------------- Build: use_pch in clanglib wx3.0.x - Unix (compiler: GNU GCC Compiler)---------------
Target is up to date.
Nothing to be done (all items are up-to-date).
-------------- Run: use_pch in clanglib wx3.0.x - Unix (compiler: GNU GCC Compiler)---------------
Checking for existence: /home/astrapi/.lib/codeBlocks/ClangLib-build-tim_s/devel30/libclanglib.so
Executing: ./codeblocks --debug-log --multiple-instance -ns -ni -v -p debug (in /home/astrapi/.lib/codeBlocks/ClangLib-build-tim_s/.)
Process terminated with status 255 (0 minute(s), 0 second(s))
But maybe it's useless because my codeblocks using wx2.8 ?
I've even sucessfully build the clanglib (unix).cbp from Clang-lib master ! (thanks to all your information) but I've
nothing happening after... I miss something... (in release I have my liblcanglib.so but no .cbplugin)
I've download the staging brank there : https://github.com/yvesdm3000/ClangLib/tree/staging (https://github.com/yvesdm3000/ClangLib/tree/staging)
And I got these errors :
translationunit.h:54 assert( first.m_id == second.m_Id ); //I suppose
[color=green]ClangLib-staging/clangproxy.cpp||In function ‘wxString HTML_Writer::Escape(const wxString&)’:|
/home/astrapi/.lib/codeBlocks/ClangLib-staging/clangproxy.cpp|276|error: ambiguous default type conversion from ‘wxString::const_iterator::reference {aka wxUniChar}’|[/color]
/home/astrapi/.lib/codeBlocks/ClangLib-staging/clangproxy.cpp|276|note: candidate conversions include ‘wxUniChar::operator char() const’ and ‘wxUniChar::operator unsigned char() const’|
/home/astrapi/.lib/codeBlocks/ClangLib-staging/clangproxy.cpp||In function ‘wxString HTML_Writer::SyntaxHl(const wxString&, const std::vector<wxString>&)’:|
/home/astrapi/.lib/codeBlocks/ClangLib-staging/clangproxy.cpp|318|error: operands to ?: have different types ‘wxUniChar’ and ‘wchar_t’|
/home/astrapi/.lib/codeBlocks/ClangLib-staging/clangproxy.cpp|318|note: and each type can be converted to the other|
/home/astrapi/.lib/codeBlocks/ClangLib-staging/clangproxy.cpp|319|error: operands to ?: have different types ‘wxUniChar’ and ‘wchar_t’|
/home/astrapi/.lib/codeBlocks/ClangLib-staging/clangproxy.cpp|319|note: and each type can be converted to the other|
/home/astrapi/.lib/codeBlocks/ClangLib-staging/clangproxy.cpp||In member function ‘void ClangProxy::RemoveTranslationUnit(ClTranslUnitId)’:|
/home/astrapi/.lib/codeBlocks/ClangLib-staging/clangproxy.cpp|760|error: use of deleted function ‘ClTranslationUnit& ClTranslationUnit::operator=(const ClTranslationUnit&)’|
/home/astrapi/.lib/codeBlocks/ClangLib-staging/translationunit.h|30|note: ‘ClTranslationUnit& ClTranslationUnit::operator=(const ClTranslationUnit&)’ is implicitly declared as deleted because ‘ClTranslationUnit’ declares a move constructor or move assignment operator|
/home/astrapi/.lib/codeBlocks/ClangLib-staging/clangproxy.cpp||In member function ‘void ClangProxy::GetFunctionScopes(ClTranslUnitId, const wxString&, std::vector<std::pair<wxString, wxString> >&)’:|
/home/astrapi/.lib/codeBlocks/ClangLib-staging/clangproxy.cpp|1762|error: no matching function for call to ‘make_pair(const wxString&, const wxString&)’|
/usr/include/c++/5/bits/stl_pair.h|276|note: candidate: template<class _T1, class _T2> constexpr std::pair<typename std::__decay_and_strip<_Tp>::__type, typename std::__decay_and_strip<_T2>::__type> std::make_pair(_T1&&, _T2&&)|
/usr/include/c++/5/bits/stl_pair.h|276|note: template argument deduction/substitution failed:|
/home/astrapi/.lib/codeBlocks/ClangLib-staging/clangproxy.cpp|1762|note: cannot convert ‘it.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator-><const ClFunctionScope*, std::vector<ClFunctionScope> >()->ClFunctionScope::scopeName’ (type ‘const wxString’) to type ‘wxString&&’|
||=== Build failed: 5 error(s), 21 warning(s) (0 minute(s), 55 second(s)) ===|
(Thanks to help !)
Here is how I got past the wxWidgets 3.0 errors; Note, I thought you needed to use wxWidgets 2.8.
NOTE: I am NOT sure [if] this is the correct or even valid runtime fix for the compiler error!!
Tim S.
diff --git a/clangproxy.cpp b/clangproxy.cpp
index e6d840b..ff14c0b 100644
--- a/clangproxy.cpp
+++ b/clangproxy.cpp
@@ -273,7 +274,7 @@ static wxString Escape(const wxString& text)
for (wxString::const_iterator itr = text.begin();
itr != text.end(); ++itr)
{
- switch (*itr)
+ switch (wxChar(*itr))
{
case wxT('&'):
html += wxT("&");
@@ -315,8 +316,8 @@ static wxString SyntaxHl(const wxString& code, const std::vector<wxString>& cppK
const int codeLen = code.Length();
for (int enRg = 0; enRg <= codeLen; ++enRg)
{
- wxChar ch = (enRg < codeLen ? code[enRg] : wxT('\0'));
- wxChar nextCh = (enRg < codeLen - 1 ? code[enRg + 1] : wxT('\0'));
+ wxChar ch = (enRg < codeLen ? wxChar(code[enRg]) : wxT('\0'));
+ wxChar nextCh = (enRg < codeLen - 1 ? wxChar(code[enRg + 1]) : wxT('\0'));
switch (style)
{
default:
The build log is the input where g++ is shown isn't it ?
-------------- Build: ClangLib in clanglib (Unix) (compiler: GNU GCC Compiler)---------------
g++-5 /home/astrapi/.lib/codeBlocks -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I/usr/lib/llvm-3.6/include -fmessage-length=0 -fexceptions -Winvalid-pch -fPIC -pthread -DBUILDING_PLUGIN -O3 -Wextra -Wall -std=c++0x -ansi /home/astrapi/.lib/codeBlocks -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I/usr/lib/llvm-3.6/include -fmessage-length=0 -fexceptions -Winvalid-pch -fPIC -pthread -DcbDEBUG -DCB_PRECOMP -DWX_PRECOMP -Wall -std=c++11 -std=c++14 -D__GXX_EXPERIMENTAL_CXX0X__ -I/usr/include/codeblocks -I/usr/include/codeblocks/wxscintilla/include -I. -c /home/astrapi/.lib/codeBlocks/ClangLib-staging/clangproxy.cpp -o .objs/plugins/clanglib/clangproxy.o
If not I will pass my way and took off my hat no problem, and take a litte tour on openclassroom or something :)
I install codeblocks from ppa:damien-moore/codeblocks-stable (http://ppa:damien-moore/codeblocks-stable) with apt-get, apt-get use g++
and I use in my program g++-5 (I should make a symbolic link to g++-5 to g++ maybe if it can make problem
to use different compiler).
I thought that it was normal to have -std=c++11 AND -std=c++14, so -std=c++14 is enough.
For "-D__GXX_EXPERIMENTAL_CXX0X__" it's something I found on internet, it is suppose to tell at he precompiler
how understand shared_ptr in purpose to have completion for it (for what I understand)
In your project I've replace "wx-config --libs/--cflags" by "wx-config --version=2.8 --libs/--cflags" for built it with the
same wxWidgets than my codeblocks but maybe if you are builting it for codeblocks with wxWidgets3.0 there are
some functions or differences that make some errors...
I don't know what I have to do, do I continue to try to built Yves or Tim S libclang ? (I'm sorry all this is new for me :compling myself, so I understand little step by little step)
I've tried to built https://github.com/yvesdm3000/ClangLib/tree/staging (https://github.com/yvesdm3000/ClangLib/tree/staging) plugin without c++14 (I think it just need c++11) without g++-5 but g++, and without
-D__GXX_EXPREIMENTAL_CXX0X__ but I come the same errors :
||=== Build: ClangLib in clanglib (Unix) (compiler: GNU GCC Compiler) ===|
||warning: /home/astrapi/Bureau: linker input file unused because linking not done| /// Because of my local variable the thing that I don't undersant what is for
/home/astrapi/.lib/codeBlocks/ClangLib-staging/clangproxy.cpp||In member function ‘void ClangProxy::RemoveTranslationUnit(ClTranslUnitId)’:|
/home/astrapi/.lib/codeBlocks/ClangLib-staging/clangproxy.cpp|760|error: use of deleted function ‘ClTranslationUnit& ClTranslationUnit::operator=(const ClTranslationUnit&)’|
/home/astrapi/.lib/codeBlocks/ClangLib-staging/translationunit.h|30|note: ‘ClTranslationUnit& ClTranslationUnit::operator=(const ClTranslationUnit&)’ is implicitly declared as deleted because ‘ClTranslationUnit’ declares a move constructor or move assignment operator|
/home/astrapi/.lib/codeBlocks/ClangLib-staging/clangproxy.cpp||In member function ‘void ClangProxy::GetFunctionScopes(ClTranslUnitId, const wxString&, std::vector<std::pair<wxString, wxString> >&)’:|
/home/astrapi/.lib/codeBlocks/ClangLib-staging/clangproxy.cpp|1762|error: no matching function for call to ‘make_pair(const wxString&, const wxString&)’|
/home/astrapi/.lib/codeBlocks/ClangLib-staging/clangproxy.cpp|1762|note: candidate is:|
/usr/include/c++/4.8/bits/stl_pair.h|276|note: template<class _T1, class _T2> constexpr std::pair<typename std::__decay_and_strip<_Tp>::__type, typename std::__decay_and_strip<_T2>::__type> std::make_pair(_T1&&, _T2&&)|
/usr/include/c++/4.8/bits/stl_pair.h|276|note: template argument deduction/substitution failed:|
/home/astrapi/.lib/codeBlocks/ClangLib-staging/clangproxy.cpp|1762|note: cannot convert ‘it.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator-><const ClFunctionScope*, std::vector<ClFunctionScope> >()->ClFunctionScope::scopeName’ (type ‘const wxString’) to type ‘wxString&&’|
||=== Build failed: 2 error(s), 10 warning(s) (0 minute(s), 32 second(s)) ===|
Questions :
1) I've seen this include in your project : ../codeblocks-1510/src/include
and this one : ../codeblocks_src/src/include.
Me I just put /usr/include/codeblocks/ AND /usr/include/codeblocks/wxscintilla/include (because I don't understand
what else to put)
Did I again miss something ?
2) $(#CB_RELEASE_TYPE) is the global variable, I've see that it's in setting global variables cb-release-type that I
configure it, but I've always this linking undone.
What do I have to put in base ?
In include ? (/usr/include/codeblocks no ?)
In lib ? the place where is libcodeblocks.so no ?
3) maybe it will be easier if I built codeblocks (with wxWidgets3.0) myself with the same version as you've got ? (now I understand a bit more compilng stuff) ?