Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

compilation problem in fortranplugin for svn 11780

(1/1)

gd_on:
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))
 

--- End code ---

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

gd_on

Miguel Gimenez:
GetToolbarImageSize() has been removed, use


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

instead until Darmar fixes the code

Navigation

[0] Message Index

Go to full version