Author Topic: Building problem on GNU/Linux  (Read 4183 times)

Offline dejan

  • Multiple posting newcomer
  • *
  • Posts: 11
Building problem on GNU/Linux
« on: November 21, 2007, 12:12:52 pm »
I have this same problem for maybe more than 2 weeks. Whenever I tried to build CB I had FRESH SVN files.

You can see what kind of trouble I have on http://cpp.sourceforge.net/?show=1969 .

Attached is config.log file, so You can see some details about environment. I tried to contact people via IRC, looks like irc://irc.freenode.org/codeblocks channel is dead - only idlers are there. :)

Cheers!

[attachment deleted by admin]

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: Building problem on GNU/Linux
« Reply #1 on: November 21, 2007, 03:04:15 pm »
Code::Blocks can no longer be built with wxWidgets 2.6; you need to upgrade to 2.8.
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

Offline dejan

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: Building problem on GNU/Linux
« Reply #2 on: November 21, 2007, 09:53:24 pm »
TDragon, thank You for reply. I am going to install wxWidgets 2.8 as You recommended.

Ryu

  • Guest
Re: Building problem on GNU/Linux
« Reply #3 on: November 23, 2007, 04:37:14 pm »
Hi everyone, first at all congratulations for this great project  :lol:

Now , i have the rev: 4665 and i get this error:

g++ -DHAVE_CONFIG_H -I. -I../../../../src/include -I../../../../src/include/scripting/include -I../../../../src/include/scripting/sqplus -Ulinux -Uunix -O2 -ffast-math -march=athlon64 -O3 -funroll-loops -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT SquirrelObject.lo -MD -MP -MF .deps/SquirrelObject.Tpo -c SquirrelObject.cpp  -fPIC -DPIC -o .libs/SquirrelObject.o
SquirrelObject.cpp:122: error: prototype for 'BOOL SquirrelObject::IsNumeric() const' does not match any in class 'SquirrelObject'
../../../../src/include/scripting/sqplus/SquirrelObject.h:56: error: candidate is: SQInteger SquirrelObject::IsNumeric() const
SquirrelObject.cpp:122: error: 'BOOL SquirrelObject::IsNumeric() const' cannot be overloaded
../../../../src/include/scripting/sqplus/SquirrelObject.h:56: error: with 'SQInteger SquirrelObject::IsNumeric() const'


I think that sqplus is getting problems, because before this one i got other in 'sqplus.h' in which the function SetValue have prblems with -1 but i fixed this changing for INT(-1); so please checking it out.

I'm using Ubuntu Edgy 64 - wxWidgets 2.8.6

Offline Xaviou

  • Regular
  • ***
  • Posts: 424
    • X@v's wxStuff
Re: Building problem on GNU/Linux
« Reply #4 on: November 23, 2007, 08:10:15 pm »
Hi all !

Hi everyone, first at all congratulations for this great project  :lol:

Now , i have the rev: 4665 and i get this error:

g++ -DHAVE_CONFIG_H -I. -I../../../../src/include -I../../../../src/include/scripting/include -I../../../../src/include/scripting/sqplus -Ulinux -Uunix -O2 -ffast-math -march=athlon64 -O3 -funroll-loops -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT SquirrelObject.lo -MD -MP -MF .deps/SquirrelObject.Tpo -c SquirrelObject.cpp  -fPIC -DPIC -o .libs/SquirrelObject.o
SquirrelObject.cpp:122: error: prototype for 'BOOL SquirrelObject::IsNumeric() const' does not match any in class 'SquirrelObject'
../../../../src/include/scripting/sqplus/SquirrelObject.h:56: error: candidate is: SQInteger SquirrelObject::IsNumeric() const
SquirrelObject.cpp:122: error: 'BOOL SquirrelObject::IsNumeric() const' cannot be overloaded
../../../../src/include/scripting/sqplus/SquirrelObject.h:56: error: with 'SQInteger SquirrelObject::IsNumeric() const'


I think that sqplus is getting problems, because before this one i got other in 'sqplus.h' in which the function SetValue have prblems with -1 but i fixed this changing for INT(-1); so please checking it out.

I'm using Ubuntu Edgy 64 - wxWidgets 2.8.6

I have the same problem (with the same config) while building rev 4666  :?
My wxWidgets's stuff : https://wxstuff.xaviou.fr/