Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Can anyone compile the contrib workspace from svn 10127?

(1/2) > >>

ouch:
Windows 7 64bit using tdm-mingw 4.7.2 When compiling the the contrib pluggins workspace I get the following errors:


--- Code: ---mingw32-g++.exe -Wall -O2 -pipe -fmessage-length=0 -fexceptions -mthreads -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DwxUSE_UNICODE -DCC_PARSER_TEST -IC:\Programming\wxWidgets\WX_2_8_BRANCH\include -IC:\Programming\wxWidgets\WX_2_8_BRANCH\lib\gcc_dll\mswu -I..\..\include -I..\..\sdk\wxscintilla\include -Icctest -Iparser -I. -c C:\Programming\codeblocks\src\plugins\codecompletion\parser\cclogger.cpp -o ..\..\.objs\plugins\codecompletion\cctest\parser\cclogger.o
C:\Programming\codeblocks\src\plugins\codecompletion\parser\ccdebuginfo.cpp: In member function 'void CCDebugInfo::OnGoDeclClick(wxCommandEvent&)':
C:\Programming\codeblocks\src\plugins\codecompletion\parser\ccdebuginfo.cpp:792:5: error: 'cbEditor' was not declared in this scope
C:\Programming\codeblocks\src\plugins\codecompletion\parser\ccdebuginfo.cpp:792:15: error: 'ed' was not declared in this scope
C:\Programming\codeblocks\src\plugins\codecompletion\parser\ccdebuginfo.cpp:792:30: error: expected primary-expression before ')' token
C:\Programming\codeblocks\src\plugins\codecompletion\parser\ccdebuginfo.cpp:792:31: error: expected ';' before 'Manager'
C:\Programming\codeblocks\src\plugins\codecompletion\parser\ccdebuginfo.cpp:794:48: error: invalid use of incomplete type 'class EditorManager'
In file included from ..\..\include/logmanager.h:9:0,
                 from C:\Programming\codeblocks\src\plugins\codecompletion\parser\ccdebuginfo.cpp:25:
..\..\include/manager.h:28:7: error: forward declaration of 'class EditorManager'
C:\Programming\codeblocks\src\plugins\codecompletion\parser\ccdebuginfo.cpp: In member function 'void CCDebugInfo::OnGoImplClick(wxCommandEvent&)':
C:\Programming\codeblocks\src\plugins\codecompletion\parser\ccdebuginfo.cpp:816:5: error: 'cbEditor' was not declared in this scope
C:\Programming\codeblocks\src\plugins\codecompletion\parser\ccdebuginfo.cpp:816:15: error: 'ed' was not declared in this scope
C:\Programming\codeblocks\src\plugins\codecompletion\parser\ccdebuginfo.cpp:816:30: error: expected primary-expression before ')' token
C:\Programming\codeblocks\src\plugins\codecompletion\parser\ccdebuginfo.cpp:816:31: error: expected ';' before 'Manager'
C:\Programming\codeblocks\src\plugins\codecompletion\parser\ccdebuginfo.cpp:818:48: error: invalid use of incomplete type 'class EditorManager'
In file included from ..\..\include/logmanager.h:9:0,
                 from C:\Programming\codeblocks\src\plugins\codecompletion\parser\ccdebuginfo.cpp:25:
..\..\include/manager.h:28:7: error: forward declaration of 'class EditorManager'
Process terminated with status 1 (0 minute(s), 11 second(s))
--- End code ---

Looks like that recent code completion update might be missing some stuff...

Oh also, is there a way to change the font color within code block tags on this forum? Might make reading logs easier if we could submit them all nice and color coded so the errors stand out like in CB's output log.

ollydbg:
I will look into this issue today.

stahta01:

--- Quote from: ollydbg on February 27, 2015, 01:29:03 am ---I will look into this issue today.

--- End quote ---

Possible patch; it fixed the compile issue for me on the cctest plugin


--- Code: ---Index: src/plugins/codecompletion/parser/ccdebuginfo.cpp
===================================================================
--- src/plugins/codecompletion/parser/ccdebuginfo.cpp (revision 10127)
+++ src/plugins/codecompletion/parser/ccdebuginfo.cpp (working copy)
@@ -22,6 +22,8 @@
     #include <wx/string.h>
     //*)
 
+    #include <cbeditor.h>
+    #include <editormanager.h>
     #include <logmanager.h>
 #endif
 

--- End code ---

Tim S.

ollydbg:
Thanks Tim, fixed in the trunk now.
Thanks ouch for the report.


--- Quote from: ouch on February 27, 2015, 12:42:08 am ---Oh also, is there a way to change the font color within code block tags on this forum? Might make reading logs easier if we could submit them all nice and color coded so the errors stand out like in CB's output log.

--- End quote ---
Not sure what exact color style you want. You mean error messages on red color, warning messages on blue color?

Maybe, you can try this: FireFox Stylish add on. I just use to change the font size, see:custom CSS to change the font size in code and quote tags for our forum
 

ouch:
Yep, that fixed it. But now I'm getting an error with the fortran plugin:


--- Code: ---mingw32-g++.exe -Wall -O2 -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DBUILDING_PLUGIN -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE -I..\..\..\include -I..\..\..\sdk\wxscintilla\include -IC:\Programming\wxWidgets\WX_2_8_BRANCH\include -IC:\Programming\wxWidgets\WX_2_8_BRANCH\lib\gcc_dll\mswu -c C:\Programming\codeblocks\src\plugins\contrib\FortranProject\fpoptionsdlg.cpp -o ..\..\..\.objs\plugins\contrib\FortranProject\fpoptionsdlg.o
C:\Programming\codeblocks\src\plugins\contrib\FortranProject\fortranproject.cpp:34:9: error: #include expects "FILENAME" or <FILENAME>
--- End code ---

and a little later:


--- Code: ---mingw32-g++.exe -Wall -O2 -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DBUILDING_PLUGIN -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE -I..\..\..\include -I..\..\..\sdk\wxscintilla\include -IC:\Programming\wxWidgets\WX_2_8_BRANCH\include -IC:\Programming\wxWidgets\WX_2_8_BRANCH\lib\gcc_dll\mswu -c C:\Programming\codeblocks\src\plugins\contrib\FortranProject\makefilegen.cpp -o ..\..\..\.objs\plugins\contrib\FortranProject\makefilegen.o
C:\Programming\codeblocks\src\plugins\contrib\FortranProject\fortranproject.cpp:35:2: error: expected unqualified-id before '<' token

--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version