Jump to content

error LNK2019: unresolved external symbol

Recommended Posts

Hello everyone,

I am using Virtualizer studio, TLM creator to make a model of SPI, what I am trying to do is make a module that contains two instances, one acts as a master and the other as slave, these instances will contain tlm_ft_spi_device_socket and tlm_ft_spi_protocol_engine for these sockets to use the it's functions.

When I build I get this linker error:

master.o : error LNK2019: unresolved external symbol "public: __cdecl tlm_ft_spi_protocol_engine::tlm_ft_spi_protocol_engine(class scml2::base::object_name const &,class tlm_ft_spi_device_socket &)" (??0tlm_ft_spi_protocol_engine@@QEAA@AEBVobject_name@base@scml2@@AEAVtlm_ft_spi_device_socket@@@Z) referenced in function "public: __cdecl masterType::masterType(class scml2::base::object_name const &)" (??0masterType@@QEAA@AEBVobject_name@base@scml2@@@Z)
F\mt_test2.dll : fatal error LNK1120: 1 unresolved externals.

any help with this error??

Thank you


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...