Mex compilation of cpp code

  • #1
physical101
47
0
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)" (??1dependency@@QEAA@XZ) referenced in function "public: void * __cdecl dependency::`scalar deleting destructor'(unsigned int)" (??_GDRMImage@@QEAAPEAXI@Z)

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

Suggested for: Mex compilation of cpp code

Replies
7
Views
486
  • Last Post
Replies
5
Views
416
Replies
7
Views
517
Replies
8
Views
715
Replies
6
Views
4K
  • Last Post
Replies
3
Views
397
Replies
4
Views
1K
  • Last Post
Replies
34
Views
986
Replies
11
Views
717
  • Last Post
Replies
6
Views
421
Top