You are not logged in.

1

Friday, June 8th 2012, 3:58pm

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
DDHarLiN has attached the following file:
  • nukePlugins.zip (9.45 kB - 4 times downloaded - latest: Feb 28th 2013, 1:00pm)

2

Friday, June 8th 2012, 4:21pm

try

Source code

1
NDKDIR = "C:/Program Files/Nuke6.1v3"


you should keep this at the begening of monitorSocket.pro, else NDKDIR could be undefined (???)

Source code

1
TEMPLATE = lib

This post has been edited 1 times, last edit by "Nicolas SOUCHON" (Jun 8th 2012, 5:31pm)


3

Friday, June 8th 2012, 5:41pm

What has this got to do with Qt programming?
If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.