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

Unable to compile the library on arm64-windows #64

Closed
GiulioRomualdi opened this issue Aug 4, 2020 · 4 comments
Closed

Unable to compile the library on arm64-windows #64

GiulioRomualdi opened this issue Aug 4, 2020 · 4 comments

Comments

@GiulioRomualdi
Copy link
Contributor

I'm trying to port CppAD on vckg. The compilation on arm64 - windows platform fails with the following error

-- cppad_tape_id_type_is_unsigned = 0
-- Warning: using a signed cppad_tape_id_type is for CppAD developers only !
-- Performing Test cppad_tape_addr_type_is_unsigned
-- Performing Test cppad_tape_addr_type_is_unsigned - Failed
-- cppad_tape_addr_type_is_unsigned = 0
-- Warning: using a signed cppad_tape_addr_type is for CppAD developers only !
-- Performing Test cppad_max_num_threads_is_integer_ge_4
-- Performing Test cppad_max_num_threads_is_integer_ge_4 - Failed
CMake Error at include/cppad/CMakeLists.txt:256 (MESSAGE):
  cppad_max_num_threads is not an integer greater than or equal 4

Here the related comment written by @NancyLi1013: microsoft/vcpkg#12560 (comment)

@bradbell
Copy link
Contributor

bradbell commented Aug 4, 2020

The warning says you are using a signed type for cppad_tape_addr_type
https://coin-or.github.io/CppAD/doc/cmake.htm#cppad_tape_id_type

The error says you are using a value less than 4 for cppad_max_num_threads
https://coin-or.github.io/CppAD/doc/cmake.htm#cppad_max_num_threads

What were the settings for these two types in your cmake command ?

@traversaro
Copy link

Friendly ping @GiulioRomualdi

@bradbell
Copy link
Contributor

bradbell commented Jan 3, 2021

@GiulioRomualdi @traversaro I am closing this issue because there are been no response to my question above. Feel free to re-open it if it is still a problem.

@bradbell bradbell closed this as completed Jan 3, 2021
@traversaro
Copy link

Hi @bradbell, thanks! If we have further problems with these commands we will report them with more details.

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

3 participants