Answered by:
Debug Error sqlite3.lib,MSVRT.lib LNK2001

Question
-
Any one know how to fix this error's please
1>sqlite3.lib(sqlite3.obj) : error LNK2001: unresolved external symbol __imp___localtime64_s
1>MSVCRT.lib(_chandler4gs_.obj) : error LNK2001: unresolved external symbol __except_handler4_common
- Edited by VaRyOs Monday, September 21, 2015 8:25 PM
Sunday, September 20, 2015 6:07 PM
Answers
-
Hi,
Thanks for posting here.
What is the kind of project did you create? Is it a legacy project or new created? Are you using SQlite Database? Which version of visual studio did you use?
For the error:
1>sqlite3.lib(sqlite3.obj) : error LNK2001: unresolved external symbol __imp___localtime64_s
You may have a reference from this similar thread, in this thread, a reply of a member named ZERVOX may be helpful for you. Here I quote his reply for your reference.
"The unresolved issue is because of the code generation settings that the sqllite developers have used for the prebuilt binaries.
This one allows standard EE code generation settings using debugdx10 settings
Sqlite rebuilt for EE
also you can rebuild the binaries/.lib files by doing the following steps for release and debug mode,(my link is built using debug)
copy the EE tutorial vcproj to its own folder.
include the .c and .h files for sqllite(it is inside my .rar file as well), no EE tutorial .h, .cpp files are needed.
select debugdx10 debug, releasedx10 or the wanted build you are going to use.
right click the project inside visual studio->properties->general->configuration type->static library
Also for the .c files
right click properties->C/C++/Precompiled headers and set both of them to "Not Using Precompiled Headers"
build, now you can use it/build it in your project yourself "For the error :
MSVCRT.lib(_chandler4gs_.obj) : error LNK2001: unresolved external symbol __except_handler4_common
The link below for your reference.
May
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- Proposed as answer by RLWA32 Monday, September 21, 2015 9:08 PM
- Marked as answer by May Wang - MSFT Wednesday, September 30, 2015 1:41 AM
Monday, September 21, 2015 2:37 AM
All replies
-
Hi,
Thanks for posting here.
What is the kind of project did you create? Is it a legacy project or new created? Are you using SQlite Database? Which version of visual studio did you use?
For the error:
1>sqlite3.lib(sqlite3.obj) : error LNK2001: unresolved external symbol __imp___localtime64_s
You may have a reference from this similar thread, in this thread, a reply of a member named ZERVOX may be helpful for you. Here I quote his reply for your reference.
"The unresolved issue is because of the code generation settings that the sqllite developers have used for the prebuilt binaries.
This one allows standard EE code generation settings using debugdx10 settings
Sqlite rebuilt for EE
also you can rebuild the binaries/.lib files by doing the following steps for release and debug mode,(my link is built using debug)
copy the EE tutorial vcproj to its own folder.
include the .c and .h files for sqllite(it is inside my .rar file as well), no EE tutorial .h, .cpp files are needed.
select debugdx10 debug, releasedx10 or the wanted build you are going to use.
right click the project inside visual studio->properties->general->configuration type->static library
Also for the .c files
right click properties->C/C++/Precompiled headers and set both of them to "Not Using Precompiled Headers"
build, now you can use it/build it in your project yourself "For the error :
MSVCRT.lib(_chandler4gs_.obj) : error LNK2001: unresolved external symbol __except_handler4_common
The link below for your reference.
May
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- Proposed as answer by RLWA32 Monday, September 21, 2015 9:08 PM
- Marked as answer by May Wang - MSFT Wednesday, September 30, 2015 1:41 AM
Monday, September 21, 2015 2:37 AM -
thx,solved
Monday, September 21, 2015 8:25 PM