Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error on windows vs2015: libucrtd.lib(log2f.obj) : error LNK2005: log2f 已经在 core_libd.lib(core_lib_generated_SurfelWarpSerial.cu.obj) 中定义 #77

Open
dorioliu opened this issue Jan 11, 2022 · 1 comment

Comments

@dorioliu
Copy link

@weigao95 hello, I have built your project for 1 week under VS2015 + cuda9.2 + pcl1.8.1, I was almost successful, but this question stopped me:
1>------ 已启动生成: 项目: surfelwarp_app, 配置: Debug x64 ------ 1>libucrtd.lib(log2f.obj) : error LNK2005: log2f 已经在 core_libd.lib(core_lib_generated_SurfelWarpSerial.cu.obj) 中定义 1> 正在创建库 D:/VS_Project/surfelwarp-master/build/apps/surfelwarp_app/Debug/surfelwarp_app.lib 和对象 D:/VS_Project/surfelwarp-master/build/apps/surfelwarp_app/Debug/surfelwarp_app.exp 1>D:\VS_Project\surfelwarp-master\build\apps\surfelwarp_app\Debug\surfelwarp_app.exe : fatal error LNK1169: 找到一个或多个多重定义的符号

help me, thanks @weigao95

@dorioliu
Copy link
Author

dorioliu commented Jan 13, 2022

it seems that the libucrtd.lib is part of the Windows SDK, and core_libd.lib is a local built file of this project, the question is a variable or function log2f is redefined, they are just conflicted, but there is another question that I cannot find any log2f in your project, maybe a header is included for more than one times.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant