Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Build broken?
ptDev:
Since I updated to rev. 7900, I find my self unable to rebuild C::B from scratch:
--- Code: ----------------- Build: Squirrel in Code::Blocks wx2.8.x (compiler: GNU GCC Compiler)---------------
Compiling: sdk\scripting\squirrel\sqvm.cpp
In file included from include\scripting\squirrel/sqobject.h:5:0,
from include\scripting\squirrel/sqpcheader.h:16,
from C:\Users\Francisco\Develop\svn\codeblocks\src\sdk\scripting\squirrel\sqvm.cpp:4:
include\scripting\squirrel/squtils.h: In instantiation of 'sqvector<T>::~sqvector() [with T = int]':
include\scripting\squirrel/sqclosure.h:83:52: required from here
include\scripting\squirrel/squtils.h:38:4: error: 'sq_vm_free' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from include\scripting\squirrel/sqpcheader.h:17:0,
from C:\Users\Francisco\Develop\svn\codeblocks\src\sdk\scripting\squirrel\sqvm.cpp:4:
include\scripting\squirrel/sqstate.h:142:6: note: 'void sq_vm_free(void*, SQUnsignedInteger)' declared here, later in the translation unit
In file included from include\scripting\squirrel/sqobject.h:5:0,
from include\scripting\squirrel/sqpcheader.h:16,
from C:\Users\Francisco\Develop\svn\codeblocks\src\sdk\scripting\squirrel\sqvm.cpp:4:
include\scripting\squirrel/squtils.h: In instantiation of 'void sqvector<T>::_realloc(SQUnsignedInteger) [with T = int; SQUnsignedInteger = unsigned int]':
include\scripting\squirrel/squtils.h:45:4: required from 'void sqvector<T>::resize(SQUnsignedInteger, const T&) [with T = int; SQUnsignedInteger = unsigned int]'
include\scripting\squirrel/squtils.h:27:3: required from 'void sqvector<T>::copy(const sqvector<T>&) [with T = int]'
include\scripting\squirrel/sqclosure.h:97:34: required from here
include\scripting\squirrel/squtils.h:97:3: error: 'sq_vm_realloc' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from include\scripting\squirrel/sqpcheader.h:17:0,
from C:\Users\Francisco\Develop\svn\codeblocks\src\sdk\scripting\squirrel\sqvm.cpp:4:
include\scripting\squirrel/sqstate.h:141:7: note: 'void* sq_vm_realloc(void*, SQUnsignedInteger, SQUnsignedInteger)' declared here, later in the translation unit
--- End code ---
I'm compiling under Windows 7 x64, using TDM-GCC 4.6.1, wxWidgets 2.8.12.
MortenMacFly:
--- Quote from: ptDev on March 17, 2012, 08:15:49 am ---Since I updated to rev. 7900, I find my self unable to rebuild C::B from scratch:
--- End quote ---
Looks like you have old artefacts in your working copy. Do a clean brand-new checkout (remove the whole folder with sources before) and try again.
ptDev:
Did a brand new checkout to another folder, and updated the global variables in C::B as well. The rebuild failed again. What else could be wrong? Settings in the compiler?
P.S.: Could someone else try a full checkout to see if they can reproduce the issue?
gd_on:
did you try to delete the 2 .gch files within include ?
gd_on
ptDev:
--- Quote from: gd_on on March 17, 2012, 11:40:57 am ---did you try to delete the 2 .gch files within include ?
gd_on
--- End quote ---
I don't even find any such files anywhere. This is a full new checkout from trunk.
Navigation
[0] Message Index
[#] Next page
Go to full version