User forums > Help

Linux build - Tools Node Regression?

<< < (2/7) > >>

digifuzzy:
found it...
Arch maintainer used the STL flag to build

from the pkgbuild file...

--- Code: ---build() {
  cd wxWidgets-${pkgver}
  ./configure --prefix=/usr --libdir=/usr/lib --with-gtk=2 --with-opengl --enable-unicode \
    --enable-graphics_ctx --enable-mediactrl --enable-webview --enable-stl --with-regex=builtin \
    --with-libpng=sys --with-libxpm=sys --with-libjpeg=sys --with-libtiff=sys \
    --disable-precomp-headers
  make
  make -C locale allmo

--- End code ---

oBFusCATed:
Can you try this patch (I've tried if it will compile, but not if it runs correctly):

http://cmpt.benbmp.org/codeblocks/patches/wx3.stl.patch

digifuzzy:

--- Quote from: oBFusCATed on April 30, 2014, 11:43:36 pm ---Can you try this patch (I've tried if it will compile, but not if it runs correctly):

http://cmpt.benbmp.org/codeblocks/patches/wx3.stl.patch

--- End quote ---

patching was painful. I'm assuming you were outside the codeblocks folder when you made it?
anyway...

I can get make to build past the point of the previous error.
However, the build process balks at SQL.

--- Code: ---In file included from ../../../../src/include/scripting/bindings/sc_base_types.h:27:0,
                 from sc_wxtypes.cpp:18:
../../../../src/include/scripting/sqplus/sqplus.h: In instantiation of 'static SQInteger SqPlus::DirectCallInstanceMemberFunction<Callee, Func>::Dispatch(HSQUIRRELVM) [with Callee = wxArrayString; Func = void (wxArrayStringBase::*)(); SQInteger = long int; HSQUIRRELVM = SQVM*]':
../../../../src/include/scripting/sqplus/sqplus.h:1313:86:   required from 'void SqPlus::sq_pushdirectinstanceclosure(HSQUIRRELVM, const Callee&, Func, SQUnsignedInteger) [with Callee = wxArrayString; Func = void (wxArrayStringBase::*)(); HSQUIRRELVM = SQVM*; SQUnsignedInteger = long unsigned int]'
../../../../src/include/scripting/sqplus/sqplus.h:1397:47:   required from 'void SqPlus::RegisterInstance(HSQUIRRELVM, HSQOBJECT, Callee&, Func, const SQChar*) [with Callee = wxArrayString; Func = void (wxArrayStringBase::*)(); HSQUIRRELVM = SQVM*; HSQOBJECT = tagSQObject; SQChar = char]'
../../../../src/include/scripting/sqplus/sqplus.h:1751:79:   required from 'SqPlus::SQClassDef<TClassType>& SqPlus::SQClassDef<TClassType>::func(Func, const SQChar*) [with Func = void (wxArrayStringBase::*)(); TClassType = wxArrayString; SQChar = char]'
sc_wxtypes.cpp:253:52:   required from here
../../../../src/include/scripting/sqplus/sqplus.h:1244:36: error: no matching function for call to 'Call(wxArrayString&, void (wxArrayStringBase::*&)(), SQVM*&, int)'
     return Call(*instance,*func,v,2);
                                    ^
 
--- End code ---

digifuzzy:

--- Quote from: digifuzzy on May 01, 2014, 01:36:01 am ---
--- Quote from: oBFusCATed on April 30, 2014, 11:43:36 pm ---Can you try this patch (I've tried if it will compile, but not if it runs correctly):
http://cmpt.benbmp.org/codeblocks/patches/wx3.stl.patch

--- End quote ---
patching was painful. I'm assuming you were outside the codeblocks folder when you made it?

--- End quote ---
my bad. I did a checkout of the trunk folder only not the whole branch. will fix. :) thanks

digifuzzy:
my bad - I had been working in git and forgot svn commands.
oBFusCATed: your patch worked. I just didn't use `patch` correctly.

did a clean svn checkout of the trunk - get a consistent error.
Make complains: "recipe for target 'sc_wxtypes.lo' failed" and gives verbose messages revolving around src/include/scripting/sqplus/SqPlusConst.h and src/include/scripting/bindings/sc_base_types.h. I'm thinking I've got a missing dependency or there is some other code issue.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version