User forums > Using Code::Blocks

Error building CB SVN

<< < (3/4) > >>

mandrav:
Have you *actually* updated using svn? I 've commited the fix many hours ago...

parasito:
I think so.

I did
svn checkout svn://svn.berlios.de/codeblocks/trunk
Revisión obtenida: 1407

after that make clean
and later make but it didn't work, so I removed trunk folder and I did a new checkout with same result.

lesnewell:
I don't know if yours is the same problem but I found that there is a bug in the make system. It is trying to link the wrong version of the Code::Blocks libraries. Try going into src/sdk and running
make
make install
NOTE: this will probably break any current installation of Code::Blocks!

now cd back to the Code::Blocks root and try runnning make again.

undofen:
This is what i try to "make" from svn version 1419:

--- Code: ---g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/lib/wx/include/gtk2u-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I../../src/sdk/wxscintilla/include -I../../src/sdk/tinyxml -I../../src/sdk/as/include  -I/usr/lib/wx/include/gtk2u-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  -g -O2 -O2 -ffast-math  -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -o ./sdk.h.gch -xc++-header ./sdk.h
In file included from ./sdk.h:87:
./configmanager.h:6:24: wx/hashset.h: No such file or directory
In file included from ./sdk.h:87:
./configmanager.h:49: error: `StringSet' has not been declared
./configmanager.h:49: error: expected constructor, destructor, or type conversion before ';' token
./configmanager.h:177: error: expected unqualified-id before '&' token
./configmanager.h:177: error: expected `,' or `...' before '&' token
./configmanager.h:177: error: ISO C++ forbids declaration of `parameter' with no type
./configmanager.h:177: error: `void ConfigManager::Write(const wxString&, int)' and `void ConfigManager::Write(const wxString&, int)' cannot be overloaded
./configmanager.h:178: error: `ConfigManagerContainer::StringSet' has not been declared
./configmanager.h:178: error: ISO C++ forbids declaration of `map' with no type
./configmanager.h:178: error: `void ConfigManager::Read(const wxString&, int*)' and `bool ConfigManager::Read(const wxString&, int*)' cannot be overloaded
./configmanager.h:179: error: using-declaration for non-member at class scope
./configmanager.h:179: error: expected `;' before "ReadSSet"
make[2]: *** [sdk.h.gch] Error 1
make[2]: Leaving directory `/usr/local/src/trunk/src/sdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/trunk/src'
make: *** [all-recursive] Error 1


--- End code ---

Urxae:

--- Quote from: undofen on December 01, 2005, 09:34:07 pm ---This is what i try to "make" from svn version 1419:

--- Code: ---[...]
In file included from ./sdk.h:87:
./configmanager.h:6:24: wx/hashset.h: No such file or directory
[...]

--- End code ---

--- End quote ---
What version of wxWidgets are you using? Looks like wx2.4.2 doesn't support hashset, but wx2.6.1 and wx2.6.2 do.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version