#include <stdlib.h>#include <iostream>//#include "advection.h"#include "RM_interface_C.h"#include "IPhreeqc.h"int main(int argc, char* argv[]){ //advection_c(); return EXIT_SUCCESS;}
g++ -L ../compiledQC/lib/ -lphreeqcrm-3.7.3 -I ../compiledQC/include/ touch.C
In file included from ../compiledQC/include/IPhreeqc.h:7, from touch.C:8:../compiledQC/include/Var.h:9:10: fatal error: PHRQ_exports.h: No such file or directory 9 | #include "PHRQ_exports.h" | ^~~~~~~~~~~~~~~~compilation terminated.
...#if defined(__cplusplus)extern "C" {#endif/** * Accumlulate line(s) for input to phreeqc. * @param id The instance id returned from @ref CreateIPhreeqc. * @param line The line(s) to add for input to phreeqc. * @retval IPQ_OK Success * @retval IPQ_OUTOFMEMORY Out of memory * @see ClearAccumulatedLines, OutputAccumulatedLines, RunAccumulated * @par Fortran90 Interface: * @htmlonly * <CODE> * <PRE> * FUNCTION AccumulateLine(ID,LINE) * INTEGER(KIND=4), INTENT(IN) :: ID * CHARACTER(LEN=*), INTENT(IN) :: LINE * INTEGER(KIND=4) :: AccumulateLine * END FUNCTION AccumulateLine * </PRE> * </CODE> * @endhtmlonly * * @par C Example: * @include AccumulateLine.c * * @par Fortran90 Example: * see @ref GetDumpStringLine_f90 "GetDumpStringLine" */ IPQ_DLL_EXPORT IPQ_RESULT AccumulateLine(int id, const char *line);...