Jump to content

  • Log In with Google      Sign In   
  • Create Account


Problem with compiling Matrox imaging Library


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 jenny_wui   Members   -  Reputation: 196

Like
0Likes
Like

Posted 27 February 2013 - 02:23 PM

Has any body compiled Matrox Imaging Library using Visual Studio 2010. I have downloaded MIL and trying to compile a simple program in the installed directory called  'msimple.cpp', but getting the following error:

 

1>------ Build started: Project: msimple, Configuration: Debug x64 ------


 

1>Build started 2/27/2013 2:15:16 PM.


 

1>InitializeBuildStatus:


 

1> Touching "x64\Debug\msimple.unsuccessfulbuild".


 

1>ClCompile:


 

1> msimple.cpp


 

1>msimple.obj : error LNK2001: unresolved external symbol _fltused


 

1>msimple.obj : error LNK2019: unresolved external symbol _RTC_CheckStackVars referenced in function wmain


 

1>msimple.obj : error LNK2001: unresolved external symbol _RTC_Shutdown


 

1>msimple.obj : error LNK2001: unresolved external symbol _RTC_InitBase


 

1>LINK : error LNK2001: unresolved external symbol wmainCRTStartup


 

1>C:\Users\MYG741\Documents\Visual Studio 2010\Projects\msimple\x64\Debug\msimple.exe : fatal error LNK1120: 5 unresolved externals


 

1>


 

1>Build FAILED.


 

1>


 

1>Time Elapsed 00:00:00.27


 

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

 

 

Could anybody help me figure out the error?

 

 



Sponsor:

#2 Serapth   Crossbones+   -  Reputation: 5182

Like
0Likes
Like

Posted 27 February 2013 - 03:48 PM

Your linker settings dont match that of a library you are using.  Most of those errors are due to runtime stack checking.  Or its possible you've just munged your project settings up.  Also make sure you are compiling as a console application.



#3 jenny_wui   Members   -  Reputation: 196

Like
0Likes
Like

Posted 27 February 2013 - 04:56 PM

I am compiling windows console application. I turned off  /RTCs for runtime stack checking. Now I am getting only the following error:

 

/*****************************************************************************************************/

1>msimple.obj : error LNK2001: unresolved external symbol _fltused

1>LINK : error LNK2001: unresolved external symbol wmainCRTStartup

1>C:\Users\MYG741\Documents\Visual Studio 2010\Projects\msimple\x64\Debug\msimple.exe : fatal error LNK1120: 2 unresolved externals

1>

1>Build FAILED.

1>

1>Time Elapsed 00:00:01.37

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

 

/*****************************************************************************************************/

 

Could any one help me figure out the problem?






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS