由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - 弱问一句关于pthread的
相关主题
linker problem in VC请问 哪里有下microsoft visual studio 2005啊?
should the .dll and .lib have the same name?一个WinXP下的qt3小问题
VISUAL STUDIO 2005 输出窗口(output) 怎么找不到?Microsoft Visual Studio Expression edition 是万全free的吗?
visual studio 2005怎么code profiling?如何让visual studio缺省以\n结束,而不是以\r\n结束
问个DLL调用问题请问visual studio里怎么能自动加一个文件到project里?
exe file compild by C++ cannot be run by another computervisual studio版本
A Version problem of Visual StudioVisual Studio Express是免费的么?
How can I find if sp1 is installed for my visual studio 200Visual Studio有木这个功能?
相关话题的讨论汇总
话题: pthread话题: linker话题: vs话题: library话题: 关于
进入Programming版参与讨论
1 (共1页)
d****i
发帖数: 4809
1
在Windows的Visual Studio中怎么编译pthread的程序?似乎VS不默认pthread.h中所有
定义的库函数。
O*******d
发帖数: 20343
2
你要给linker加上pthread的库。

【在 d****i 的大作中提到】
: 在Windows的Visual Studio中怎么编译pthread的程序?似乎VS不默认pthread.h中所有
: 定义的库函数。

d****i
发帖数: 4809
3
请问怎么给linker加上pthread的库?在VS中如何设置,我试了一下在project setting
里面linker选项中additional library directory加了pthread.h所在的路径,还是不
工作。多谢,问题实在有点初级。

【在 O*******d 的大作中提到】
: 你要给linker加上pthread的库。
O*******d
发帖数: 20343
4
You should set linker path to where pthread library is, not where the header
is.
http://www.hotscripts.com/forums/c-c/35895-help-pthreads-dev-c.html
Here is a web page about pthread library. Look at Q2.
http://sourceware.org/pthreads-win32/faq.html

setting

【在 d****i 的大作中提到】
: 请问怎么给linker加上pthread的库?在VS中如何设置,我试了一下在project setting
: 里面linker选项中additional library directory加了pthread.h所在的路径,还是不
: 工作。多谢,问题实在有点初级。

1 (共1页)
进入Programming版参与讨论
相关主题
Visual Studio有木这个功能?问个DLL调用问题
熟悉visual studio的朋友请帮一下忙exe file compild by C++ cannot be run by another computer
visual studio 2008学校哪里下载?A Version problem of Visual Studio
Visual Studio 2008How can I find if sp1 is installed for my visual studio 200
linker problem in VC请问 哪里有下microsoft visual studio 2005啊?
should the .dll and .lib have the same name?一个WinXP下的qt3小问题
VISUAL STUDIO 2005 输出窗口(output) 怎么找不到?Microsoft Visual Studio Expression edition 是万全free的吗?
visual studio 2005怎么code profiling?如何让visual studio缺省以\n结束,而不是以\r\n结束
相关话题的讨论汇总
话题: pthread话题: linker话题: vs话题: library话题: 关于