Results 1 to 2 of 2

Thread: Compiling a .cpp file, getting error

  1. #1
    Join Date
    Jun 2012
    Location
    Cape town
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Compiling a .cpp file, getting error

    Hi


    Im trying to compile a .cpp, after the makefile is made and I try "make" the files and I get an error.

    My cmd prompt looks like this:


    Microsoft Windows [Version 6.1.7601]

    Copyright (c) 2009 Microsoft Corporation. All rights reserved.



    C:\Users\name.surname>cd C:\nukePlugins\nukePlugins_\monitorSocket



    C:\nukePlugins\nukePlugins_\monitorSocket>C:\Qt\4. 8.1_x64\qmake\qmake.exe



    C:\nukePlugins\nukePlugins_\monitorSocket>C:\MinGW \bin\mingw32-make.exe

    C:/MinGW/bin/mingw32-make -f Makefile.Debug

    mingw32-make[1]: Entering directory `C:/nukePlugins/nukePlugins_/monitorSocket'

    Makefile.Debug:59: *** missing separator. Stop.

    mingw32-make[1]: Leaving directory `C:/nukePlugins/nukePlugins_/monitorSocket'

    mingw32-make: *** [debug] Error 2

    I am using MinGW and qt 4.8.1_x64 on a windows 7 x64 machine.

    Attached are the files im working with.

    Please help
    Attached Files Attached Files

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Compiling a .cpp file, getting error

    Quote Originally Posted by DDHarLiN View Post
    I am using MinGW and qt 4.8.1_x64 on a windows 7 x64 machine.
    Are you sure? Because the Makefile contained in the archive you posted was definitely generated for MSVC and not MinGW.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Error in compiling
    By Tarun in forum Qt-based Software
    Replies: 1
    Last Post: 3rd February 2010, 15:04
  2. Replies: 1
    Last Post: 25th October 2008, 20:18
  3. Compiling error with caps file names
    By Caius Aérobus in forum Qt Programming
    Replies: 5
    Last Post: 21st October 2008, 16:34
  4. i always get an error when compiling Qt4.4.0
    By mismael85 in forum Installation and Deployment
    Replies: 9
    Last Post: 21st July 2008, 15:08
  5. Extra qualification error while compiling the project file
    By amit_pansuria in forum Qt Programming
    Replies: 1
    Last Post: 8th June 2007, 08:56

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.