Code::Blocks Forums
User forums => Help => Topic started by: DoMeN on November 20, 2006, 12:34:33 pm
-
Hi,
I'm trying to build code::blocks nightly builds svn rev. 3207 on Debian etch. I've been building it like it is writen in wiki so I first built and installed wxGTK an successfully run ./bootstrap code::blocks script. Then I set ./configure to point to the directory in my home dir and after that I ran make command. After about fiew minutes of building I got these errors:
cdb_commands.h: In member function 'virtual void CdbCmd_Backtrace::ParseOutput(const wxString&)':
cdb_commands.h:406: error: invalid conversion from 'long unsigned int*' to 'long int*'
cdb_commands.h:406: error: initializing argument 1 of 'bool wxString::ToLong(long int*, int) const'
make[4]: *** [cdb_driver.lo] Error 1
make[4]: Leaving directory `/home/domenv/codeblocks_source/src/plugins/debuggergdb'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/domenv/codeblocks_source/src/plugins/debuggergdb'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/domenv/codeblocks_source/src/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/domenv/codeblocks_source/src'
make: *** [all-recursive] Error 1
Does annybody know why there is a problem in these section of code?
code on line 406:
reBT1.GetMatch(lines, 1).ToLong(&sf.number);
-
Did you uninstall all old Code::Blocks versions before building ?
That field should have been declared OK in debugger_defs.h...
-
I didn't have code::blocks previously installed on this server and this is the first time that I'm trying to build them so I don't know if it is even possible build them on Debian etch or if there are problems and some code must be changed to prepair the c::b for building.
Could you please tell me which part of debugger_defs.h code is responsible for this.
-
I think that is where the StackFrame struct is being declared ? (as in "sf.number")
-
You should install wxGTK from the debian repositories not by hand (as long as the version is 2.6.x). The wiki is quite bad in that regard, but if you read carefully it does tell you that. I compile CB on Ubuntu 6.10 all the time so you shouldn't have much of a problem on Etch.