Open DeveloperPaul123 opened 3 years ago
I am using it with VS 2017, but I did not select the "Download Now" CMake option. I instead downloaded it separately (the source is also on GitHub/jhu-cisst) and built it from source using VS2017. Then, in cisst I used the CISSTNETLIB_USE_LOCAL_INSTALL
CMake option.
Thanks @pkazanzides I was able to get it to work by building cisstNetLib
myself.
There may also be an "external projects" option for building cisstNumerical within cisst. I'll leave it for @adeguet1 to answer.
We haven't implemented an "external project" way to build cisstNetlib. I'm not a big fan of CMake external projects so I tend to avoid them if a better "packaging" system exists (e.g. ROS/catkin) but I see the appeal for Mac OS or Windows. If I can implement the build using CMake external project, any objection to also remove the "download cisstNetlib now" option since it's a bit challenging to keep up with binary distributions.
No objection from me.
We haven't implemented an "external project" way to build cisstNetlib. I'm not a big fan of CMake external projects so I tend to avoid them if a better "packaging" system exists (e.g. ROS/catkin) but I see the appeal for Mac OS or Windows. If I can implement the build using CMake external project, any objection to also remove the "download cisstNetlib now" option since it's a bit challenging to keep up with binary distributions.
I have no objection to using CMake's external project. I've also had good success with CPM.cmake
.
If you do go the external project route, would you still have the CISST_HAS_NETLIB
option? I guess you would want CISST_USE_EXTERNAL
and CISST_HAS_NETLIB
to be enabled to build it this way?
I'm using the latest release of cisst (
1.1.0
) and am currently facing build issues when usingcisstNetlib
withcisstNumerical
. I used theCISSTNETLIB_DOWNLOAD_NOW
flag via CMake to installcisstNetLib
initially.It seems that this my be relevant. Has
cisstNetLib
been compiled with a compiler later than VS2015?Relevant Version info:
cisst
version:1.1.0
16.9.5
20193.19.5
Build error output is below.