Re: [DuMuX] Linker options to be used with DuMuX

2018-12-05 Thread Nikolai Andrianov
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 >

Re: [DuMuX] Linker options to be used with DuMuX

2018-12-04 Thread Timo Koch
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

Re: [DuMuX] Linker options to be used with DuMuX

2018-12-04 Thread 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

[DuMuX] Linker options to be used with DuMuX

2018-12-04 Thread 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