|
|
#1 |
|
Junior Member
Join Date: Mar 2004
Posts: 2
|
using math-functions in dsp-sdk
hello,
i managed using the dsp-sdk, now i want to calculate this and that, so i want to use standard math-functions such as log(), pow() etc. but using these functions in visual c++ 6.0 causes linker error 2001, 'unresolved external symbol: _main'. i include <math.h>, but i guess i have forgotten a library in the linker-specification? thank you, thel |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Jan 2004
Posts: 10
|
Not sure about all of these (since I haven't a development environment here...) but:
+ simple math functions should be in standard C lib + others should be in libcmt.lib Otherwise, sure your link error comes from an undeclared library. K. |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Apr 2001
Posts: 269
|
The error, surely thats because you're trying to compile an executable there, rather than a dll ?
|
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Mar 2004
Posts: 2
|
i ended up at msdn for ceil()-function. there you find
not only the .h-file, but also the libraries, for ceil() and other math.h-function, the linker has bind the msvcr.lib (??, not sure). thanks evon though |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|