View Full Version : miracl problems
Ray
June 19th, 2004, 02:32
hiya all,
i have downloaded miracl and started playing with it, but i cannot seem to make a working compilation.
i followed the notes in msvisual.txt , i even created a new .lib and this is what i get :
.......\MIRACL\include\big.h(65) : error C2874: using-declaration causes a multiple declaration of 'istream'
...program Files\Microsoft Visual Studio\VC98\INCLUDE\iosfwd(256) : see declaration of 'istream'
any help you be appreciated.
klier
June 19th, 2004, 02:59
project settings
link
ignore libraries:
--the lib wich causes a multiple declaration of...--
(in my case LIBC.lib)
had to include USER32.lib in object/library modules.
hope this helps.
Regards,
Ray
June 19th, 2004, 14:09
i tried, & tried, & tried, & failed.
i am using vc++ 6, project/settings/link/Category=input ( !? ) and then ignore libs ?
klier
June 20th, 2004, 05:33
Try example in map 'curve'.
sea.txt
win32 console application.
add files to project:big.cpp/big.h/mueller.cpp/ps_big.cpp/ps_big.h/ms32.lib
additional include directories: path to miracl\include\
(previous post was for a win32 appl.)
Regards,
arz
June 20th, 2004, 16:42
The following works without any problems for me on VC6. However
if your using *.cpp and not *.c then I believe setup is different.
1, Tools->Options->Directories - set the correct paths
i.e. c:\Program Files\VC6\miracl\include
c:\Program Files\VC6\miracl\lib
c:\Program Files\VC6\miracl\source
2, For each project that uses miracl,
Project->Settings->Link Object/library modules
add 'miracl.lib', or whatever your compilled miracl.lib is called.
That must be done for each configuration used (Debug/Release);
3, In *.c or *.h etc #include <miracl.h>
arz...
Ray
June 22nd, 2004, 09:43
yeap.
that helped.
got it working now.
thanks guys.
Powered by vBulletin® Version 4.2.2 Copyright © 2018 vBulletin Solutions, Inc. All rights reserved.