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

Offline gd_on

  • Lives here!
  • ****
  • Posts: 799
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
-------------- 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 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.5 (tests with 3.3), Msys2 Compilers 14.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline Miguel Gimenez

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

Code
    int imSize = Manager::Get()->GetImageSize(Manager::UIComponent::Toolbars);

instead until Darmar fixes the code