刚刚接到一个博后的offer,一年的时间。老板让我用OPT工作,一年后项目的公司有 full time工作的可能性比较大。对方的大学是E-verified的学校,所以万一找不到工 作,可以延长OPT的时间。大家做post-doc的时候是用自己的OPT吗?还是申请H1B?我 听说学校办的H1B和工作后的H1B不一样?
Is there any reason that you want to exclude some of the default libraries? in debug config, you excluded libcmt.lib and libcmtd.lib, and you can pass, which means you must have been using msvcrtd.lib. in release config, you excluded libcmt.lib and msvcrtd.lib, supposedly you should use msvcrt.lib, but seems something is wrong with your compiler option (/MT vs /MD, etc) and by the way, /DEBUG is normal, which means include debug information. even in release mode you can include that, and by default it does.
no I don't have any reason. The project has been like this when I took over it. I have no idea what to do with msvcrt.lib, libcmt.lib, msvcrtd.lib. What is the common practice about them, in debug/release mode? I am lack of this kind of knowledge. I only focus on the programming stuff, never look into compilation/link thing. Thanks.
well, compiler option and linker option *IS* an important part of the " programming stuff". The default is not to exclude any default libraries ( that's why they are called "default"), so try to remove those /NODEFAULTLIB and try again, because apparently those strtime() are IN the default library.
over is ,
【在 c*****m 的大作中提到】 : no I don't have any reason. The project has been like this when I took over : it. : I have no idea what to do with msvcrt.lib, libcmt.lib, msvcrtd.lib. What is : the common practice about them, in debug/release mode? : I am lack of this kind of knowledge. I only focus on the programming stuff, : never look into compilation/link thing. : Thanks.
f*r
25 楼
这个是西北大学的offer,有人知道它是不是E-verified的吗?
a*y
26 楼
能感动人的诗就是好湿
【在 m**y 的大作中提到】 : 好诗 : 就是看完我头都大了 : 我自叹不如阿!
p*y
27 楼
对,刚开始是为狗狗祈福,那只狗狗得两次癌症,后来奇迹多活了好几年。
【在 c*******g 的大作中提到】 : 她开始吃素只是为了她家的狗狗,也不是因为保护动物啊。
c*m
28 楼
Thanks, problem solved. After removing the /NODEFAULTLIB, there were some error message, from the linked libraries. Those libraries are 2 year old version of some commercial software (Perforce library, if you know what that is). So I downloaded the newest version of them. Now it is working fine. happy ever after. Thanks again. You have been very helpful.
summary: When the previous programmer added the external lib, he might get a wrong one, maybe add an dynamic one for static link, or maybe that lib was buggy, then the project is not working. So the programmer added the /NODEFAULTLIB to get it working in Debug mode. He wasn't able to make it work in Release mode, and he decided to leave it like that, thinking that is the best interest for this project. Fxxk u! With the correct lib of new version, and the help from thrust, it is working well now.