Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Beier__Tyree
Beginner
112 Views

Compile without CRT

Clean console project in Visual Studio

/Gs-

/NODEFAULTLIB

 

Error    LNK2019    unresolved external symbol ___intel_new_feature_proc_init referenced in function _main   

Errors

1>ipo: : warning #11021: unresolved _exit
1>        Referenced in libirc.lib(new_proc_init.obj)
1>ipo: : warning #11021: unresolved _strlen
1>        Referenced in libirc.lib(new_proc_init.obj)
1>        Referenced in libirc.lib(irc_msg_support.obj)
1>ipo: : warning #11021: unresolved _strncat
1>        Referenced in libirc.lib(new_proc_init.obj)
1>ipo: : warning #11021: unresolved _strncpy
1>        Referenced in libirc.lib(irc_msg_support.obj)
1>ipo: : warning #11021: unresolved _memset
1>        Referenced in libirc.lib(proc_init_utils.obj)
1>ipo: : warning #11021: unresolved _strcat_s
1>        Referenced in libirc.lib(intel_lib_vs_wrappers_init.obj)
1>ipo: : warning #11021: unresolved __errno
1>        Referenced in libirc.lib(intel_lib_vs_wrappers_init.obj)
1>ipo: : error #11023: Not all components required for linking are present on command line
1>ipo_699619obj3.obj : : error LNK2019: unresolved external symbol ___intel_new_feature_proc_init referenced in function _main

How to resolve this?

0 Kudos
3 Replies
Viet_H_Intel
Moderator
112 Views

Looks like libirc didn't get link in correctly.

Beier__Tyree
Beginner
112 Views

Viet Hoang (Intel) wrote:

Looks like libirc didn't get link in correctly.

How to solve it?

Viet_H_Intel
Moderator
112 Views

See if Intel's libs were on LD_LIBRARY_PATH, or you can explicitly link in libirc 

Reply