Hypermesh Library 2019.1.7 Unresolved Symbol Errors

allenallen
allenallen Altair Community Member

Hello,

I am new to using Altair hypermesh and am working with a legacy codebase from 2014 which used the hm.lib hmin.lib hmreslib.lib and hmmodlib.lib libraries. When I try to build the code I run into


LNK2001 unresolved external symbol HMRES_displacementadd posthv addForceVector.obj

When I check the library file using the Visual Studio Developer Command Prompt

W:\posthv>dumpbin /SYMBOLS hmreslib.lib | findstr HMRES_displacementadd

164 00000000 SECT49 notype () External

HMRES_displacementadd

16E 00000000 SECT4A notype () External

HMRES_displacementadd_

2D2 00000000 SECTA6 notype Static

$unwind$HMRES_displacementadd

2D5 00000000 SECTA7 notype Static

$pdata$HMRES_displacementadd

We do see the symbol.

I am using Visual Studio 2022 and the libraries are linked in the Project's linker tab.

Thanks for any advice!

Welcome!

It looks like you're new here. Sign in or register to get started.

Answers

  • Michael Herve
    Michael Herve
    Altair Employee

    hello @allenallen,

    may I ask you twhat you are trying to achieve here?

    Also being new to HyperMesh and automating on n old, non officially supported version seems a bit unexpected to me.

    Is there any chance we can support you and the company you're working with with the usage of a more recent version of HyperMesh?


    Regards,

    Michael

  • allenallen
    allenallen Altair Community Member

    Hi @Michael Herve, thanks for your reply!

    The code I am working with is legacy code that needs to be maintained. Hypermesh is involved in one small part of the codebase. I haven't worked with Hypermesh before, but I really just need to build the code. The only issue I am having is getting the program to build because of these linker errors.

    The three versions of hypermesh we have access to are 2019.1.7, 2022.3.1 and 2023.1.1. I would be happy to use any version, but the code is already written. If I need to use a more modern version is there a guide to upgrading?

    I'm honestly pretty confused that I am seeing an error about an unresolved symbol, but that symbol seems to be present when I dump symbols and search for it in the command line.

  • Michael Herve
    Michael Herve
    Altair Employee

    Hello @allenallen ,

    So far we have few feedback about users working directly with HyperMesh libraries. May I ask you the command you are using to build the code? I may assume your compilation of HyperMesh is based on some in-house tools, so for the sake of not exposing specific information in Community, please submit a support request so that we can continue to support your request.

    Best Regards,

    Michael

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.