Author Topic: compilation problem in fortranplugin for svn 11780  (Read 115 times)

Offline gd_on

  • Regular
  • ***
  • Posts: 456
compilation problem in fortranplugin for svn 11780
« on: July 05, 2019, 10:19:40 am »
When building C::B 11780 I obtain a compilation error in FortranPlugin :
Code: [Select]
-------------- Générer : default dans FortranProject wx3.1.x (64 bit) (compilateur : GNU GCC Compiler)---------------

Compilation : fortranproject.cpp
Compilation : indentestimator.cpp
Compilation : keywordsparserf.cpp
Compilation : makefilegen.cpp
Compilation : nativeparserf.cpp
Compilation : parserf.cpp
C:\Users\Gerard\Documents\CodeBlocks_SVN\CodeBlocks_src\src\plugins\contrib\FortranProject\fortranproject.cpp: In member function 'virtual bool FortranProject::BuildToolBar(wxToolBar*)':
C:\Users\Gerard\Documents\CodeBlocks_SVN\CodeBlocks_src\src\plugins\contrib\FortranProject\fortranproject.cpp:1265:34: error: 'class Manager' has no member named 'GetToolbarImageSize'; did you mean 'GetImageSize'?
     int imSize = Manager::Get()->GetToolbarImageSize();
                                  ^~~~~~~~~~~~~~~~~~~
                                  GetImageSize
Compilation : parserthreadf.cpp
Le processus s'est terminé avec le code d'état 1 (0 minute(s), 12 seconde(s))
 

I am on Windows 10 with MinGW 8.1 seh posix version. No problems with my previous svn 11764.

gd_on
Windows 10 or 7, svn C::B (last version or almost!), WxWidgets 2.8.12, Compilers TDM 4.9.2 32 bits (gcc and gfortran installed in C:\MinGW32). Tests with C::B 64 bits and WxWidgets 2.8.12 or 3.1.2 (64 bits) compiled by TDM 4.9.2 or Std 8.1 in C:\MinGW64

Offline Miguel Gimenez

  • Regular
  • ***
  • Posts: 301
Re: compilation problem in fortranplugin for svn 11780
« Reply #1 on: July 05, 2019, 11:54:04 am »
GetToolbarImageSize() has been removed, use

Code: [Select]
    int imSize = Manager::Get()->GetImageSize(Manager::UIComponent::Toolbars);
instead until Darmar fixes the code