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

compile error #12

Closed
chenhonghua opened this issue Jun 14, 2015 · 4 comments
Closed

compile error #12

chenhonghua opened this issue Jun 14, 2015 · 4 comments

Comments

@chenhonghua
Copy link

@jlblancoc
Hi, jlblancoc,
I encountered some errors when I compile the example in SP_ROOT/example-projects/cholmod/ under Windows 64bits with VisualStdio 2013.
It shows that
error LNK2019: unresolved external symbol _cholmod_start, referenced in function _main
error LNK2019: unresolved external symbol _cholmod_finish, referenced in function _main
....etc.
Generally speaking, such errors mean that I haven't add the appropriate libs and include files. But in my project, I do add them.
So, I am really confused about it.
Can you send me a off-the-shelf version?

@jlblancoc
Copy link
Owner

Make sure of being compiling both (the lib, and the example) in either
32 or 64bit! That is a common mistake we everyone do sometimes...

On Sun, Jun 14, 2015 at 3:15 PM, Chen Hong Hua notifications@github.com wrote:

@jlblancoc
Hi, jlblancoc,
I encountered some errors when I compile the example in
SP_ROOT/example-projects/cholmod/ under Windows 64bits with VisualStdio
2013.
It shows that
error LNK2019: unresolved external symbol _cholmod_start, referenced in
function _main
error LNK2019: unresolved external symbol _cholmod_finish, referenced in
function _main
....etc.
Generally speaking, such errors mean that I haven't add the appropriate libs
and include files. But in my project, I do add them.
So, I am really confused about it.
Can you send me a off-the-shelf version?


Reply to this email directly or view it on GitHub.


Dr. Jose-Luis Blanco-Claraco
CITE-IV 1.05
Universidad de Almería, Departamento de Ingeniería
04120 Almería (Spain)
http://www.ual.es/~jlblanco/


@chenhonghua
Copy link
Author

@jlblancoc
Hi.
I am sure that i have compiled both (the lib, and the example). But the errors still exist!
Can you send me a already-compiled version(Win7 64bit VS2013)? Maybe we can see something different.

@chenhonghua
Copy link
Author

@jlblancoc
Follow your advice, all errors are gone! Thank you !

@fredlll
Copy link

fredlll commented Jun 14, 2018

@chenhonghua Can you share how you solved the problem? i face the same unresolved external symbol error.

i did not get how to "compiling both (the lib, and the example)" as i did not see the example solution

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