Hi guys. I was wondering, has any of you had troubles trying to compile code::blocks using the supplied makefile (on windows)?
I get some error about dependency files missing...
C:\somedir\projects\codeblocks\src>make
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [depend_tinyXML_DIRS] Error 2 (ignored)
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [depend_tinyXML_DIRS] Error 2 (ignored)
/bin/sh.exe: -c: line 2: syntax error: unexpected end of file
make: [depend_tinyXML_DIRS] Error 2 (ignored)
Calculating dependencies for sdk\tinyxml\tinystr.cpp...
# 1 "C:\\somedir\\projects\\codeblocks\\src//"
sdk/tinyxml/tinystr.cpp:0: fatal error: opening dependency file
.deps/sdk/tinyxml/tinystr.d: No such file or directory
compilation terminated.
make: *** [.deps/sdk/tinyxml/tinystr.d] Error 1
Any idea of how to fix this?
When trying to compile the HEAD from the Makefile.wx2.6 (updated from the CodeBlocks-wx2.6.0.cbp, because the makefile is always outdated in CVS):
I get to the point where codeblocks.dll is generated, and after that:
Linking static library "src\wxDockit\lib\libwxDockIt.a"...
ranlib src/wxDockit/lib/libwxDockIt.a
Calculating dependencies for "src\app.cpp"...
Calculating dependencies for "src\dlgabout.cpp"...
Calculating dependencies for "src\dlgaboutplugin.cpp"...
Calculating dependencies for "src\environmentsettingsdlg.cpp"...
Calculating dependencies for "src\impexpconfig.cpp"...
Calculating dependencies for "src\main.cpp"...
Calculating dependencies for "src\printdlg.cpp"...
Calculating dependencies for "src\startherepage.cpp"...
Compiling "src\app.cpp"...
Compiling "src\dlgabout.cpp"...
Compiling "src\dlgaboutplugin.cpp"...
Compiling "src\environmentsettingsdlg.cpp"...
Compiling "src\impexpconfig.cpp"...
Compiling "src\main.cpp"...
Compiling "src\printdlg.cpp"...
Compiling "src\startherepage.cpp"...
Compiling resources...
mingw32-make: *** No rule to make target `..\wxDockit\lib\libwxdockit.a', needed by `devel/codeblocks.exe'. Stop.
But this compiles fine from the CodeBlocks-wx2.6.0.cbp project.
I also was wondering about the pedigree of extra.zip.
The zip include a text file which identifies the packager as Julian Smart and the source as UnxUtils.
I have previously searched for the same utilities to enable the scintilla make files to work under cmd.exe and found them at http://unxutils.sourceforge.net/ which I presume is the same source.
This site authored by Karl M. Syring. There are a number of utilities, the origin of some is given but there is no discussion of licence.
The source code is available through CVS attached to http://sourceforge.net/projects/unxutils
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/unxutils login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/unxutils co -P unxutils
I have downloaded the source and the file utilities appear to be early GNU and are therefore freely distributable.
I enclose a header from the cp.c. There is however no copy of the the GNU General Public Licence.
If you made the source available it would seem ok to resdistribute
/* cp.c -- file copying (main routines)
Copyright (C) 89, 90, 91, 95, 1996 Free Software Foundation.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Written by Torbjorn Granlund, David MacKenzie, and Jim Meyering. */