Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Autorevision failed?
(1/1)
rickg22:
I'm having some problems compiling CB from sources.
Here's the log:
-------------- Build: tinyXML in Code::Blocks ---------------
Target is up to date.
-------------- Build: AutoRevision in Code::Blocks ---------------
Target is up to date.
-------------- Build: ConsoleRunner in Code::Blocks ---------------
Target is up to date.
-------------- Build: Squirrel in Code::Blocks ---------------
Target is up to date.
-------------- Build: Squirrel std lib in Code::Blocks ---------------
Target is up to date.
-------------- Build: SqPlus in Code::Blocks ---------------
Target is up to date.
-------------- Build: scintilla in Code::Blocks ---------------
Target is up to date.
-------------- Build: wxPropertyGrid in Code::Blocks ---------------
Target is up to date.
-------------- Build: wxFlatNotebook in Code::Blocks ---------------
Target is up to date.
-------------- Build: sdk in Code::Blocks ---------------
Running target pre-build steps
build_tools/autorevision/autorevision +int +t . include/autorevision.h
"svn" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
mingw32-g++.exe -Wall -g -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DTIXML_USE_STL -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE -DEXPORT_LIB -DEXPORT_EVENTS -O2 -IG:\wxWidgets-2.8.4\include -IG:\wxWidgets-2.8.4\lib\gcc_dll\mswu -Iinclude\wxscintilla\include -Iinclude\propgrid\include -Iinclude\tinyxml -Iinclude -Iinclude\scripting\bindings -Iinclude\scripting\include -Iinclude\scripting\sqplus -Iinclude\wxFlatNotebook\include -IG:\MinGw\include -IG:\cb07\devpacks\include -c G:\projects\codeblocks\src\include\sdk_precomp.h -o include\sdk_precomp.h.gch
mingw32-g++.exe -Wall -g -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DTIXML_USE_STL -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE -DEXPORT_LIB -DEXPORT_EVENTS -O2 -IG:\wxWidgets-2.8.4\include -IG:\wxWidgets-2.8.4\lib\gcc_dll\mswu -Iinclude\wxscintilla\include -Iinclude\propgrid\include -Iinclude\tinyxml -Iinclude -Iinclude\scripting\bindings -Iinclude\scripting\include -Iinclude\scripting\sqplus -Iinclude\wxFlatNotebook\include -IG:\MinGw\include -IG:\cb07\devpacks\include -c G:\projects\codeblocks\src\sdk\configmanager-revision.cpp -o .objs\sdk\configmanager-revision.o
G:\projects\codeblocks\src\sdk\configmanager-revision.cpp: In static member function `static wxString ConfigManager::GetSvnDate()':
G:\projects\codeblocks\src\sdk\configmanager-revision.cpp:27: error: `LSVN_DATE' was not declared in this scope
G:\projects\codeblocks\src\sdk\configmanager-revision.cpp:27: warning: unused variable 'LSVN_DATE'
Process terminated with status 1 (0 minutes, 37 seconds)
1 errors, 1 warnings
(I colored the errors)
Yes, I know, I have NOT downloaded svn.exe or whatever. The problem is, that the compilation fails instead of dealing with the error. Why is SVN_DATE not defined? Did I miss some step or something? :(
Until this gets solved, I can't really continue compiling...
SVN updated 21/May/2007
rickg22:
Something's really wrong in here... the autorevision.h file created doesn't post any date! :-/ Just the revision number.
--- Code: ---/*1893*/
#ifndef AUTOREVISION_H
#define AUTOREVISION_H
#include <wx/string.h>
#define SVN_REVISION "1893"
namespace autorevision
{
const unsigned int svn_revision = 1893;
const wxString svnRevision(_T("1893"));
}
#endif
--- End code ---
stahta01:
You do realize that is the reverse of the correct SVN number, right?
Correct 3981
Yours 1893
Tim S
Paste this in the file include/autorevision.h it works till your SVN is fixed.
Note, you may have to write protect it.
--- Code: ---/*0*/
#ifndef AUTOREVISION_H
#define AUTOREVISION_H
#define SVN_REVISION "0"
#define SVN_DATE "1980-01-01T00:00:00.00 0000Z"
namespace autorevision
{
const unsigned int svn_revision = 0;
}
#endif
--- End code ---
rickg22:
AH I KNOW WHAT HAPPENED!
It seems that I wasn't cautious enough to delete the old directories. Apparently there was a previous version of autorevision.h creeping in there. I deleted the offending file and everything ran perfectly. Now onto getting svn.exe... :)
Navigation
[0] Message Index
Go to full version