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

Sundials installation issue on Windows -- unresolved externals #347

Closed
RiddlemanMVP opened this issue Sep 30, 2023 · 4 comments
Closed

Sundials installation issue on Windows -- unresolved externals #347

RiddlemanMVP opened this issue Sep 30, 2023 · 4 comments

Comments

@RiddlemanMVP
Copy link

Hello,

I'm experiencing some issues during the installation of the Sundials libraries on Windows 10.

I followed the steps described in the documentation. I went on and installed CMake 3.27.6 and I'm running Visual Studo 17.7.2.

Step 1 to 4 run well.
Step 5a produces a total of 3687 errors (all of them seem to be LNK1120 -- unresolved externals)
Step 5b produces the same result. The installation directory INSTDIR is empty.

I believe this must have something to do with Visual Studio's linker...
does anyone have an idea how I solve this?

@balos1 balos1 self-assigned this Oct 2, 2023
@balos1
Copy link
Member

balos1 commented Oct 19, 2023

Did you build with static libraries enabled? Those may not work currently with Visual Studio. Try adding -DBUILD_STATIC_LIBS=OFF to your CMake command.

@mvsivaselvan
Copy link

I realize it has been a while, so likely a resolution has been found. But in case it is useful, I ran into a similar issue, and posted my resolution in the Google group under the subject "IDA installation on Windows".

For the unresolved externals linker error that I got, I had to only build the static library and not the DLL using the option -DBUILD_SHARED_LIBS=NO when calling cmake. I also wrote my reasoning in the Google group post.

Hope this is useful.

@adriendelsalle
Copy link
Contributor

I think it's related to #454 (comment)

@balos1
Copy link
Member

balos1 commented Jun 18, 2024

This should be resolved by #455.

@balos1 balos1 closed this as completed Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants