Hi,
thanks for your help, but this still doesnt work:
I tried it like:
LIBS += -L/Libs -mathlib
is this ok by your idea?
Thank you very much for your help
Hi,
thanks for your help, but this still doesnt work:
I tried it like:
LIBS += -L/Libs -mathlib
is this ok by your idea?
Thank you very much for your help
hummm...
Does the add function is :add(double, double) ? Because if it its parameters are integers or floats your compiler are sending 1 and 2 as double. So try to store 1 and 2 into integer or float variables A and B. And call add(A,B); to see if it works.
Can you paste mathlib.h? I cannot find any copy on the web to check the add() function.
Best.
Last edited by qlands; 4th May 2011 at 08:17.
The correct syntax is
not the l (lowercase el) before the library name
I think you need to improve your knowledge about building and linking executables
Last edited by mcosta; 4th May 2011 at 08:21. Reason: updated contents
A camel can go 14 days without drink,
I can't!!!
Bookmarks