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

CMake #7

Open
cdcseacave opened this issue Nov 26, 2015 · 6 comments
Open

CMake #7

cdcseacave opened this issue Nov 26, 2015 · 6 comments

Comments

@cdcseacave
Copy link

I put together a small CMake script for building your library. If interested in adding it please find it attached.

Thank you for this great library!

CMakeLists.txt

@Moujiker
Copy link

it works, but I have some error when i compile it with VS2013, win7 64bit
just like:

poissonrecon-master\src\Window.h(71): error C2144: 语法错误:“std::enable_if<I==0,unsigned int>::
poissonrecon-master\src\Window.h(71): error C2238: 意外的标记位于“;”之前
poissonrecon-master\src\Window.h(71): error C2143: 语法错误 : 缺少“;”(在“”的前面)
poissonrecon-master\src\Window.h(71): error C2988: 不可识别的模板声明/定义

anyone knows how to deal with it?

@cdcseacave
Copy link
Author

I might be wrong, but I think std::enable_if is not supported in vc2013, use a later version

@mkazhdan
Copy link
Owner

mkazhdan commented May 27, 2018 via email

@Moujiker
Copy link

Thanks, VS2015 works, CmakeLists is right

@HiJasonZou
Copy link

hi,thanks your CMakeList,but I use this CMakeList with vs2015 win10 64bit,configure step occur "CMake Error at CMakeLists.txt:35 (LIST):
LIST sub-command REMOVE_ITEM requires two or more arguments."
The content is"LIST(REMOVE_ITEM LIBRARY_FILES_C ${POISSON_RECON_MAIN} ${SURFACE_TRIMMER_MAIN})"
anyone knows how to deal with it?

asmaloney pushed a commit to asmaloney/PoissonRecon that referenced this issue Apr 8, 2020
{cmake} Use target_compile_definitions
@asmaloney
Copy link
Contributor

Sorry - I don't know how the change in my fork ended up referencing this old issue. There are no issue numbers in my commit.

Please ignore the above :-)

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

5 participants