Mex compilation of cpp code

  • #1
Dear All

I am a biologist trying hard to make it in the world of informatics and computing and I was wondering if one of you real scientists could help me.

I have a executable program with its associated .lib .exp and .pdb files.

I thought I could easily mex the cpp of this excutable using the above but I keep running into unresolved linker errors.

I am working on a 64 bit windows 7 machine and I am telling matlab to look in the right place for the .h files etc but I get warnings like this:

filename.obj : error LNK2019: unresolved external symbol "public: __cdecl dependency::~dependency(void)" ([email protected]@[email protected]) referenced in function "public: void * __cdecl dependency::`scalar deleting destructor'(unsigned int)" ([email protected]@[email protected])

I appreciate that this post is a bit abstract but any help you could give would be absolutely fantastic and I will buy you virtual chocolates and a virtual trip to las vagas.

Thank you

Physical101
 

Answers and Replies

Related Threads on Mex compilation of cpp code

  • Last Post
Replies
6
Views
2K
  • Last Post
Replies
0
Views
2K
Replies
3
Views
3K
  • Last Post
Replies
0
Views
3K
Replies
5
Views
882
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
3
Views
3K
  • Last Post
Replies
4
Views
2K
Replies
5
Views
984
Replies
25
Views
13K
Top