Author Topic: The 27-31 October 2007 build will NOT be out.  (Read 53813 times)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6589
    • My Best Post
Re: The 27-31 October 2007 build will NOT be out.
« Reply #15 on: October 29, 2007, 02:54:56 am »
I've created a patch for "propgrid.h" and "manager.h" : http://jens.lody.name/debian/patches/propgrid.patch

It could be useful to submit your patch to the propgrid tracker:
http://sourceforge.net/tracker/?group_id=133406

Why, since it has already been applied to SVN?

Tim S
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline tvaster

  • Multiple posting newcomer
  • *
  • Posts: 20
Re: The 27-31 October 2007 build will NOT be out.
« Reply #16 on: October 29, 2007, 03:25:47 am »
Last successful build is with SVN 4555.

make clean;make     stops with the following error:

Since then I get the following error with all susequent SVNs
/bin/sh ../../libtool --tag=CXX --mode=link g++  -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions   -o codeblocks -L/opt/gnome/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lfreetype -lz -lfontconfig -lexpat -lglitz -lm -lpng12 -lXrender -lX11 -lpthread -lXau -lXdmcp   app.o appglobals.o compilersettingsdlg.o crashhandler.o dlgabout.o dlgaboutplugin.o environmentsettingsdlg.o infopane.o ipc.o main.o prefix.o printdlg.o scriptconsole.o scriptingsettingsdlg.o splashscreen.o startherepage.o -LwxAUI -lwxaui -L../sdk -lcodeblocks -L/usr/local/lib -pthread   -lwx_gtk2u-2.8  -lpthread -ldl
g++ -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -o .libs/codeblocks app.o appglobals.o compilersettingsdlg.o crashhandler.o dlgabout.o dlgaboutplugin.o environmentsettingsdlg.o infopane.o ipc.o main.o prefix.o printdlg.o scriptconsole.o scriptingsettingsdlg.o splashscreen.o startherepage.o -pthread  -L/opt/gnome/lib -L/usr/src/codeblocks/src/src/wxAUI /usr/src/codeblocks/src/src/wxAUI/.libs/libwxaui.a /opt/gnome/lib/libgtk-x11-2.0.so /opt/gnome/lib/libgdk-x11-2.0.so /opt/gnome/lib/libatk-1.0.so /opt/gnome/lib/libgdk_pixbuf-2.0.so /opt/gnome/lib/libpangocairo-1.0.so /opt/gnome/lib/libpangoft2-1.0.so /opt/gnome/lib/libpango-1.0.so /usr/lib/libcairo.so /opt/gnome/lib/libgobject-2.0.so /opt/gnome/lib/libgmodule-2.0.so /opt/gnome/lib/libglib-2.0.so -lrt /usr/lib/libfontconfig.so /usr/lib/libfreetype.so -lexpat /usr/lib/libglitz.so /usr/lib/libpng12.so -lm -lz /usr/lib/libXrender.so /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -L/usr/src/codeblocks/src/sdk /usr/src/codeblocks/src/sdk/.libs/libcodeblocks.so -L/usr/local/lib -lwx_gtk2u-2.8 -lpthread -ldl
/usr/src/codeblocks/src/sdk/.libs/libcodeblocks.so: undefined reference to `signpost_alpha'
collect2: ld returned 1 exit status
make[3]: *** [codeblocks] Error 1
make[3]: Leaving directory `/usr/src/codeblocks/src/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/codeblocks/src/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/codeblocks/src'

Suse 10.2  2.8.4

I have not changed any of the command line options

Offline Rye

  • Single posting newcomer
  • *
  • Posts: 9
Re: The 27-31 October 2007 build will NOT be out.
« Reply #17 on: October 29, 2007, 05:37:07 am »
Probably just a bad revision, wait till the next revision and try again ... it worked for me once.

Also have any of the devs tried compiling in Code::Blocks under GNU/Linux with GCC 4.2.1? because a few people (including myself) are having problems with incremental builds ... as in they don't work at all, a full rebuild is always forced when you 'build'.
« Last Edit: October 29, 2007, 05:38:39 am by Rye »

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: The 27-31 October 2007 build will NOT be out.
« Reply #18 on: October 29, 2007, 05:42:19 am »
I've created a patch for "propgrid.h" and "manager.h" : http://jens.lody.name/debian/patches/propgrid.patch

It could be useful to submit your patch to the propgrid tracker:
http://sourceforge.net/tracker/?group_id=133406

Why, since it has already been applied to SVN?

Tim S

@Tim:

He means the tracking system of wxPropertyGrid.

@lazalong:
It's fixed in newer revision(s) that the one used by codeblocks.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6589
    • My Best Post
Re: The 27-31 October 2007 build will NOT be out.
« Reply #19 on: October 29, 2007, 07:26:59 am »
I've created a patch for "propgrid.h" and "manager.h" : http://jens.lody.name/debian/patches/propgrid.patch

It could be useful to submit your patch to the propgrid tracker:
http://sourceforge.net/tracker/?group_id=133406

Why, since it has already been applied to SVN?

Tim S

@Tim:

He means the tracking system of wxPropertyGrid.

@lazalong:
It's fixed in newer revision(s) that the one used by codeblocks.

Yeah, but since the problem does NOT exist in 1.2.9 release; all we would do is annoy the wxPropertyGrid manager.

Tim S
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6589
    • My Best Post
Re: The 27-31 October 2007 build will NOT be out.
« Reply #20 on: October 29, 2007, 07:52:56 am »
/usr/src/codeblocks/src/sdk/.libs/libcodeblocks.so: undefined reference to `signpost_alpha'

Try this patch

Code: [Select]
Index: src/sdk/wxFlatNotebook/src/wxFlatNotebook/fnb_resources.cpp
===================================================================
--- src/sdk/wxFlatNotebook/src/wxFlatNotebook/fnb_resources.cpp (revision 4572)
+++ src/sdk/wxFlatNotebook/src/wxFlatNotebook/fnb_resources.cpp (working copy)
@@ -136,7 +136,7 @@
 "                                ",
 "                                "
 };
-const unsigned char signpost_alpha[]={
+unsigned char signpost_alpha[]={
 0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
 0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
 0,   0,   0,   0,   7, 174, 240, 238, 148,   0,   0,   0,   0,   0,   0,   0,

Someone, appears to have added to many const.

FYI: You do realize SVN is broken, Right?
It errors out a little farther after the patch.

Tim S
« Last Edit: October 29, 2007, 07:57:10 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5177
Re: The 27-31 October 2007 build will NOT be out.
« Reply #21 on: October 29, 2007, 07:57:02 am »
I added the const, but on linux everything builded fine for me, just tried on windows same issue, but why should it not be const ??
[now the warning will be back :-( ] It is used once at a place where I cast away the const, but as fas as I can't tell from the wx doc, it seems the argument will not be changed by the wxImage method [not even delete since 2e arg is true]

Have undo-ed that const in the meantime.

[I wonder why make or gcc apparently is not working correctly, since for some it breaks compilation, for others it don't]
« Last Edit: October 29, 2007, 08:04:23 am by killerbot »

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6589
    • My Best Post
Re: The 27-31 October 2007 build will NOT be out.
« Reply #22 on: October 29, 2007, 08:05:52 am »
I added the const, but on linux everything builded fine for me, just tried on windows same issue, but why should it not be const ??
[now the warning will be back :-( ] It is used once at a place where I cast away the const, but as fas as I can't tell from the wx doc, it seems the argument will not be changed by the wxImage method [not even delete since 2e arg is true]

[I wonder why make or gcc apparently is not working correctly, since for some it breaks compilation, for others it don't]

The "const" was causing an linker error in windows; the correct solution could be somewhere else.
But, removing the const did not cause a compiler warning for me. Using MinGW 4.2 SJLJ

Oops, I just remember I have several warning flags turned off.

Tim S
« Last Edit: October 29, 2007, 08:07:50 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9496
Re: The 27-31 October 2007 build will NOT be out.
« Reply #23 on: October 29, 2007, 09:21:14 am »
This had already been done, every windows cbp of CB includes a project build script.
The script is OK (and cool ;-)) but I'd like to veto the path where it had been put into. Remember that usually you can checkout the C::B C++ sources only using svn.berlios.de/svnroot/repos/codeblocks/src? This won't work now anymore. Why didn't you put this script under src/build_tools ? That would have been the place to do IMHO...?!
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: The 27-31 October 2007 build will NOT be out.
« Reply #24 on: October 29, 2007, 09:26:35 am »
Byo is the only one using wxPropertyGrid. I think you should just wait for him to finish his update to the most recent version (which has been talked of a few weeks ago). Then wxPropertyGrid will be gone from the Code::Blocks SDK anyway, and possibly the warnings are magically gone too.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5177
Re: The 27-31 October 2007 build will NOT be out.
« Reply #25 on: October 29, 2007, 09:54:54 am »
This had already been done, every windows cbp of CB includes a project build script.
The script is OK (and cool ;-)) but I'd like to veto the path where it had been put into. Remember that usually you can checkout the C::B C++ sources only using svn.berlios.de/svnroot/repos/codeblocks/src? This won't work now anymore. Why didn't you put this script under src/build_tools ? That would have been the place to do IMHO...?!
With regards, Morten.

for no reason, you could put it in src (next to the main cbp), it is not actually a build tool. It is there temporarily untill the wx guys clean up their ...

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 27-31 October 2007 build will NOT be out.
« Reply #26 on: October 29, 2007, 10:03:03 am »
for no reason, you could put it in src (next to the main cbp), it is not actually a build tool. It is there temporarily untill the wx guys clean up their ...

Just remove the script file. Following attached script would do the job for us.

Code: [Select]
[[if (PLATFORM == PLATFORM_MSW && (GetCompilerFactory().GetCompilerVersionString(_T("gcc")) >= _T("4.2.0"))) print(_T("-Wno-attributes"));]]
Add the above line to Project > Build options > Compiler settings > Other options section as a compiler option. It would get expanded during building and will remain attached to the Project file.

Please Note: Don't break the line into two or more. It simply won't work. :)
Be a part of the solution, not a part of the problem.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9496
Re: The 27-31 October 2007 build will NOT be out.
« Reply #27 on: October 29, 2007, 10:04:15 am »
It is there temporarily untill the wx guys clean up their ...

Then wxPropertyGrid will be gone from the Code::Blocks SDK anyway, and possibly the warnings are magically gone too.

Oh - ok... so I do the change locally only until it's removed from SVN again - I thought this would be a permanent thing...
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5177
Re: The 27-31 October 2007 build will NOT be out.
« Reply #28 on: October 29, 2007, 10:07:44 am »
for no reason, you could put it in src (next to the main cbp), it is not actually a build tool. It is there temporarily untill the wx guys clean up their ...

Just remove the script file. Following attached script would do the job for us.

Code: [Select]
[[if (PLATFORM == PLATFORM_MSW && (GetCompilerFactory().GetCompilerVersionString(_T("gcc")) >= _T("4.2.0"))) print(_T("-Wno-attributes"));]]
Add the above line to Project > Build options > Compiler settings > Other options section as a compiler option. It would get expanded during building and will remain attached to the Project file.

Please Note: Don't break the line into two or more. It simply won't work. :)

hey you cracked it to put it into the cbp ;-) , I have tried but failed ;-)

However, looking back on this, I think it is better to have it in a script, otherwise you have to make sure every plug-in also has the correct pseudo script in place ...

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 27-31 October 2007 build will NOT be out.
« Reply #29 on: October 29, 2007, 10:09:44 am »
hey you cracked it to put it into the cbp ;-) , I have tried but failed ;-)

However, looking back on this, I think it is better to have it in a script, otherwise you have to make sure every plug-in also has the correct pseudo script in place ...

As you wish. :)
Be a part of the solution, not a part of the problem.