- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please see my 2nd post with the description of the linker problems.
Link Copied
6 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
NOTE: It is very strange my original post is NOT displayed...
I never had any compilation or linker issues / problems with TBB versions before 4.1. So, here are two problems:
[ Linker Problem 1 ]
------ Build started: Project: tbbmalloc, Configuration: Debug Win32 ------
Linking...
Creating library C:\WorkLib\TBB\Build\VsProject\ia32\Debug\tbbmalloc_debug.lib and object C:\WorkLib\TBB\Build\VsProject\ia32\Debug\tbbmalloc_debug.exp
itt_notify.obj : error LNK2019: unresolved external symbol _ITT_DoOneTimeInitialization referenced in function "void __cdecl __itt_sync_createA_init_3_0(void *,char const *,char const *,int)" (?__itt_sync_createA_init_3_0@@YAXPAXPBD1H@Z)
C:\WorkLib\TBB\Build\VsProject\ia32\Debug\tbbmalloc_debug.dll : fatal error LNK1120: 1 unresolved externals
tbbmalloc - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
and
[ Linker Problem 2 ]
------ Build started: Project: tbbmalloc_proxy, Configuration: Debug Win32 ------
Compiling...
proxy.cpp
tbb_function_replacement.cpp
Generating Code...
Linking...
Creating library C:\WorkLib\TBB\Build\VsProject\ia32\Debug\tbbmalloc_proxy_debug.lib and object C:\WorkLib\TBB\Build\VsProject\ia32\Debug\tbbmalloc_proxy_debug.exp
proxy.obj : error LNK2001: unresolved external symbol _scalable_aligned_malloc
proxy.obj : error LNK2001: unresolved external symbol _scalable_calloc
proxy.obj : error LNK2001: unresolved external symbol _scalable_malloc
proxy.obj : error LNK2019: unresolved external symbol _safer_scalable_free referenced in function "void __cdecl safer_scalable_free2(void *)" (?safer_scalable_free2@@YAXPAX@Z)
proxy.obj : error LNK2019: unresolved external symbol _safer_scalable_msize referenced in function "unsigned int __cdecl safer_scalable_msize_msvcr70d(void *)" (?safer_scalable_msize_msvcr70d@@YAIPAX@Z)
proxy.obj : error LNK2019: unresolved external symbol _safer_scalable_realloc referenced in function "void * __cdecl safer_scalable_realloc_msvcr70d(void *,unsigned int)" (?safer_scalable_realloc_msvcr70d@@YAPAXPAXI@Z)
proxy.obj : error LNK2019: unresolved external symbol _safer_scalable_aligned_realloc referenced in function "void * __cdecl safer_scalable_aligned_realloc_msvcr70d(void *,unsigned int,unsigned int)" (?safer_scalable_aligned_realloc_msvcr70d@@YAPAXPAXII@Z)
C:\WorkLib\TBB\Build\VsProject\ia32\Debug\tbbmalloc_proxy_debug.dll : fatal error LNK1120: 7 unresolved externals
tbbmalloc_proxy - 8 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
TBB v4.1 Update 1 downloaded from:
Archive: tbb41_20121112oss_src.tgz
Web-link: http://threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb41_20121112oss_src.tgz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Indeed!
We'll fix it. Meanwhile tbbmalloc.vcproj from 4.1 can be used.
--Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
>>...We'll fix it. Meanwhile tbbmalloc.vcproj from 4.1 can be used...
Thanks for the update and I'll take a look.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
>>...We'll fix it. Meanwhile tbbmalloc.vcproj from 4.1 can be used.
Vladimir, could let us know as soon as the build problem is fixed?
I simply don't want to mix files from different versions of TBB ( there are three already... ) on my development computer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sergey Kostrov wrote:OK as another workaround you can use rebuild option in batch build. It will build right object files for every configuration. --Vladimir
Vladimir, could let us know as soon as the build problem is fixed?
I simply don't want to mix files from different versions of TBB ( there are three already... ) on my development computer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
>>...OK as another workaround you can use rebuild option in batch build...
Actually, this is what I always do, that is building all dependent modules at the same time and in case of TBB these are all ***_debug DLLs.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page