필터 지우기
필터 지우기

cannot open file 'kernel32.lib'

조회 수: 4 (최근 30일)
Ziv Mhabary
Ziv Mhabary 2012년 6월 4일
Hello,
I have a win7 64bit OS, Matlab 7.10.0 (R2010a) and im trying to load a dll filw which compiled in VS2008 64bit (not Express ) and work on other 64bit computers.
when im trying to set a compiler i get the next options:
[1] Microsoft Visual C++ 2008 Express in c:\Program Files (x86)\Microsoft Visual Studio 9.0
[2] Microsoft Visual C++ 2008 SP1 in C:\Program Files (x86)\Microsoft Visual Studio 9.0
and i choose [2].
when im tring to load the dll i get the next error:
??? Error using ==> loadlibrary at 428
Building cppIntegration_thunk_pcwin64 failed. Compiler output is:
cppIntegration_thunk_pcwin64.c
LINK : fatal error LNK1104: cannot open file 'kernel32.lib'
Can you please advice?
Thanks!
  댓글 수: 1
Walter Roberson
Walter Roberson 2012년 6월 4일
편집: Walter Roberson 2012년 7월 15일
make sure you have the correct SDK (6.1) installed, and that your directories are okay as described in the above.

댓글을 달려면 로그인하십시오.

답변 (1개)

Mike Woodward
Mike Woodward 2012년 6월 26일
Try downloading this project: http://www.mathworks.com/programs/simulink-visual-studio/simulink-and-visual-studio.html - it has full instructions for doing the kind of thing you're doing.
Mike

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by