Jump to content
  • Advertisement
Sign in to follow this  
jenny_wui

Problem with compiling Matrox imaging Library

This topic is 2062 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

 

 

Share this post


Link to post
Share on other sites
Advertisement

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.

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!