VS2012安装过程标题:pragma pack 11 出现以下错误:无法将值

安装VS2012失败解决办法_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
安装VS2012失败解决办法
上传于|0|0|文档简介
&&安装VS常常遇到问题,这里展示了其中一种错误的解决方法
阅读已结束,如果下载本文需要使用0下载券
想免费下载更多文档?
定制HR最喜欢的简历
你可能喜欢运行报错:
1&e:\xuexi\vs&2012&旗舰版\vc\atlmfc\include\atlcore.h(638):&error&C2039:&“SetDefaultDllDirectories”:&不是“`global&namespace'”的成员
1&e:\xuexi\vs&2012&旗舰版\vc\atlmfc\include\atlcore.h(638):&error&C2065:&“SetDefaultDllDirectories”:&未声明的标识符
1&e:\xuexi\vs&2012&旗舰版\vc\atlmfc\include\atlcore.h(640):&error&C2065:&“LOAD_LIBRARY_SEARCH_SYSTEM32”:&未声明的标识符
#ifndef&_USING_V110_SDK71_
//&the&LOAD_LIBRARY_SEARCH_SYSTEM32&flag&for&LoadLibraryExW&is&only&supported&if&the&DLL-preload&fixes&are&installed,&so
//&use&LoadLibraryExW&only&if&SetDefaultDllDirectories&is&available&(only&on&Win8,&or&with&KB2533623&on&Vista&and&Win7)...
IFDYNAMICGETCACHEDFUNCTION(L"kernel32.dll",&SetDefaultDllDirectories,&pfSetDefaultDllDirectories)
return(::LoadLibraryExW(pszLibrary,&NULL,&LOAD_LIBRARY_SEARCH_SYSTEM32));
那几个函数下面画的都有红色的波浪线......
求大神告诉解决方法
回答: VS2012下 MFC程序报错
尝试以下步骤:
1.&更新VS2012补丁包SP1以上
2.&设置项目属性-常规-平台工具集,选中Visual&Studio&2012&-&Windows&XP&(v110_xp)
Q cmake-2.8
然后打开2012,安装网上2010下编译的编译的教程,直接重新生成INSTALL,报错如下
错误 1 error&MSB3073:&命令“setlocal
"C:\Program&Files&(x86)\CMake&2.8\bin\cmake.exe"&-DBUILD_TYPE=Debug&-P&cmake_install.cmake
if&%errorlevel%&neq&0&goto&:cmEnd
endlocal&&&call&:cmErrorLevel&%errorlevel%&&&goto&:cmDone
:cmErrorLevel
exit&/b&%1
if&%errorlevel%&neq&0&goto&:VCEnd
:VCEnd”已退出,代码为&1。 C:\Program&Files&(x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets 134 5 INSTALL
另外毕设可能要用到,问下jrtplib这个库适合做实时视频流的传输么?????
我就用2012编译成功了。
按这个教程做的:http://www.itniwo.net/blog/v/205009.html
Q 点击9.7安装程序
报错为&Failure&reading&properties&files.Ifyou&are&running&this&program&from&a&UNC&path,map&the&path&to&a&drive&and&start&this&program&again&from&the&mapped&drive.
然后再弹出&undefined
点击9.1安装程序
报错为:弹出一个对话框里面全是乱码!
操作系统及其版本
Q win7旗舰版 下安装oracle10g 报错:不兼容 ,
问题补充:[Oracle.10g.For.Windows].Oracle.10g.for.Windows\stage 下面没有 那个文件
A windows7安装oracle 10g安装过程及注意事项。
1.因为oracle 10g暂时没有与win7兼容的版本,我们可以通过对安装软件中某些文件的修改达到安装的目地。
a)打开“\Oracle 10G \stage\prereq\db”路径,找到refhost.xml文件,打开,向其中添加如下代码并保存。
&OPERATING_SYSTEM&
&&&&&&&&&&&& &VERSION VALUE="6.1"/&
&/OPERATING_SYSTEM&
b)打开“\Oracle 10G \install”路径,找到oraparam.ini文件,打开,向其中添加如下代码并保存。
[Windows-6.1-required]
#Minimum display colours for OUI to run
MIN_DISPLAY_COLORS=256
#Minimum CPU speed required for OUI
#CPU=300
[Windows-6.1-optional]
2.找到oracle安装文件中的setup应用程序,右击,打开“兼容性疑难解答”,点击“尝试建议的设置”,选择“启动程序”。
3.继续上一步的安装,安装oracle 10g,直到安装程序结束。
4.根据以上几步的安装,oracle很可能无法正常使用,最起码在我安装结束后,我的sqlplus无法正常使用,这种情况就涉及到权限的问题。具体可通过以下措施解决:
a)打开你已经安装好的oracle程序的路径“\oracle\product\10.2.0\db_1\BIN”,点击sqlplus.exe应用程序,右击—属性,选择兼容性,点击“以兼容模式运行这个程序”单选框,选择“window xp(service pack3)”,继续点击“以管理员身份运行此程序”单选框,最后点击应用-确定。
b)如此sqlplus就可以正常使用了。
5.对于一些需要远程访问数据库的用户,如此配置还会遇到Net Configuration Assistant无法启动的情况,这就需要找到“\oracle\product\10.2.0\db_1\BIN”路径下的launch.exe应用程序,具体配置如上4。
6.综合以上的配置,oracle 10g数据库就可以正常使用了。
7.对于数据库开发人员来说,有时候需要借助数据库工具对数据库进行操作,比如利用plsql developer工具操作数据库。如果利用以上oracle的安装配置,可能无法正常使用plsql developer,这涉及权限的问题,可以给“plsqldev.exe”应用程序设定兼容性和权限。具体操作,如上4。
Q 我把我的一个windows环境下的项目移到linux环境下时tomcat报错,报错如下:
java.util.zip.ZipException: invalid END header (bad central directory offset)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.&init&(ZipFile.java:114)
at java.util.jar.JarFile.&init&(JarFile.java:133)
at java.util.jar.JarFile.&init&(JarFile.java:97)
at org.apache.catalina.loader.WebappLoader.setRepositories(WebappLoader.java:1023)
at org.apache.catalina.loader.WebappLoader.start(WebappLoader.java:620)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3607)
at org.apache.catalina.startup.HostConfig.checkWebXmlLastModified(HostConfig.java:704)
at org.apache.catalina.startup.HostConfig.run(HostConfig.java:944)
at java.lang.Thread.run(Thread.java:619)
Stopping service Tomcat-Standalone
Apr 14, :13 PM org.apache.coyote.http11.Http11BaseProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-80
Apr 14, :22 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-80
Starting service Tomcat-Standalone
Apache Tomcat/4.1.39-LE-jdk14
java.util.zip.ZipException: invalid END header (bad central directory offset)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.&init&(ZipFile.java:114)
at java.util.jar.JarFile.&init&(JarFile.java:133)
at java.util.jar.JarFile.&init&(JarFile.java:97)
at org.apache.catalina.loader.WebappLoader.setRepositories(WebappLoader.java:1023)
at org.apache.catalina.loader.WebappLoader.start(WebappLoader.java:620)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3607)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:777)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:760)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:538)
at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:265)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:731)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:649)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:379)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:808)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:335)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1156)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:697)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1148)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:311)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2213)
at org.apache.catalina.startup.Catalina.start(Catalina.java:484)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:371)
at org.apache.catalina.startup.Catalina.process(Catalina.java:134)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:151)
##Webapp path: /var/apache-tomcat-4.1.39/webapps/ano/
##Webapp name: ano
##Log4j&&&&& : WEB-INF/config/common/log4j.properties
##Config File: WEB-INF/config/common/cfg_zh.properties
我在网上找了很多的答案,问题仍未解决,自己试了很多方法,基本已能确定是后台打包成的jar包的问题,只要一把后台代码的jar包移过去,tomcat就报这个错误,网上说是跟excel的操作有关系,我的项目中的确是有excel的操作,但问题如何解决就不知道了,希望有碰到过类似问题的好心人帮忙回答下,拜谢啦,这个问题困扰我一星期了
问题补充:walnutprince 写道你是怎么移的?
若是FTP,改成bin模式试试?
我就直接把web项目移到linux下的tomcat中,前台直接拿过去,后台打成jar包放到\WEB-INF\lib下,servlet配置添加到web.xml中
问题补充:walnutprince 写道你是如何把jar包从windows上移到linux上的?,用的什么工具?,不会是用一个2进制编辑器一个字节一个字节的敲进去的吧.
恩,你给我启发了,还真有可能是jar包传上去的时候没传好或者是没传完整,你说的bin模式是怎么传啊?
问题补充:shadabing 写道你方便上传代码,我帮你看看
不是代码的问题了,因为项目在windows环境下是在正常使用的,然后部署到一台linux的服务器上才报这个错的
问题补充:呼~终于解决了,最后发现是因为程序中引用到的一个jar包的版本和linux服务器上不一样,所以服务器启动时它就找不到那个引用的jar导致报错~最后谢谢大家帮忙!
A 你是如何把jar包从windows上移到linux上的?,用的什么工具?,不会是用一个2进制编辑器一个字节一个字节的敲进去的吧.
Q 我现在想让其它程序报错,就是让指定的进程崩溃,怎么做?
注意:是让其它程序进程,不是自身,自身好做啊。
最好附上源码,谢谢!
Linux下,可以向任一进程发信号,使之crash或者core&dump;
Windows下可以搜搜有无类似的消息。
ms-help://MS.VSCC.v90/MS.VSIPCC.v90/ms.vssdk.v90/dv_vsdbgsdk/html/1faa-4dfa-84e1-6d59263e70bb.htm
&&&&&&&&&&&Collapse&AllExpand&All&&&&&&&&Code:&All&Code:&Multiple&Code:&Visual&Basic&Code:&C#&Code:&Visual&C++&Code:&J#&Code:&JScript&&&
&Visual&Basic&
&Visual&C++&
Visual&Studio&SDK&&
Visual&Studio&Debugger&SDK&Roadmap&&
See&Also&&Send&Feedback&&
[Note:&This&topic&is&pre-release&documentation&and&is&subject&to&change&in&future&releases.&Blank&topics&are&included&as&placeholders.]&
Updated:&November&2007&
This&documentation&provides&guide&and&reference&information&for&the&Microsoft&Visual&Studio&Debugger&SDK.
Visual&Studio&debugging&documentation&includes&samples,&a&comprehensive&reference,&and&several&representative&scenarios&that&demonstrate&typical&ways&to&customize&the&debugger.
Your&compiler&and&its&output&determine&what&you&need&to&do&to&implement&debugging&in&your&product.&If&your&compiler:
Targets&the&Windows&native&operating&system&and&writes&a&.PDB&file,&you&can&debug&programs&with&the&native&code&debug&engine&(DE),&which&is&integrated&into&Visual&Studio.&You&do&not&need&to&implement&a&DE&or&expression&evaluator.&The&expression&evaluator&is&written&for&the&syntax&of&the&C++&programming&language.
Produces&Microsoft&intermediate&language&(MSIL)&output,&you&can&debug&programs&with&the&managed&code&debug&engine&DE,&which&is&also&integrated&into&Visual&Studio.&Thus,&you&need&only&implement&an&expression&evaluator.&A&sample&expression&evaluator&is&provided&for&you.&For&more&information,&see&the&following&topics:&
Expression&Evaluation&
Evaluating&Expressions&
Expression&Evaluation&Context&
Expression&Evaluation&in&Break&Mode&
Writing&a&Common&Language&Runtime&Expression&Evaluator&
Targets&a&proprietary&operating&system&or&some&other&run-time&environment,&you&need&to&write&your&own&DE.&A&tutorial&that&creates&a&simple&DE&using&ATL&COM&is&provided.&For&more&information,&see&the&following&topics:&
Creating&a&Custom&Debug&Engine&
Tutorial:&Building&a&Debug&Engine&Using&ATL&COM&
Implementing&a&Port&Supplier&
Visual&Studio&Debugging&Samples&
Other&Resources
Getting&Started&(Visual&Studio&Debugging&SDK)
&Send&feedback&on&this&topic&to&Microsoft.&
Q library&
use&ieee.std_logic.
use&ieee.std_logic_unsigned.
entity&bisou&is
port(a:in&std_
reset:in&std_
h1:out&std_logic);
architecture&bisou1&of&bisou&is
u1:process(a)
if(a'event&and&a='1')&then
end&process&u1;
u2:process(reset)
if(reset='1')&then
end&process&u2;
end&bisou1;&&&&--u1&&end
library&&&&&&--u2&start
use&ieee.std_logic.
use&ieee.std_logic_unsigned.
entity&bisou2&is
port(clk:in&std_
h2:in&std_
fre:out&std_
reset2:buffer&std_logic);
end&bisou2;
architecture&bisou2&of&bisou2&is
&&&SIGNAL&cnt1&&:&&std_logic_vector(10&DOWNTO&0);&--shu&chu&gei&bell
&&&SIGNAL&cnt2&&:&&std_logic_vector(21&DOWNTO&0);&&&&--yan&shi&2s&&hou&&reset=0
&&&signal&fr_low:&std_
&&&signal&fr_high:&std_
&&&fre&=fr_
&&&reset2&=fr_
&&&u2:process(h2,clk)
if&h2='0'&then&cnt1&="";
elsif&(clk'event&and&clk=1)&then&
if&cnt1=""&then&cnt1&="";
else&cnt1=cnt1+'1';
end&process&u2;
u3:process(h2,clk)
if&h2='0'&then&cnt2&="";
elsif&(clk'event&and&clk='1')&then
if&cnt2=""&then&cnt2&="";
else&cnt2=cnt2+'1';
end&process&u3;
u4:process(cnt1)
if&cnt1=""&then&fr_low&=not&fr_
end&process&u4;
u5:process(cnt2,cnt1)
if&cnt2=""&then&
fre_high&='1';
else&fre_high&='0';
end&process&u5;
end&bisou2;&&&&--u2&end
library&&&&&&--u2+u1&&start
use&ieee.std_logic.
use&ieee.std_logic_unsigned.
entity&bisou3&is
port(a:in&std_
clk:in&std_
fre_low:out&std_
buff:buffer&std_logic);
end&bisou3;
architecture&bisou3&of&bisou3&is
signal&tem1,temp2:std_
component&bisou
port(a1:in&std_
reset:in&std_
h1:out&std_logic);
component&bisou2
port(clk:in&std_
h2:in&std_
fre:out&std_logic
reset2:buffer&std_logic);
u0:bisou&port&map(a1,temp2,temp1);
u1:bisou2&port&map(clk,temp1,fre_low,temp2);
end&bisou3;
管脚说明:系统功能为检测第一个实体bisou的输入管教a,a一旦有上升沿,就使输出h1为高电平,其中第一实体bisou的reset为复位管脚,reset为1时,会使h1为低电平&&&。。。。第二个实体bisou2有一个时钟输入管脚clk,另一个h2(其实在第三个实体里,实现h1和h2连接),当h2为高电平时,开始计数,输出fre管脚是一定频率的,另一个输出reset2为高频率计数,当达到最高计数时,其为1,因为实现reset2与第一个实体的复位信号reset连接,而使得其可以反馈控制h1.。。。
程序报错4个地方,求大神指点?
begin底下有两个进程,而且这两个进程对同一个信号敏感,这会导致系统赋值两次而出现错误。。。问题还有很多,书写不规范
比如说use&ieee.std_logic.all应该为use&ieee.std_logic_1164.all
Q 我的ubuntu下有两个账户,一个是普通用户,一个是为了安装hadoop最近才创建的用户。
现在的问题是,我在普通账户下运行eclipse&一点问题都没有,但是在hadoop账户下运行就报错。
我是按照这篇blog安装的hadoop:&/tippoint/archive//2735532.html
报错显示:
$&eclipse&
:/home/city$&No&protocol&specified
No&protocol&specified
(eclipse:28487):&GLib-GObject-WARNING&**:&invalid&(NULL)&pointer&instance
(eclipse:28487):&GLib-GObject-CRITICAL&**:&g_signal_connect_data:&assertion&`G_TYPE_CHECK_INSTANCE&(instance)'&failed
**&(eclipse:28487):&WARNING&**:&The&connection&is&closed
(eclipse:28487):&Gtk-CRITICAL&**:&IA__gtk_settings_get_for_screen:&assertion&`GDK_IS_SCREEN&(screen)'&failed
(eclipse:28487):&Gtk-WARNING&**:&Screen&for&GtkWindow&not&&you&must&always&set
a&screen&for&a&GtkWindow&before&using&the&window
(eclipse:28487):&Gtk-WARNING&**:&Screen&for&GtkWindow&not&&you&must&always&set
a&screen&for&a&GtkWindow&before&using&the&window
(eclipse:28487):&Gdk-CRITICAL&**:&IA__gdk_screen_get_display:&assertion&`GDK_IS_SCREEN&(screen)'&failed
(eclipse:28487):&Gdk-CRITICAL&**:&IA__gdk_display_get_pointer:&assertion&`GDK_IS_DISPLAY&(display)'&failed
(eclipse:28487):&Gtk-WARNING&**:&Screen&for&GtkWindow&not&&you&must&always&set
a&screen&for&a&GtkWindow&before&using&the&window
(eclipse:28487):&Gdk-CRITICAL&**:&IA__gdk_screen_get_n_monitors:&assertion&`GDK_IS_SCREEN&(screen)'&failed
(eclipse:28487):&Gtk-WARNING&**:&Screen&for&GtkWindow&not&&you&must&always&set
a&screen&for&a&GtkWindow&before&using&the&window
(eclipse:28487):&Gdk-CRITICAL&**:&IA__gdk_screen_get_monitor_geometry:&assertion&`GDK_IS_SCREEN&(screen)'&failed
(eclipse:28487):&Gdk-CRITICAL&**:&IA__gdk_screen_get_default_colormap:&assertion&`GDK_IS_SCREEN&(screen)'&failed
(eclipse:28487):&Gdk-CRITICAL&**:&IA__gdk_colormap_get_visual:&assertion&`GDK_IS_COLORMAP&(colormap)'&failed
(eclipse:28487):&Gdk-CRITICAL&**:&IA__gdk_screen_get_default_colormap:&assertion&`GDK_IS_SCREEN&(screen)'&failed
(eclipse:28487):&Gdk-CRITICAL&**:&IA__gdk_screen_get_root_window:&assertion&`GDK_IS_SCREEN&(screen)'&failed
(eclipse:28487):&Gdk-CRITICAL&**:&IA__gdk_screen_get_root_window:&assertion&`GDK_IS_SCREEN&(screen)'&failed
(eclipse:28487):&Gdk-CRITICAL&**:&IA__gdk_window_new:&assertion&`GDK_IS_WINDOW&(parent)'&failed
Segmentation&fault&(core&dumped)
[1]+&&Exit&139&&&&&&&&&&&&&&&&eclipse
有人告诉我用xhost+普通用户试一下,结果显示如下:
:/home/city$&xhost&+city
No&protocol&specified
No&protocol&specified
xhost:&&unable&to&open&display&":0.0"
求高手指点一下,不胜感激
PS:&目前我用&xhost&+localhost,&然后在普通账户下&ssh&-X&&eclipse&可以正常运行eclipse了,但是我安装的hadoop插件却没有起到作用。&在普通用户下可以看到mapreduce&选项,现在在hadoop下没有看到,而且已经将插件的权限改为777了。
这个在安装Eclipse时就要注意!&&我当时也是这样&&&你的eclipse我不知道你装在什么地方,我建议你重装一下。这个装的时候一定要合理,在/home下建一个eclipse文件夹,然后自己手动安装在这个下边,你如果随意装会出一堆问题,你解决这些问题的时间还不如重装一下。我猜想你可能安装在普通用户的目录下了,但是hadoop用户是没有权利访问你那个用户的主目录的。你安装在/home下边,这样所有用户都可以使用eclipse,我每次使用都是cd&/home&&+&sudo&./eclipse/eclipse&&。&你自己看看是不是这样。
Q 搞了几天了,试了好多种方法,就是不行
现在有两个错误,请大家帮忙解决下,明天就得去现场部署了,但这两个错误就是无法解决。急死我了。
Error&one:
&&&Socket&Error&#&10054&错误
&&这个错误出现情况我知道是TCPServer导致的。出现情况就是,网络突然闪断一下,就报这个错误了。请教下具体的实现方式。
&&&情况:我是服务器跟单片机通信,单片机是不会主动发东西给我的,所以这里突然断开之后,单片机压根不知道我断了。并且我以前建立的连接也丢失了,请问如何重置连接(单片机无法发送数据上来了,就是说我找不到单片机,它也找不到我了)。
&&Exception&EidTerminateThreadTimeout&in&module&OPCServer.exe&at&0006B7BD&Terminate&Thread&Timeout
&&这个错误出现的情况有两种,一种是不可预知,可能三小时,可能半小时,可能两小时。另外一种是我将这个服务程序关掉之后会出这个错误。偶尔,但是大部分次数会报错。
&&这个我就根本摸不到头脑,都不知道如何出现这个错误的,我OPCServer是从OPCDemo程序里模仿出来的。加了TCPServer控件。求教大家帮帮忙,看看我这到底该如何解决。
&&另外,我一直有一个疑问,我将OPC注册成一个服务。用组态软件调用这个服务,服务启动,就启动了这个OPC服务程序,组态软件一关,没调用这个服务程序了,服务程序就关了,但服务程序里面有TCPserver,已经建立了连接了,我不知道这个时候TCPServer来得及关闭连接清空线程那些事情吗?
&&请大家帮帮我,小弟拜谢!
这种情况是需要测试的。
Q 以前运行控制台程序没问题,这几天突然出现这个错误,简单的测试输出运行也报错,弹出对话框提示找不到主类:org.apache.log4j.net.JMSSink,然后控制台那里的错误提示说找不到类javax.jms.MessageListener,奇怪如果少了类以前怎么可以运行没问题呢,而且现在运行以前写的程序正常,但是新建工程运行就报错,试着下了个javax.jms的jar包,但是不知道应该放在哪里,直接复制工程里,然后通过build&path导入还是失败,求解决之法啊!
向工程下的lib文件夹下导入&&2个包&&一个是jms包&&一个是log4j包&&貌似还要在工程里加入一个log4j的资源属性文件log4j.properties&&&&为什么以前没问题后来有问题&&&那也是和jar包有关的&&有些时候你导入jar包&&那只是暂时性的引用它们&&并不是真正的放入到你的工程下了&&所以当你换个环境或者换个工程的时候&&缺少jar包的报错就会出现&&&而且你现在出现的问题很明显就是缺少jar包引起的&&所以赶快去下载添加jar包吧&&另外养成一个好习惯&&下载下来的jar包最好保存起来&&下次要用的时候直接可以添加&&不用再去网上下载了&&&另外还需注意的是jar的版本问题&&这个等你以后遇到了再说查看: 21073|回复: 14|关注: 0
MATLAB安装问题解决方案大全
<h1 style="color:# 麦片财富积分
新手, 积分 5, 距离下一级还需 45 积分
关注者: 1
<font color="#, 安装Matlab提示exceptioncalling main解决方法
在安装完windows sp3补丁后,很多人发现matlab2007b无法正常运行,总是启动画面闪一下,然后就没反应了,或者有时候弹出exceptioncalling main的系统错误提示。
解决此问题的办法很简单,右键单击matlab程序图标,选择属性,在兼容性选项卡中勾选&用兼容性运行此程序&,兼容模式为window NT 4.0(service pack 5),确定后即可恢复正常
<font color="#,安装时出现红色叉杠并出现英文字母:The installer cannot read themwinstall.dll file, This is probably due to a CD reader which can only readfiles with an eight.three naming convention. Please see the technical supportpage at
解决方法:请一定不要用WinRar之类的解压软件来再次解压matlab.iso文件,而是必须要用Daemon Tools一类的虚拟光驱软件来打开!
<font color="#,输入注册码后出现红色叉杠并出现英文字母:There are no products to install,check that the product.zip files are in either the root folder or the‘archives’ folder.
解决方法:在我的电脑-右键-属性,在系统属性对话框中选择高级-环境变量-TMP改为C:\Temp ,同时在C的根目录下建立Temp文件夹,问题可以解决。
<font color="#,运行Setup.exe以后出现名为UnknownException而只有一个大红叉的窗口,只有“OK”一个按钮,而且按了也无法关闭。
解决方法:这个按照问题3解决方法设置好环境变量基本上就解决了,如果解决不了,只要对着OK狂按一阵子,就能进去了。
<font color="#,AMD的机器安装好Matlab后打开自动关闭
matlab要用到CPU的数学计算模块,而matlab默认的是INTEL的CPU,所以AMD的CPU一般都会遇到安装好后打开自动关闭的问题。
解决办法:
先确认安装好后(假如安装在D盘) 在此路径下D:\MATLAB7\bin\win32有一个叫做atlas_Athlon.dll的文件。
然后在我的电脑上右击点”属性”,再在”高级”中点”环境变量”,在”系统变量”中点击”新建”
输入以下信息: 变量名:BLAS_VERSION
变量址:\MATLAB7\bin\win32\atlas_Athlon.dll
点确定就可以了。
另外说一下,matlab的安装目录必须是英文的。
<font color="#,错误代码
You must have a supported version of the.NET Framework installed before you caninstall MATLAB Builder NE. Install the .NET Framework and then re-installMATLAB Builder NE.
解决方法:到网上下载了Microsoft .NET Framework 3.5(x86)安装后问题就解决了
<font color="#,如何设置matlab的正确工作路径
每次在editor窗口编辑完程序后,点Debug里面的run后,都后提示说&所写文件isnot found in the curren directory or on the matlab path&
请问如何解决这问题啊。。
解决方法:直接在current Directory里设置,跟Windows下操作文件夹一样。 MATALB界面最上面有current Directory,点击右边的按钮,选择路径就OK了!
<font color="#,matlab 7.0安装过程中没问题。安装完成后,一运行就出现错误, Microsoft visual c++ Runtime Library runtime error
program:d:\MATLAB\bin\win32\MATLAB.exe x!L o L |
this application has requested the runtime to terminate it in an unusual way.
please contact the application's support team for more information c:U%L.L*L
解决办法:
安装好之后,将桌面的快捷方式图标的属性修改一下,兼容性由默认的win95改为win2000就行
<font color="#,启动Matlab7.0出现如下提示
The element type &name& must be terminated by the matching end-tag&&/name&&.
Could not parse the file: d:\matlab7\toolbox\ccslink\ccslink\info.xml
解决方法:
找到d:\matlab7\toolbox\ccslink\ccslink\info.xml 这个文件(如果Matlab装在C盘则在C盘目录下),一定要用写字板打开这个文件,找到有这样一行&name&Link for Code Composer Studio?/name&,大概是在第七行吧,把这句的/name&改成&/name&,再保存这个文件。
<font color="#,出现runtime error的问题解决如下:
  方案1:“右键”--“属性”--“主题”,将主题改为“Windows 经典样式”或者是“WindowsXP”的,这样就可以了。
  方案2:点击 开始-&运行-&regedit 点击确定打开注册表,找到:HKEY_CURRENT_USER& Software & MathWorks & Matlab在这个文件夹里,你会看到一个与你matlab版本一样的一个文件夹,删除它。从新运行matlab。
  方案3:范围比较大,是电脑出现runtime error的困扰。
  出现runtime error,一般问题都出在注册表,“运行—〉regedit”打开注册表,笨一点的方法就是按F3出入“runtime”,查找所有名为runtime的数值,然后一个一个删掉,但这样实在太多了,不停的删半个小时不一定能删完。缩小范围:一般错误会在HKEY_LOCAL_MACHINESOFTWAREmicrosoftWindowsCurrentVersionRun,在这里面搜runtime项,删掉。
   出现问题原因:出现runtime error的原因有很多,估计是一些垃圾软件、流氓软件强制安装到计算机里的缘故,造成的后果往往是这样的:电脑各个盘符右键单击,菜单最上面是&auto&而不是“打开”,还有就是QQ等软件出现错误,要求重启,这个时候你重装QQ也是没有用的,注册表出错必须先清理注册表。
一般出现runtime error的问题用第一种方案就可以解决,我就是载在它手里的
<font color="#,安装matlab后出现多余进程的解决办法
电脑装了matlab后,开机不打开matlab,进程里也有matlab.exe和matlabserver.exe两个进程,占有一定的内存。那么怎么办才能取消这两个进程呢?
解决方案 从开始菜单里点击“运行”,输入“msconfig”,这样打开系统配置实用程序。在“服务”选项里把matlab.exe和matlabserver.exe两个程序前的“√”取消掉,之后点击“应用”,再点击“确定”,计算机重新启动后就生效啦。顺便说一句,若想关闭其它应用程序,这样办法也是可以的。如果计算机启动比较慢,也可以在“系统配置实用程序”的“启动”选项里关闭不需要启动的程序。
<font color="#,应用程序或DLLC:\WINDOWS\reaources\DzVista\DzVista.msstyles为无效WINDOWS映像
解决:将setup.exe文件属性—兼容性—window2000。选择使用兼容性运行,然后在下面框中选windows2000.然后。
<font color="#.0序列号好像都一样:<font color="#-------
13,安装完成后:装上了,运行出现问题了。双击桌面MATLAB 7.0图标,主界面打开后马上自己关闭了,没有提示任何错误。或者提示是出现 Runtime error! Program:C:/MATLAB/bin/win32/MATLAB.exe This application has requested theRuntime to terminate it in an unusual way. Please contact the application'ssupport team for more information. 这样一类错误。
解决:由于安装完成,在桌面上已经出现了matlab的快捷方式,右键点击-属性-兼容性-使用兼容模式-选择windows2000。再运行应该就行了。我的CPU是intel的,系统是番茄花园winXP的。还不行就要:
先确认安装好后(假如安装在D盘) 在此路径下D:\MATLAB7\bin\win32有一个叫做atlas_Athlon.dll的文件。
然后在我的电脑上右击点”属性”,再在”高级”中点”环境变量”,在”系统变量”中点击”新建”
输入以下信息: 变量名:BLAS_VERSION
变量址:\MATLAB7\bin\win32\atlas_Athlon.dll
点确定就可以了。
<font color="#.下载Simulink模块打不开的原因及解决方法
安装的时候文件名及各级子目录文件么最好都是英文字母。matlab安装和使用中的问题<font color="#、现象:输入注册码后出现:There are no products to install, check that the product.zip files are in either the root folder or the ‘archives’ folder. 是怎么回事啊?
  解决方法:a.请一定不要用WinRar之类的解压软件来再次解压EFAML71.iso、EFAML72.iso文件,而是必须要用Daemon Tools一类的虚拟光驱软件来打开!!<font color="#、现象:The installer cannot read the mwinstall.dll file, This is probably due to a CD reader which can only read files with an eight.three naming convention. Please see the technical support page at
  解决方法:在我的电脑-右键-属性,在系统属性对话框中选择高级-全局变量-TMP改为C:\Temp ,同时在C的根目录下建立Temp文件夹,问题可以解决。<font color="#、运行Setup.exe以后出现名为Unknown Exception而只有一个大红叉的窗口,只有“OK”一个按钮,而且按了也无法关闭。
matlab在安装的过程中不能安装在中文目录下,并且环境变量中也不能出现中文字,前者matlab会提示有中文字符或乱码,而后者会在点击setup.exe的时候出现一个unknown exception的异常的对话框,然后点击40~50遍也关不掉,最后只能用ctrl+alt+delete来关掉了。
解决方法:右击&我的电脑&——&&属性&——&&高级&选项卡——&&环境变量&按钮——&双击&TMP&的环境变量,此时会出现一个编辑选项框,把原来的值删掉,因为这个值里面包含了中文,或许你直接看不到,因为有的时候会用&%USERPROFILE%&的东西来代替掉了.用&C:/Temp&这个值来代替原来的值,然后再安装matlab7.0,就没有问题了.<font color="#、使用AMD的CPU的电脑安装完Matlab以后,Matlab会在启动后马上自动关闭。ATLAB要用到CPU的数学计算模块,而MATLAB默认的是INTEL的CPU,所以AMD的CPU一般都会遇到安装好后打开自动关闭的问题。解决办法:先确认安装好后(假如安装在D盘) 在此路径下D:\MATLAB7\bin\win32有一个叫做atlas_Athlon.dll的文件。然后在我的电脑上右击点”属性”,再在”高级”中点”环境变量”,在”系统变量”中点击”新建”输入以下信息:变量名:BLAS_VERSION变量址:D:\MATLAB7\bin\win32\atlas_Athlon.dll
点确定就可以了!!
<h1 style="color:# 麦片财富积分
很详细的,谢谢
<h1 style="color:# 麦片财富积分
<h1 style="color:# 麦片财富积分
楼主,求教一下安装时不能激活时怎么办?具体是。求助。。
<h1 style="color:# 麦片财富积分
Your installation may require additional configuration steps. See the notes below for instructions:
1. To configure Real-Time Windows Target you must type 'rtwintgt -setup' in a MATLAB command window
安装后显示这个 然后在命令窗运行rtwintgt -setup显示
&& rtwintgt -setup
You are going to install the Real-Time Windows Target kernel.
Do you want to proceed? [y] : y
??? Failed to copy the uninstallation utility to Windows directory.
拒绝访问。
Error in ==& rtwintgt&rtwt_setup at 121
reboot = rtwtinst('install', srcpath);
Error in ==& rtwintgt at 28
& & rtwt_setup(noprompt);
<h1 style="color:# 麦片财富积分
matlab安装时确实有很多的问题,顶顶!
<h1 style="color:# 麦片财富积分
强大的神啊,谢谢~~
<h1 style="color:# 麦片财富积分
好帖子,顶一个
我的13,解决了:victory:
<h1 style="color:# 麦片财富积分
请问楼主matlab2012b安装时出现安装程序错误,调用主函数时出现异常时怎么回事啊?我该怎么做才能正常安装啊
<h1 style="color:# 麦片财富积分
zlyy986 发表于
Your installation may require additional configuration steps. See the notes below for instructions:
1.运行MATLAB时出现Runtime Error的解决办法&&困扰我两天的MATLAB运行时出现Runtime Error问题刚刚解决,很高兴。症状如下:runtime error
program:d:\MATLAB7\bin\win32\MATLAB.exe
this application has requested the runtime to terminate it in an unusual way. please contact the application's support team for more information. 解决方法很简单:只要右击MATLAB桌面图标,选&属性&,再选“兼容性”,改为兼容模式下运行(注意此处要选择你对应的系统,Win7此时应该选Vista Service Pack2),然后选择“以管理员身份运行”。此时再运行,一切OK。 2.安装完matlab 7后系统提示“o configure Real-Time Windows Target you must type 'rtwintgt -setup' in a MATLAB command window” 解决方法也很简单:在MATLAB命令窗口下输入rtwintgt出现以下结果:&& rtwintgt
RTWINTGT Install and remove the Real-Time Windows Target kernel.
& &The Real-Time Windows Target is a package that allows you to run C code
& &generated by Real-Time Workshop on a PC in real time. Please refer to
& &the Real-Time Windows Target documentation for more information.
& &Available options are:
& &-setup& && && &&&Install Real-Time Windows Target kernel on your system.
& &-install& && && &Same as -setup.
& &-uninstall& && & Remove Real-Time Windows Target kernel from your system.
& &-forceuninstall&&Forcibly remove Real-Time Windows Target kernel from your system.
& &-version& && && &Display the kernel version currently installed.提示你以上几个可用命令,此时不用管其他 输入rtwintgt -setup即出现&& rtwintgt -setup
You are going to install the Real-Time Windows Target kernel.
Do you want to proceed? [y] : y
The Real-Time Windows Target kernel has been successfully installed. 一切OK。
站长推荐 /3
使用MATLAB和Simulink进行软件无线电设计
Powered by

我要回帖

更多关于 webpack1和2的区别 的文章

 

随机推荐