[Qt-interest] compile issue in Creator

John McClurkin jwm at nei.nih.gov
Sat Jun 13 17:10:15 CEST 2009


Sujan Dasmahapatra wrote:
> I have just installed Qt Creator....and trying to build a console 
> application bubt while compiling a simple programme it gives some  
> error....check the errors below.
> 
> /////////////////////////////////////////////////////////////////////////////////////////////////
> fu000001.o:-1: error: undefined reference to `libmsvcrt_a_iname'
> fu000002.o:-1: error: undefined reference to `libmsvcrt_a_iname'
> fu000004.o:-1: error: undefined reference to `libmsvcrt_a_iname'
> fu000005.o:-1: error: undefined reference to `libmsvcrt_a_iname'
> nmth000000.o:-1: error: undefined reference to `_nm___fmode'
> nmth000003.o:-1: error: undefined reference to `_nm___fpreset'
> :-1: error: collect2: ld returned 1 exit status
> /////////////////////////////////////////////////////////////////////////////////////////////////
> Can anyone tell me what i am doing wrong...do i need to include any 
> modules or lib files. ?? plss tell me someone.

The error indicates you are missing the Microsoft Visual C runtime. I 
would guess you are trying to combine objects compiled under Visual C 
and objects compiled under QtCreator (which uses MinGW). You can't do this.
You have to compile everything under QtCreator or under Visual C.

> 
> 
> -- 
> Thanks & Regards
> S. Dasmahapatra
> B.E. (Aeronautics-Aerodynamics)
> Senior Engineer---CFD(Computational Fluid Dynamics)
> L M Glasfiber R & D (India) Pvt Ltd
> Bangalore, India
> Ph:91-9900839788
> Office:91-80-66470248
> mail id : sujan.dasmahapatra at gmail.com <mailto:sujan.dasmahapatra at gmail.com>
>             sdh at lmglasfiber.com <mailto:sdh at lmglasfiber.com>
> 



More information about the Qt-interest-old mailing list