OpenWaterAnalytics / EPANET

The Water Distribution System Hydraulic and Water Quality Analysis Toolkit
MIT License
272 stars 201 forks source link

unable to reference error while running epanet_toolkit. #757

Open Rahulghuge94 opened 9 months ago

Rahulghuge94 commented 9 months ago

im running sample programs from epanet in gcc. i have kept required headers in same directory but program unable to find the function inside header file.

include

include "epanet2_2.h"

int main() { EN_Project ph; int error;

error = EN_createproject(&ph);
error = EN_open(ph, "Example.inp", "net1.rpt", "");

}