将位从x32更改为x64 [英] Changing bits from x32 to x64

查看:325
本文介绍了将位从x32更改为x64的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用开源来应用我的程序。


我设置了include目录,库目录,附加依赖。


以前我为x32bit应用了目录。 并且程序运行良好。


但我更改了x64目录和x64bits构建器。


程序显示错误LNK1104:'*** 32.lib'


为什么vs2013仍然链接到32位lib。我添加了  ; *** 64.lib 附加依赖。  



有什么问题???



 


(+)我的程序在dos环境中打印好的字符。


但是在另一个环境中,我的程序打印破碎的字符。


这与编译器的位有关吗?


解决方案

您好_yi,


感谢您在此发布。


>>为什么vs2013仍然链接到32位lib。我在附加依赖项中添加了*** 64.lib 。  



有什么问题???


您是否尝试删除obj文件并重新重建?




>>(+)我的程序在我的环境中打印好的字符。


但在另一个环境中,我的程序打印破碎的字符。


这与编译器的位有关吗?


它可能与您在项目属性中的字符集 - >常规。请选择合适的套装。


希望这可以为您提供帮助。


最好的问候,

Sera于


I applied my program with open source.

I set include directory, library directory, additional dependency.

Previously I applied directories for x32bit.  and A program works well.

But I changed x64 directories and, x64bits builder.

The program showed me error LNK1104: '***32.lib'

why the vs2013 still links to 32bits lib. I added ***64.lib in additional dependency.  

What's the problem???

 

(+) my program print charaters well in my environment in dos.

but in Another environment, my program print broken charaters.

Is this related to compiler's bits?

解决方案

Hi _yi,

thanks for posting here.

>>why the vs2013 still links to 32bits lib. I added ***64.lib in additional dependency.  

What's the problem???

Have you tried to delete the obj files and rebuild again?

>>(+) my program print charaters well in my environment in dos.

but in Another environment, my program print broken charaters.

Is this related to compiler's bits?

It may related to your Character set in your project property->General. Please choose the right set of it.

Hope this could be help of you.

Best Regards,
Sera Yu


这篇关于将位从x32更改为x64的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆