Hi. I'm having issues getting the unit tests to work for a library that I wrote, compiled and successfully used.
The code gives an error at the following line:
cyclus::MockSim sim(cyclus::AgentSpec("/my/folder/lib/cyclus/:libraryname:archetype"), config, simdur)
The error is:
"No module found for path /my/folder/lib/cyclus/libbiraryname.so"
I know this library file exists and am able to use it in an xml input file with no issues as follows:
<spec><path>/my/folder/lib/cyclus/</path><lib>libraryname</lib><name>archetype</name></spec>
This leads me to believe that there's something wrong with the format of the path in the call to cyclus::AgentSpec().
Any help would be appreciated.
Cheers.
Dan