please help

This is a discussion on please help within the C++ Programming forums, part of the General Programming Boards category; hi everybody, i am trying to compile a program which creates dll..it was created in earlier version of "visual studio ...

  1. #1
    Registered User
    Join Date
    Dec 2007
    Posts
    78

    Smile please help

    hi everybody,
    i am trying to compile a program which creates dll..it was created in earlier version of "visual studio 2005 express edition".
    now i am getting error as:


    Code:
    1>libgds.lib(build_sl.obj) : error LNK2019: unresolved external symbol _for_check_mult_overflow referenced in function _BUILD_SL
    1>libgds.lib(build_sl.obj) : error LNK2001: unresolved external symbol _for_check_mult_overflow
    1>libgds.lib(build_sl.obj) : error LNK2001: unresolved external symbol _for_check_mult_overflow
    1>Debug/CreateAirfoilGeometry.dll : fatal error LNK1120: 1 unresolved externals

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Seems like you have set the "stack-checking" differently for your main and the DLL - at least I think that's what the problem is.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Registered User
    Join Date
    Dec 2007
    Posts
    78
    sir i am new for this can you please explain exactly what should i do?

  4. #4
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Actually, I'm completely wrong in my guess. This seems to explain it:
    http://softwarecommunity.intel.com/i...ad/300950.aspx

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  5. #5
    Registered User
    Join Date
    Dec 2007
    Posts
    78
    i have "DFORMD.LIB" at two places one in program files of microsoft visual stuio & one in program files of visual fortran.
    but i have given only one path in project directories...

  6. #6
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by chintugavali View Post
    i have "DFORMD.LIB" at two places one in program files of microsoft visual stuio & one in program files of visual fortran.
    but i have given only one path in project directories...
    One path should be enough, but you probably need to add DFORMD.LIB to your linker options.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21