Dear CiCi,
Here is a patch for your problem (I sent it to the pyopencl list). From
what I gathered on the C++ sig this is OK if you are happy not to link
to a system boost library.
Best
Jon
$ git diff
diff --git a/aksetup_helper.py b/aksetup_helper.py
index 56f93b9..3c2ba69 100644
--- a/aksetup_helper.py
+++ b/aksetup_helper.py
@@ -577,6 +577,8 @@ def set_up_shipped_boost_if_requested(project_name,
conf):
if sys.platform == "win32":
source_files += glob(
"bpl-subset/bpl_subset/libs/thread/src/win32/*.cpp")
+ source_files += glob(
+ "bpl-subset/bpl_subset/libs/thread/src/*.cpp")
else:
source_files += glob(
"bpl-subset/bpl_subset/libs/thread/src/pthread/*.cpp")
@@ -599,7 +601,7 @@ def set_up_shipped_boost_if_requested(project_name,
conf):
{
# do not pick up libboost link dependency on windows
"BOOST_ALL_NO_LIB": 1,
-
+ "BOOST_THREAD_BUILD_DLL": 1,
"BOOST_MULTI_INDEX_DISABLE_SERIALIZATION": 1,
"BOOST_PYTHON_SOURCE": 1,
"boost": '%sboost' % project_name
On 26/02/2012 04:42, CiCi wrote:
> I just solve the problem I have given above by updating from Git,but
> Unfortunately I meet another problem!
>
> Here is the error description in pycuda building process:
>
>
> * thread.obj : error LNK2019: unresolved external symbol "void __cdecl
> pycudaboost::tss_cl
> eanup_implemented(void)"
(?tss_cleanup_implemented@pycudaboost@@YAXXZ),该符号在
> 函数 "void __cdecl pycudaboost::`anonymous
> namespace'::create_current_thread_tls
> _key(void)"
(?create_current_thread_tls_key@?A0x33f885c9@pycudaboost@@YAXXZ)
> 中
> 被引用*
>
>
> I hope someone to help me as soon as possible, and I'll greatly
appreciate!
> Thanks!
>
> CiCi
>
> -----
> a chinese student
> --
> View this message in context:
http://pycuda.2962900.n2.nabble.com/pycuda-Installation-problem-on-windows-32bit-with-VS2008-tp7317227p7318511.html
> Sent from the PyCuda mailing list archive at Nabble.com.
>
> _______________________________________________
> PyCUDA mailing list
> [email protected]
> http://lists.tiker.net/listinfo/pycuda
>
On 28/02/2012 04:50, CiCi wrote:
Hi,
Have someone met this error when building pycuda?
the following is the error description:
*thread.obj : error LNK2019: unresolved external symbol "void __cdecl
pycudaboost::tss_cl
eanup_implemented(void)" (?tss_cleanup_implemented@pycudaboost@@YAXXZ)"
referenced in
function "void __cdecl pycudaboost::`anonymous
namespace'::create_current_thread_tls
_key(void)" (?create_current_thread_tls_key@?A0x33f885c9@pycudaboost@@YAXXZ)
*
Waiting for help on line...
Thanks.
CiCi
-----
a chinese student
--
View this message in context:
http://pycuda.2962900.n2.nabble.com/Installation-problem-Win64bit-vs2008-pycuda2011-2-2-boost1-38-tp7324359p7324359.html
Sent from the PyCuda mailing list archive at Nabble.com.
_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda
_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda