How to use nodefaultlib option

How to use nodefaultlib option

Hi,

In my quickwin application, I am getting a warning
LINK : warning LNK4098: defaultlib "libc.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
I went to project settings and added the following line
/Link/nodefaultlib:"libc.lib"

but get an error LINK : fatal error LNK1181: cannot open input file ".Debug3Dtemp.obj"
Error executing link.exe.

My application uses Array visualizer and opengl.

I could not find any documentation as to where to add the /nodefaultlib option whether it should be added as /link/ or without the / or without the link. Some documentation is there about running from the command line but I do not know who or why or when people run anything from the command line. Obviously I am a novice at this and some help to educate this novice would be greatly appreciated.

Thanks

2 posts / novo 0
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.

Ignore the suggestion to use /nodefaultlib - that's the wrong solution. See Do You Suffer from the Heartbreak of MCLS? in the Visual Fortran Newsletter. If you have version 6.6, the options are somewhat different, but the idea is the same.

Steve

Steve - Intel Developer Support

Deixar um comentário

Faça login para adicionar um comentário. Não é membro? Inscreva-se hoje mesmo!