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

Error when compiling C::B CVS

(1/2) > >>

polygon7:
Hi,
today i tried to compile C::B from cvs and i have following errors (linux gentoo, kernel 2.6.14, wxGTK 2.6.2):

--- Quote ---make[3]: Entering directory `/home/lukasz/progz/codeblocks/src/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/sdk -I/usr/lib/wx/include/gtk2-ansi-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1   -I../../src/sdk/wxscintilla/include -I../../src/sdk -I../../src/src/wxDockit/include -I../../src/src/wxKeyBinder/include -DENABLE_BINRELOC -DAPP_PREFIX="\"/usr/local\"" -I/usr/lib/wx/include/gtk2-ansi-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1  -g -O2 -O2 -ffast-math -I/usr/lib/wx/include/gtk2-ansi-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1  -MT app.o -MD -MP -MF ".deps/app.Tpo" \
  -c -o app.o `test -f 'app.cpp' || echo './'`app.cpp; \
then mv -f ".deps/app.Tpo" ".deps/app.Po"; \
else rm -f ".deps/app.Tpo"; exit 1; \
fi
In file included from app.cpp:46:
../../src/sdk/scriptingmanager.h:4:25: angelscript.h: Nie ma takiego pliku ani katalogu (File or directory do not exist)
In file included from app.cpp:46:
../../src/sdk/scriptingmanager.h:16: error: syntax error before `*' token
../../src/sdk/scriptingmanager.h:23: error: semicolon missing after declaration
   of `ScriptingManager'
../../src/sdk/scriptingmanager.h:23: error: extraneous `int' ignored
../../src/sdk/scriptingmanager.h:28: error: syntax error before `protected'
../../src/sdk/scriptingmanager.h:33: error: syntax error before `}' token
app.cpp: In member function `virtual bool CodeBlocksApp::OnInit()':
app.cpp:348: error: `LoadScript' undeclared (first use this function)
app.cpp:348: error: (Each undeclared identifier is reported only once for each
   function it appears in.)
make[3]: *** [app.o] Błąd 1 (Error 1)
make[3]: Leaving directory `/home/lukasz/progz/codeblocks/src/src'
make[2]: *** [all-recursive] Błąd 1 (Error 1)
make[2]: Leaving directory `/home/lukasz/progz/codeblocks/src/src'
make[1]: *** [all-recursive] Błąd 1 (Error 1)
make[1]: Leaving directory `/home/lukasz/progz/codeblocks/src'
make: *** [all-recursive] Błąd 1 (Error 1)

--- End quote ---

mandrav:
You probably haven't noticed, but we moved the repository to SVN. See this page for more info.

polygon7:

--- Quote from: mandrav on December 18, 2005, 01:26:48 pm ---You probably haven't noticed, but we moved the repository to SVN. See this page for more info.

--- End quote ---
Yes, i haven't noticed :oops: (i used C::B compilation on Gentoo tutorial from wiki). I will try svn.

// EDIT: I tried svn (C::B v. 1547) and i have got this:

--- Quote ---g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/lib/wx/include/gtk2-ansi-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -I../../src/sdk/wxscintilla/include -I../../src/sdk/tinyxml -I../../src/sdk/as/include -I/usr/lib/wx/include/gtk2-ansi-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -g -O2 -O2 -ffast-math -I/usr/lib/wx/include/gtk2-ansi-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -MT projectoptionsdlg.lo -MD -MP -MF .deps/projectoptionsdlg.Tpo -c projectoptionsdlg.cpp  -fPIC -DPIC -o .libs/projectoptionsdlg.o
projectoptionsdlg.cpp: In member function `void
   ProjectOptionsDlg::OnProjectDepsClick(wxCommandEvent&)':
projectoptionsdlg.cpp:362: error: `ConfigureProjectDependencies' undeclared
   (first use this function)
projectoptionsdlg.cpp:362: error: (Each undeclared identifier is reported only
   once for each function it appears in.)
make[4]: *** [projectoptionsdlg.lo] Błąd 1 (Error 1)
make[4]: Leaving directory `/home/lukasz/progz/trunk/src/sdk'
make[3]: *** [all-recursive] Błąd 1 (Error 1)
make[3]: Leaving directory `/home/lukasz/progz/trunk/src/sdk'
make[2]: *** [all] Błąd 2 (Error 2)
make[2]: Leaving directory `/home/lukasz/progz/trunk/src/sdk'
make[1]: *** [all-recursive] Błąd 1 (Error 1)
make[1]: Leaving directory `/home/lukasz/progz/trunk/src'
make: *** [all-recursive] Błąd 1 (Error 1)

--- End quote ---

polygon7:
The same error is in v1550.

mandrav:
Fixed. Revision 1551.

Navigation

[0] Message Index

[#] Next page

Go to full version