Hi Stuart, The easiest way to do this is perhaps to fix a few targets. You have to edit two CMake files and change the path in your .cc file.
In the CMakeLists.txt under 3rdparty/Faddeeva/, you can add below the "add_library": target_include_directories(Faddeeva PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) Now if you in the CMakeLists.txt of src/predefined/ add Faddeeva at the end of "target_link_libraries". This adds not only compiling the Faddeeva file as part of this target, but also the library path to your build of "predef". This way, if you put "#include <Faddeeva.hh>" in the file you are interested in using, that should be enough to compile and expose the symbol(s) you are after. With hope, //Richard Den ons 16 feb. 2022 kl 10:56 skrev Fox, Stuart <stuart....@metoffice.gov.uk >: > Hi ARTS developers, > > > > I’m hoping someone will be able to help me with the ARTS build system. I’m > trying to add a new “modern” predefined absorption model (in > src/predefined/xxxxxx.cc) and I’d like to use the Faddeeva compex error > function from 3rdparty/Faddeeva. The problem I’m having is getting the > build system to recognise the header file – at the moment I’m trying to use > #include <Faddeeva/Faddeeva.hh>, but I get “fatal error: > Faddeeva/Faddeeva.hh: No such file or directory” when I try and compile. Is > there a change I need to make somewhere to the CMake configs to make this > work? > > > > Thanks for your help, > > > > Stuart > > > > >