undefined reference to `RunSwmmDll(char*, char*, char*)'
I have tried to 'google' this seemingly basic problem but all the suggestions I have found don't work.
I have a calling program "trial_1.cpp" that calls a function "RunSwmmDll", that is declared in "swmm5_iface.h" and defined in "swmm5_iface.c"; all these files are attached to this message.
In addition to the above mentioned files, all the other required files have also been added to the project.
The problem is that all the time I try to build this project, it says undefined reference to 'RunSwmmDll(char*, char*, char*)'.
I frankly speaking can't figure out what the cause of this error is!!!!!
Any help is highly appreciated!!!!