hi, i am trying qt with visual studio. hello world program.
here are the errors.
>Performing Makefile project actions
1>'mingw32-make' is not recognized as an internal or external command,
1>operable program or batch file.
1>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\SysWow64\cmd.exe'.
1>Build log was saved at "file://c:\Documents and Settings\Administrator\My Documents\Qt\hell2\hell2\Debug\BuildLog.htm"
1>hell2 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
if i include C:\mingw\bin to include directories i get
1>Performing Makefile project actions
1>mingw32-make -f Makefile.Debug
1>mingw32-make[1]: Entering directory `c:/Documents and Settings/Administrator/My Documents/Qt/hell2/hell2'
1>mingw32-make[1]: Leaving directory `c:/Documents and Settings/Administrator/My Documents/Qt/hell2/hell2'
1>Makefile.Debug:58: *** missing separator. Stop.
1>mingw32-make: *** [debug] Error 2
1>Project : error PRJ0002 : Error result 2 returned from 'C:\WINDOWS\SysWow64\cmd.exe'.
1>Build log was saved at "file://c:\Documents and Settings\Administrator\My Documents\Qt\hell2\hell2\Debug\BuildLog.htm"
1>hell2 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
i removed mingw path because i read somewhere, use make msvc instead of wingw32 -make.
it means use vc compiler instead of wingw. ryt? if so how to do it?
i mean, what setting shall i change?
please help.
thanks in advance.
7 8000
If you try to build it with vc, why do you add *whatever* mingw stuff to *whatever* ? Why qmake generates makefile for mingw but not for vs - there is some addon (as in paid version) that allows it to generate makefile for vc.
when i installed qt it asked for mingw. so, i added bin files. but even if i don't add it it still gives error.
i tried installing qt again. after 'configure', when i run nmake/make it says
nmake is not recognized.
Banfa 9,065
Expert Mod 8TB
That is because MSVC does not automatically add its bin path to the environment PATH.
Start a Command Prompt, locate the MSVC bin directory and run vsvars32.bat, then locate your make make file directory and try running nmake there again.
This must all be done from the same command prompt.
hi banfa,
i did it. now it gives error
.\option.cpp(698) : fatal error C1083: Cannot open include file: 'windows.h': No
such file or directory
Generating Code...
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\
VC\BIN\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\
VC\BIN\nmake.exe"' : return code '0x2'
Stop.
where is windows.h suppose to be?
thanks guys.
nmake runs successfully.
this is final message.
link /NOLOGO /INCREMENTAL:NO /SUBSYSTEM:console /OUT:..\bin\qmake.exe @C
:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nm20.tmp
alright??
now i made a 'hello' project.
set include directory.
build errors:
1>------ Build started: Project: hello, Configuration: Debug Win32 ------
1>Performing Makefile project actions
1>mingw32-make -f Makefile.Debug
1>mingw32-make[1]: Entering directory `c:/Documents and Settings/Administrator/My Documents/Qt/hello/hello'
1>mingw32-make[1]: Leaving directory `c:/Documents and Settings/Administrator/My Documents/Qt/hello/hello'
1>Makefile.Debug:58: *** missing separator. Stop.
1>mingw32-make: *** [debug] Error 2
1>Project : error PRJ0002 : Error result 2 returned from 'C:\WINDOWS\SysWow64\cmd.exe'.
1>Build log was saved at "file://c:\Documents and Settings\Administrator\My Documents\Qt\hello\hello\Debug\BuildLog.htm"
1>hello - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
what is ***missing seperator?
thanks...
hi,
there are no .lib files in lib folder.
now i need to build libraries. right??
how to do that??
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Tatu Portin |
last post by:
Have this kind of struct:
typedef struct {
char **user_comments;
/* ... */
} vorbis_comment;
/* prototype */
char * read_vorbis_string
( FILE *sc);
|
by: Anthony Gallagher |
last post by:
I have a bunch of libraries compiled using VC++ 6.0, and I am trying to
recompile one of our projects using VC++ .NET. I get all kind of linker
errors (specially in STL calls). How do I get rid of...
|
by: Hari |
last post by:
Guys please help me to solve this strange problem what Iam
getting as follows..
Trying to instantiate a global instance of a template
class as follows :-
when i build this code with debug and...
|
by: vemulakiran |
last post by:
Hi all,
I have doubt regarding .NET.
I have a tool which was developed on VC++ 6.0(Win32 Application ).
The application communicates with library (API) which was developed on
VC++ 6.0 called core...
|
by: |
last post by:
Everything seems to be moving to .NET and VC++ seems to be adding a lot of
managed code support every new release.
The questions: is unmanaged code in VC++ beeing phased out in favour of
managed...
|
by: ultranet |
last post by:
I have cruised around
http://msdn.microsoft.com/visualc/ and the rest of the site, and i am
not able to find a single C++ or VC++ certification exam that will be
available after June 30, 2004. I...
|
by: Steve |
last post by:
We are considering the ways to migrate our VC++ 6.0 applications to .NET
platform.
It would be nice to rewrite them completely in C#, but due to the time
constraints
this option is out of...
|
by: um |
last post by:
When the POSIX pthreads library for w32 release 2-2-0
(http://sources.redhat.com/pthreads-win32/) is compiled with VC++6
then it compiles and passes all the benchmark tests in the subdirectory...
|
by: Michael Tissington |
last post by:
I have a Visual Basic 6.0 ActiveX Control.
It seems there is no way with VS 2005 to create a similar control for
containers that host ActiverX controls, is this correct ?
I'm thinking of...
|
by: Norman Diamond |
last post by:
A project depends on VC runtime from Visual Studio 2005 SP1, and DotNet
Framework 2. Options are set in the setup project properties, so if these
two dependencies are not already installed then...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |