Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. using open source library

using open source library

Scheduled Pinned Locked Moved C / C++ / MFC
c++help
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 2070738
    wrote on last edited by
    #1

    Im using borZoi to implement ECC in my project Ive uncluded all the header files and other things according to its manual but when i call its functions i get undeclared function errors. I call use_NIST_B_163 (); and get error e:\vc\myprojects\project\malloc1\dsprojdlg.cpp(212) : error C2065: 'use_NIST_B_163' : undeclared identifier

    M J 2 Replies Last reply
    0
    • U User 2070738

      Im using borZoi to implement ECC in my project Ive uncluded all the header files and other things according to its manual but when i call its functions i get undeclared function errors. I call use_NIST_B_163 (); and get error e:\vc\myprojects\project\malloc1\dsprojdlg.cpp(212) : error C2065: 'use_NIST_B_163' : undeclared identifier

      M Offline
      M Offline
      Marc Soleda
      wrote on last edited by
      #2

      Have you included the headers file directory into your settings (include path)? And the library?? Is it linked/added into the Link tab > Object library modules? Marc Soleda. ... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits.

      1 Reply Last reply
      0
      • U User 2070738

        Im using borZoi to implement ECC in my project Ive uncluded all the header files and other things according to its manual but when i call its functions i get undeclared function errors. I call use_NIST_B_163 (); and get error e:\vc\myprojects\project\malloc1\dsprojdlg.cpp(212) : error C2065: 'use_NIST_B_163' : undeclared identifier

        J Offline
        J Offline
        Jose Lamas Rios
        wrote on last edited by
        #3

        I don't know anything about that library, but the manual says you must define USE_MPI. Did you define it? Are you sure dsprojdlg.cpp has an include for borzoi.h and nist_curves.h? -- jlr http://jlamas.blogspot.com/[^]

        U 1 Reply Last reply
        0
        • J Jose Lamas Rios

          I don't know anything about that library, but the manual says you must define USE_MPI. Did you define it? Are you sure dsprojdlg.cpp has an include for borzoi.h and nist_curves.h? -- jlr http://jlamas.blogspot.com/[^]

          U Offline
          U Offline
          User 2070738
          wrote on last edited by
          #4

          // DSProjDlg.cpp : implementation file // #include "borzoi.h" #include "nist_curves.h" #include "stdafx.h" #include "DSProj.h" #include "NewDlg.h" #include "SignDlg.h" #include "DSProjDlg.h" Yup Ive included the files and Ive included the USE_MPI in Project->settings->C/C++ ->prepocessor->preprocessor definitions Is it OK?

          J 1 Reply Last reply
          0
          • U User 2070738

            // DSProjDlg.cpp : implementation file // #include "borzoi.h" #include "nist_curves.h" #include "stdafx.h" #include "DSProj.h" #include "NewDlg.h" #include "SignDlg.h" #include "DSProjDlg.h" Yup Ive included the files and Ive included the USE_MPI in Project->settings->C/C++ ->prepocessor->preprocessor definitions Is it OK?

            J Offline
            J Offline
            Jose Lamas Rios
            wrote on last edited by
            #5

            titi@yahoo.com wrote: Is it OK? No. Since you are most likely using precompiled headers through stdafx.h, the compiler ignores anything before the include for stdafx.h. Move the includes for borzoi.h and nist_curves.h below the include for stdafx.h and try again. -- jlr http://jlamas.blogspot.com/[^]

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups