User forums > General (but related to Code::Blocks)

error compiling nightly build revision 5046

(1/3) > >>

r.stiltskin:
After
./configure --with-contrib-plugins=all --prefix=/opt/codeblocks-svn
make failed with this error:

--- Code: ---globals.cpp: In function `FileType FileTypeOf(const wxString&)':
globals.cpp:303: error: `GetFilesGroupsAndMasks' undeclared (first use this
   function)
--- End code ---

MortenMacFly:
What happens if you modify the include part of globals.cpp from:

--- Code: ---#ifndef CB_PRECOMP
    [...]
    #include "filemanager.h"
#endif

--- End code ---
...to:

--- Code: ---#ifndef CB_PRECOMP
    [...]
    #include "filemanager.h"
    #include "projectmanager.h"
#endif

--- End code ---
??? Does this resolve the compiler issue?!

r.stiltskin:
Including projectmanager.h helped.  It's compiling now -- globals.lo compiled without error.  I'll update you when it's finished.

r.stiltskin:
Still not out of the woods.  It got as far as lib_finder, then bailed out with a syntax error:

--- Code: ---lib_finder.cpp: In member function `void
   lib_finder::SetupTarget(CompileTargetBase*, const wxArrayString&)':
lib_finder.cpp:282: error: syntax error before `->' token
lib_finder.cpp:283: confused by earlier errors, bailing out
make[5]: *** [lib_finder.lo] Error 1

--- End code ---
I looked at that line (in trunk/src/plugins/contrib/lib_finder/lib_finder.cpp) & the preceding one but I couldn't find the syntax error.

stahta01:
I am Guessing that it is another NON PCH build issue.

What Linux OS are you using?

Tim S

PS: I thought sdk_events.h was missing, but after I double checked it, I see no way it could cause the issue.

Navigation

[0] Message Index

[#] Next page

Go to full version