Re: [DuMuX] Linker options to be used with DuMuX
HiNikolai, any reason you are not using the Dumux classes for reading vtu (the VtkReader)? Timo > Am 04.12.2018 um 22:18 schrieb Christoph GrĂ¼ninger : > > Hi Nikolai, > that's almost pure CMake: You have to set CMAKE_EXE_LINKER_FLAGS with > your flags. Add "-DCMAKE_EXE_LINKER_FLAGS=-lvtkCommon -lvtkFiltering > -lvtkIO" to your CMAKE_FLAGS in the opts file. > Maybe you have to drop the "-l". > > Then rerun dunecontrol. > > Bye > Christoph > >> Am 04.12.18 um 18:44 schrieb Nikolai Andrianov: >> Dear DuMuX experts, >> >> >> Please advise how can I pass a string of linker options to DuMuX's cmake >> scripts? >> >> >> I would like to read the VTU output files using VTK methods, which are >> activated by passing the string ''-lvtkCommon -lvtkFiltering -lvtkIO' to >> the linker. >> >> >> Thank you, >> >> Nikolai >> >> >> ___ >> Dumux mailing list >> Dumux@listserv.uni-stuttgart.de >> https://listserv.uni-stuttgart.de/mailman/listinfo/dumux >> > > -- > Unfortunately, plots are notoriously hard to get right. Partly, the > default settings of programs like gnuplot or Excel are to blame for > this since these programs make it very convenient to create bad plots. >-- Till Tantau, "The TikZ and PGF Packages" ___ Dumux mailing list Dumux@listserv.uni-stuttgart.de https://listserv.uni-stuttgart.de/mailman/listinfo/dumux
Re: [DuMuX] Linker options to be used with DuMuX
Hi Nikolai, that's almost pure CMake: You have to set CMAKE_EXE_LINKER_FLAGS with your flags. Add "-DCMAKE_EXE_LINKER_FLAGS=-lvtkCommon -lvtkFiltering -lvtkIO" to your CMAKE_FLAGS in the opts file. Maybe you have to drop the "-l". Then rerun dunecontrol. Bye Christoph Am 04.12.18 um 18:44 schrieb Nikolai Andrianov: > Dear DuMuX experts, > > > Please advise how can I pass a string of linker options to DuMuX's cmake > scripts? > > > I would like to read the VTU output files using VTK methods, which are > activated by passing the string ''-lvtkCommon -lvtkFiltering -lvtkIO' to > the linker. > > > Thank you, > > Nikolai > > > ___ > Dumux mailing list > Dumux@listserv.uni-stuttgart.de > https://listserv.uni-stuttgart.de/mailman/listinfo/dumux > -- Unfortunately, plots are notoriously hard to get right. Partly, the default settings of programs like gnuplot or Excel are to blame for this since these programs make it very convenient to create bad plots. -- Till Tantau, "The TikZ and PGF Packages" ___ Dumux mailing list Dumux@listserv.uni-stuttgart.de https://listserv.uni-stuttgart.de/mailman/listinfo/dumux
[DuMuX] Linker options to be used with DuMuX
Dear DuMuX experts, Please advise how can I pass a string of linker options to DuMuX's cmake scripts? I would like to read the VTU output files using VTK methods, which are activated by passing the string ''-lvtkCommon -lvtkFiltering -lvtkIO' to the linker. Thank you, Nikolai ___ Dumux mailing list Dumux@listserv.uni-stuttgart.de https://listserv.uni-stuttgart.de/mailman/listinfo/dumux