Author Topic: SVN 1642 - Linux (problem and review on wxAUI)  (Read 6051 times)

Offline cyberkoa

  • Plugin developer
  • Almost regular
  • ****
  • Posts: 145
    • http://
SVN 1642 - Linux (problem and review on wxAUI)
« on: January 02, 2006, 08:49:35 am »
I have just tested SVN-HEAD on Linux. After compiling and installing, I start up codeblocks, there is an error sounds "unable to load main_toolbar ..." (refer attachment)

The main toolbar is then not shown, (refer attached screenshot)

I tried to list the resources.zip , but main_toolbar_16x16.xrc is clearly in the resources.zip  :?
Quote
super@ubuntu:/usr/local/share/codeblocks$ unzip -l resources.zip
Archive:  resources.zip
  Length     Date   Time    Name
 --------    ----   ----    ----
     7109  12-13-05 19:16   dlg_about_plugin.xrc
     8587  12-13-05 19:16   dlg_about.xrc
    18940  12-13-05 19:16   env_settings.xrc
     2547  12-13-05 19:16   imp_exp_config.xrc
    18859  12-13-05 19:16   main_menu.xrc
     2204  12-13-05 19:16   main_toolbar_16x16.xrc
     2132  12-13-05 19:16   main_toolbar.xrc
     2445  12-13-05 19:16   print_dialog.xrc
      538  12-13-05 19:16   images/ascii.png
      330  12-13-05 19:16   images/codeblocks.png
     1354  12-13-05 19:16   images/compile.png
     1262  12-13-05 19:16   images/compilerun.png
      953  12-13-05 19:16   images/contents_16x16.png
      187  12-13-05 19:16   images/dbgnext.png
      244  12-13-05 19:16   images/dbgrun.png
      275  12-13-05 19:16   images/dbgrunto.png
      182  12-13-05 19:16   images/dbgstep.png
      714  12-13-05 19:16   images/edit_16x16.png
      590  12-13-05 19:16   images/editcopy.png
     1196  12-13-05 19:16   images/editcut.png
      881  12-13-05 19:16   images/editpaste.png
     1393  12-13-05 19:16   images/filefind.png
      233  12-13-05 19:16   images/file-missing.png
      194  12-13-05 19:16   images/file-modified.png
      692  12-13-05 19:16   images/filenew.png
     1356  12-13-05 19:16   images/fileopen.png
      183  12-13-05 19:16   images/file.png
      200  12-13-05 19:16   images/file-readonly.png
     1732  12-13-05 19:16   images/filesaveas.png
     1531  12-13-05 19:16   images/filesave.png
      663  12-13-05 19:16   images/flag_16x16.png
      649  12-13-05 19:16   images/folder_new.png
      505  12-13-05 19:16   images/folder_open.png
     1184  12-13-05 19:16   images/folder.png
      882  12-13-05 19:16   images/gohome.png
      948  12-13-05 19:16   images/misc_16x16.png
      498  12-13-05 19:16   images/modified_file.png
     1278  12-13-05 19:16   images/newproject.png
      196  12-13-05 19:16   images/rc-file-added.png
      217  12-13-05 19:16   images/rc-file-conflict.png
      326  12-13-05 19:16   images/rc-file-missing.png
      251  12-13-05 19:16   images/rc-file-modified.png
      352  12-13-05 19:16   images/rc-file-outofdate.png
      213  12-13-05 19:16   images/rc-file-requireslock.png
      310  12-13-05 19:16   images/rc-file-uptodate.png
      904  12-13-05 19:16   images/rebuild.png
      739  12-13-05 19:16   images/redo.png
      811  12-13-05 19:16   images/run.png
     1169  12-13-05 19:16   images/searchreplace.png
      767  12-13-05 19:16   images/source.png
    47807  12-13-05 19:16   images/splash_new.png
    35918  12-13-05 19:16   images/splash.png
      974  12-13-05 19:16   images/stop.png
      681  12-13-05 19:16   images/undo.png
      978  12-13-05 19:16   images/16x16/bookmark_add.png
      253  12-13-05 19:16   images/16x16/editcopy.png
      610  12-13-05 19:16   images/16x16/editcut.png
      529  12-13-05 19:16   images/16x16/editpaste.png
      882  12-13-05 19:16   images/16x16/exit.png
     1027  12-13-05 19:16   images/16x16/fileclose.png
      860  12-13-05 19:16   images/16x16/filefind.png
      456  12-13-05 19:16   images/16x16/filenew.png
      650  12-13-05 19:16   images/16x16/fileopen.png
      653  12-13-05 19:16   images/16x16/fileprint.png
      911  12-13-05 19:16   images/16x16/filequickprint.png
     1104  12-13-05 19:16   images/16x16/filesaveas.png
      711  12-13-05 19:16   images/16x16/filesave.png
     1223  12-13-05 19:16   images/16x16/findf.png
      671  12-13-05 19:16   images/16x16/folder_new.png
      515  12-13-05 19:16   images/16x16/folder_open.png
      650  12-13-05 19:16   images/16x16/folder.png
      592  12-13-05 19:16   images/16x16/goto.png
     1084  12-13-05 19:16   images/16x16/history_clear.png
      829  12-13-05 19:16   images/16x16/idea.png
      855  12-13-05 19:16   images/16x16/info.png
      605  12-13-05 19:16   images/16x16/newproject.png
     1270  12-13-05 19:16   images/16x16/plug.png
      592  12-13-05 19:16   images/16x16/redo.png
     1114  12-13-05 19:16   images/16x16/run.png
      767  12-13-05 19:16   images/16x16/searchreplace.png
      489  12-13-05 19:16   images/16x16/undo.png
      900  12-13-05 19:16   images/16x16/view_sidetree.png
      894  12-13-05 19:16   images/16x16/view_tree.png
      960  12-13-05 19:16   images/16x16/window_fullscreen.png

Anyway , apart from this problem , it seems like run fine.

The wxAUI seems look and work better in Linux than in Windows
 1. Better look for toolbar (in MS windows the toolbar at the left side)
  2. Better handling of windows positioning  (in MS windows , I can't move the message back to the exact original position after moving out)
  3. The mouse does not turns to error for resizing (in Ms Windows , it does) <- this should be wxAUI problem.


wxSmith seems not added in the building script...


EDIT : I am using Ubuntu Linux 5.10 breezy


[attachment deleted by admin]

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: SVN 1642 - Linux (problem and review on wxAUI)
« Reply #1 on: January 02, 2006, 08:54:55 am »
Run make clean-zipfiles && make && sudo make install to update all the resources.
Be patient!
This bug will be fixed soon...

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: SVN 1642 - Linux (problem and review on wxAUI)
« Reply #2 on: January 02, 2006, 09:57:30 am »
...wxSmith seems not added in the building script...
run ./configure --enable-contrib
also dicussed here http://forums.codeblocks.org/index.php?topic=1791.0

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5493
Re: SVN 1642 - Linux (problem and review on wxAUI)
« Reply #3 on: January 02, 2006, 12:40:10 pm »
Run make clean-zipfiles && make && sudo make install to update all the resources.

I had the same problem, but I did before make a make clean --> apparently this does not clean everything ??

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: SVN 1642 - Linux (problem and review on wxAUI)
« Reply #4 on: January 02, 2006, 12:48:09 pm »
Run make clean-zipfiles && make && sudo make install to update all the resources.

I had the same problem, but I did before make a make clean --> apparently this does not clean everything ??

make clean cleans up everything. When you need to update just the resources make clean-zipfiles cleans only them, essentially not forcing you to rebuild everything.
Be patient!
This bug will be fixed soon...

Offline Der Meister

  • Regular
  • ***
  • Posts: 307
Re: SVN 1642 - Linux (problem and review on wxAUI)
« Reply #5 on: January 02, 2006, 01:28:53 pm »
Does 'make clean' really imply 'make clean-zipfiles'? Because for compiling revision 1642 I first did a 'make clean', then 'make' and 'make install'. After launching Code::Blocks I got an error about some resources or so (not sure if it was the same problem as the on mentioned by cyberkoa) but it disappeared after running 'make clean-zipfiles && make && make install'. As killerbot said, 'make clean' seems to leave the zip-files with the resources untouched.
Real Programmers don't comment their code. If it was hard to write, it should be hard to understand.
Real Programmers don't write in BASIC. Actually, no programmers write in BASIC, after the age of 12.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: SVN 1642 - Linux (problem and review on wxAUI)
« Reply #6 on: January 02, 2006, 01:55:43 pm »
Does 'make clean' really imply 'make clean-zipfiles'? Because for compiling revision 1642 I first did a 'make clean', then 'make' and 'make install'. After launching Code::Blocks I got an error about some resources or so (not sure if it was the same problem as the on mentioned by cyberkoa) but it disappeared after running 'make clean-zipfiles && make && make install'. As killerbot said, 'make clean' seems to leave the zip-files with the resources untouched.

Hmm, I will have to check. It should though. If it doesn't, it's a bug in the build system...
Be patient!
This bug will be fixed soon...