Results 1 to 6 of 6

Thread: miracl problems

  1. #1
    Ray
    Guest

    miracl problems

    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.
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  2. #2
    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,

  3. #3
    Ray
    Guest
    i tried, & tried, & tried, & failed.
    i am using vc++ 6, project/settings/link/Category=input ( !? ) and then ignore libs ?
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  4. #4
    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,

  5. #5
    arz
    Guest
    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...
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  6. #6
    Ray
    Guest
    yeap.
    that helped.
    got it working now.
    thanks guys.
    I promise that I have read the FAQ and tried to use the Search to answer my question.

Similar Threads

  1. having problems!!
    By bar891 in forum The Newbie Forum
    Replies: 2
    Last Post: October 30th, 2008, 19:07
  2. More problems with XP SP2...
    By dELTA in forum Off Topic
    Replies: 13
    Last Post: August 28th, 2004, 10:12
  3. some little problems
    By Crono in forum OllyDbg Support Forums
    Replies: 2
    Last Post: October 31st, 2003, 01:54
  4. IDA problems (or problems with me)?
    By stanks in forum Tools of Our Trade (TOT) Messageboard
    Replies: 6
    Last Post: June 6th, 2001, 11:55
  5. UNP problems
    By mike in forum Tools of Our Trade (TOT) Messageboard
    Replies: 3
    Last Post: April 18th, 2001, 11:27

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •