User forums > Using Code::Blocks
Problem with fortran project plugin
gd_on:
I tried to compile fortran project plugin (svn 22) after updating C::B to svn 8238 (and 8245), but it does not link apparently (compilation is OK). Probably something is missing now because it was OK 3/4 weeks ago.
Here is the short log (probably sufficient !)
--- Code: ---.objs\nativeparserf.o||In function `ZN13NativeParserF23OnReparseWorkspaceTimerER12wxTimerEvent':|
C:\Users\Gerard_2\Documents\CodeBlocks_SVN\CodeBlocks_src\src\plugins\contrib\FortranProject\nativeparserf.cpp|253|undefined reference to `s_WorkspaceParserMutex'|
C:\Users\Gerard_2\Documents\CodeBlocks_SVN\CodeBlocks_src\src\plugins\contrib\FortranProject\nativeparserf.cpp|256|undefined reference to `s_WorkspaceParserMutex'|
C:\Users\Gerard_2\Documents\CodeBlocks_SVN\CodeBlocks_src\src\plugins\contrib\FortranProject\nativeparserf.cpp|258|undefined reference to `WorkspaceParserThread::WorkspaceParserThread(NativeParserF*, int)'|
.objs\nativeparserf.o||In function `ZN13NativeParserF20ReparseCurrentEditorEv':|
C:\Users\Gerard_2\Documents\CodeBlocks_SVN\CodeBlocks_src\src\plugins\contrib\FortranProject\nativeparserf.cpp|928|undefined reference to `BufferParserThread::s_BPTInstances'|
C:\Users\Gerard_2\Documents\CodeBlocks_SVN\CodeBlocks_src\src\plugins\contrib\FortranProject\nativeparserf.cpp|930|undefined reference to `BufferParserThread::BufferParserThread(NativeParserF*, int)'|
.objs\parserf.o||In function `ZN7ParserF13IsFileFortranERK8wxStringR17FortranSourceForm':|
C:\Users\Gerard_2\Documents\CodeBlocks_SVN\CodeBlocks_src\src\plugins\contrib\FortranProject\parserf.cpp|1074|undefined reference to `FortranFileExt::IsFileFortran(wxString const&, FortranSourceForm&)'|
.objs\parserf.o||In function `ZN7ParserF13RereadOptionsEv':|
C:\Users\Gerard_2\Documents\CodeBlocks_SVN\CodeBlocks_src\src\plugins\contrib\FortranProject\parserf.cpp|1079|undefined reference to `FortranFileExt::RereadOptions()'|
.objs\parserf.o||In function `ZN7ParserF18GetFortranFileExtsERSt3setI8wxStringSt4lessIS1_ESaIS1_EE':|
C:\Users\Gerard_2\Documents\CodeBlocks_SVN\CodeBlocks_src\src\plugins\contrib\FortranProject\parserf.cpp|3539|undefined reference to `FortranFileExt::GetFortranFileExts(std::set<wxString, std::less<wxString>, std::allocator<wxString> >&)'|
.objs\parserf.o||In function `ZN7ParserF18ConnectToNewTokensEv':|
C:\Users\Gerard_2\Documents\CodeBlocks_SVN\CodeBlocks_src\src\plugins\contrib\FortranProject\parserf.cpp|3575|undefined reference to `s_NewTokensMutex'|
.objs\parserf.o||In function `_tcf_3':|
C:\Users\Gerard_2\Documents\CodeBlocks_SVN\CodeBlocks_src\src\plugins\contrib\FortranProject\parserf.cpp|22|undefined reference to `FortranFileExt::~FortranFileExt()'|
.objs\parserf.o||In function `_static_initialization_and_destruction_0':|
C:\Users\Gerard_2\Documents\CodeBlocks_SVN\CodeBlocks_src\src\plugins\contrib\FortranProject\parserf.cpp|22|undefined reference to `FortranFileExt::FortranFileExt()'|
.objs\fortranproject.o||In function `ZN14FortranProject12OnChangeCaseER14wxCommandEvent':|
C:\Users\Gerard_2\Documents\CodeBlocks_SVN\CodeBlocks_src\src\plugins\contrib\FortranProject\fortranproject.cpp|1844|undefined reference to `ChangeCase::ChangeCase(wxWindow*)'|
C:\Users\Gerard_2\Documents\CodeBlocks_SVN\CodeBlocks_src\src\plugins\contrib\FortranProject\fortranproject.cpp|1844|undefined reference to `ChangeCase::~ChangeCase()'|
C:\Users\Gerard_2\Documents\CodeBlocks_SVN\CodeBlocks_src\src\plugins\contrib\FortranProject\fortranproject.cpp|1844|undefined reference to `ChangeCase::~ChangeCase()'|
||=== Génération terminée : 14 erreurs, 0 avertissements (0 minutes, 8 secondes) ===|
--- End code ---
I tried a full C::B generation before the fortran project build, but it's not sufficient.
gd_on
MortenMacFly:
--- Quote from: gd_on on August 22, 2012, 05:25:27 pm ---I tried a full C::B generation before the fortran project build, but it's not sufficient.
--- End quote ---
Works fine for me - but probably you should report that to the maintainer of that plugin (darmar) in his own forum
stahta01:
--- Quote from: MortenMacFly on August 22, 2012, 06:14:15 pm ---
--- Quote from: gd_on on August 22, 2012, 05:25:27 pm ---I tried a full C::B generation before the fortran project build, but it's not sufficient.
--- End quote ---
Works fine for me - but probably you should report that to the maintainer of that plugin (darmar) in his own forum
--- End quote ---
It also compiled and linked for me. I am trying a full re-build and see if it fails.
But, I would guess there is not going to be a problem on the second build. Edit: The second build worked for me.
I suggest doing a full compile build because it is likely the object files are in the wrong order in the link command.
Note: I suggest a clean and build of the FORTRAN project before doing any error reporting.
Tim S.
gd_on:
It was my mistake ! :(
I had made my own cbp file to integrate it with the full C::B generation by modifying and adding a few things : adding a default alias and directly copy the files in the right standard output folder. But there was some modification in the original .cbp file (new .cpp) that were not reported in my own version. So, of course ... they were missing. ;)
Now it works. 8)
gd_on
htg20:
Hello All,
I am heavily dependent on Codeblocks with Fortran plugin (http://wiki.codeblocks.org/index.php?title=FortranProject_plugin). Apparently, this is not shipped with standard C::B installation with all the plugins in Ubuntu. So, I manually download from its website (http://darmar.vgtu.lt/). This is not a problem, but now I want to use C::B on a Mac with Fortran plugin (I don't want to use it but I develop a code and some of its users want to use it on MAC).
Will any of you be kind enough to compile the Fortran plugin on MAC?
Cheers
Hossein
Navigation
[0] Message Index
[#] Next page
Go to full version