Skip to contentSkip to conversation

Can't compile under windows (MSVC2008)

QGit In review Abdelrazak Younes 3 participants 21 messages Jun 15, 2016 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hello,

I tried to follow README_WIN.txt:

C:\devel\qgit\qgit4>qmake qgit.pro

The Makefile (attached to this mail) seems to be correctly generated in the same directory (C:\devel\qgit\qgit4).

Then, under MSVC2008 Express, I get this error:

1>------ Début de la génération : Projet : qgit, Configuration : Debug Win32 ------
1>Actions de projet Makefile en cours
1>Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
1>Copyright (C) Microsoft Corporation. Tous droits rÚservÚs.
1> cd src\ && "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\nmake.exe" debug
1>Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
1>Copyright (C) Microsoft Corporation. Tous droits rÚservÚs.
1>NMAKE : fatal error U1073: incapable d'obtenir 'src\\Makefile'
1>Stop.
1>NMAKE : fatal error U1077: 'cd'á: code retour '0x2'
1>Stop.
1>Project : error PRJ0019: Un outil a retourné un code d'erreur à partir de "Actions de projet Makefile en cours" 1>Le journal de génération a été enregistré à l'emplacement "file://c:\devel\qgit\qgit4\Debug\BuildLog.htm" 1>qgit - 3 erreur(s), 0 avertissement(s)
========== Génération : 0 a réussi, 1 a échoué, 0 mis à jour, 0 a été ignoré ==========

Idea someone?

Wouldn't it be nice to use CMake instead of qmake so that the MSVC solution is generated directly?

Abdel.

#############################################################################
# Makefile for building: qgit
# Generated by qmake (2.01a) (Qt 4.4.2-snapshot-20080730) on: mar. 23. sept. 13:26:35 2008 # Project: qgit.pro
# Template: subdirs
# Command: c:\devel\qt\4.4\bin\qmake.exe -win32 -o Makefile qgit.pro
#############################################################################

first: make_default

MAKEFILE      = Makefile
QMAKE         = c:\devel\qt\4.4\bin\qmake.exe
DEL_FILE      = del
CHK_DIR_EXISTS= if not exist
MKDIR         = mkdir
COPY          = copy /y
COPY_FILE     = $(COPY)
COPY_DIR      = xcopy /s /q /y /i
INSTALL_FILE  = $(COPY_FILE)
INSTALL_PROGRAM = $(COPY_FILE)
INSTALL_DIR   = $(COPY_DIR)
DEL_FILE      = del
SYMLINK       = 
DEL_DIR       = rmdir
MOVE          = move

CHK_DIR_EXISTS= if not exist
MKDIR = mkdir
SUBTARGETS = \
sub-src

src\$(MAKEFILE):

	@$(CHK_DIR_EXISTS) src\ $(MKDIR) src\ 
	cd src\ && $(QMAKE) src.pro -win32 -o $(MAKEFILE)
sub-src-qmake_all:  FORCE
	@$(CHK_DIR_EXISTS) src\ $(MKDIR) src\ 
	cd src\ && $(QMAKE) src.pro -win32 -o $(MAKEFILE)
sub-src: src\$(MAKEFILE) FORCE
	cd src\ && $(MAKE) -f $(MAKEFILE)
sub-src-make_default: src\$(MAKEFILE) FORCE
	cd src\ && $(MAKE) -f $(MAKEFILE) 
sub-src-make_first: src\$(MAKEFILE) FORCE
	cd src\ && $(MAKE) -f $(MAKEFILE) first
sub-src-all: src\$(MAKEFILE) FORCE
	cd src\ && $(MAKE) -f $(MAKEFILE) all
sub-src-clean: src\$(MAKEFILE) FORCE
	cd src\ && $(MAKE) -f $(MAKEFILE) clean
sub-src-distclean: src\$(MAKEFILE) FORCE
	cd src\ && $(MAKE) -f $(MAKEFILE) distclean
sub-src-install_subtargets: src\$(MAKEFILE) FORCE
	cd src\ && $(MAKE) -f $(MAKEFILE) install
sub-src-uninstall_subtargets: src\$(MAKEFILE) FORCE
	cd src\ && $(MAKE) -f $(MAKEFILE) uninstall
Makefile: qgit.pro  ..\..\qt\4.4\mkspecs\default\qmake.conf ..\..\qt\4.4\mkspecs\qconfig.pri \
		..\..\qt\4.4\mkspecs\features\qt_functions.prf \
		..\..\qt\4.4\mkspecs\features\qt_config.prf \
		..\..\qt\4.4\mkspecs\features\exclusive_builds.prf \
		..\..\qt\4.4\mkspecs\features\default_pre.prf \
		..\..\qt\4.4\mkspecs\features\win32\default_pre.prf \
		..\..\qt\4.4\mkspecs\features\debug.prf \
		..\..\qt\4.4\mkspecs\features\debug_and_release.prf \
		..\..\qt\4.4\mkspecs\features\default_post.prf \
		..\..\qt\4.4\mkspecs\features\win32\rtti.prf \
		..\..\qt\4.4\mkspecs\features\win32\exceptions.prf \
		..\..\qt\4.4\mkspecs\features\shared.prf \
		..\..\qt\4.4\mkspecs\features\win32\embed_manifest_exe.prf \
		..\..\qt\4.4\mkspecs\features\win32\embed_manifest_dll.prf \
		..\..\qt\4.4\mkspecs\features\warn_on.prf \
		..\..\qt\4.4\mkspecs\features\qt.prf \
		..\..\qt\4.4\mkspecs\features\win32\thread.prf \
		..\..\qt\4.4\mkspecs\features\moc.prf \
		..\..\qt\4.4\mkspecs\features\win32\windows.prf \
		..\..\qt\4.4\mkspecs\features\win32\stl_off.prf \
		..\..\qt\4.4\mkspecs\features\resources.prf \
		..\..\qt\4.4\mkspecs\features\uic.prf \
		..\..\qt\4.4\mkspecs\features\yacc.prf \
		..\..\qt\4.4\mkspecs\features\lex.prf
	$(QMAKE) -win32 -o Makefile qgit.pro

..\..\qt\4.4\mkspecs\qconfig.pri:
..\..\qt\4.4\mkspecs\features\qt_functions.prf:
..\..\qt\4.4\mkspecs\features\qt_config.prf:
..\..\qt\4.4\mkspecs\features\exclusive_builds.prf:
..\..\qt\4.4\mkspecs\features\default_pre.prf:
..\..\qt\4.4\mkspecs\features\win32\default_pre.prf:
..\..\qt\4.4\mkspecs\features\debug.prf:
..\..\qt\4.4\mkspecs\features\debug_and_release.prf:
..\..\qt\4.4\mkspecs\features\default_post.prf:
..\..\qt\4.4\mkspecs\features\win32\rtti.prf:
..\..\qt\4.4\mkspecs\features\win32\exceptions.prf:
..\..\qt\4.4\mkspecs\features\shared.prf:
..\..\qt\4.4\mkspecs\features\win32\embed_manifest_exe.prf:
..\..\qt\4.4\mkspecs\features\win32\embed_manifest_dll.prf:
..\..\qt\4.4\mkspecs\features\warn_on.prf:
..\..\qt\4.4\mkspecs\features\qt.prf:
..\..\qt\4.4\mkspecs\features\win32\thread.prf:
..\..\qt\4.4\mkspecs\features\moc.prf:
..\..\qt\4.4\mkspecs\features\win32\windows.prf:
..\..\qt\4.4\mkspecs\features\win32\stl_off.prf:
..\..\qt\4.4\mkspecs\features\resources.prf:
..\..\qt\4.4\mkspecs\features\uic.prf:
..\..\qt\4.4\mkspecs\features\yacc.prf:
..\..\qt\4.4\mkspecs\features\lex.prf:
qmake: qmake_all FORCE

	@$(QMAKE) -win32 -o Makefile qgit.pro

qmake_all: sub-src-qmake_all FORCE

make_default: sub-src-make_default FORCE
make_first: sub-src-make_first FORCE
all: sub-src-all FORCE
clean: sub-src-clean FORCE
distclean: sub-src-distclean FORCE

	-$(DEL_FILE) Makefile

install_subtargets: sub-src-install_subtargets FORCE
uninstall_subtargets: sub-src-uninstall_subtargets FORCE

sub-src-sub_Debug: src\\$(MAKEFILE)

	cd src\ && $(MAKE) debug

debug: sub-src-sub_Debug

sub-src-sub_Release: src\\$(MAKEFILE)

	cd src\ && $(MAKE) release

release: sub-src-sub_Release

mocclean: compiler_moc_header_clean compiler_moc_source_clean

mocables: compiler_moc_header_make_all compiler_moc_source_make_all
install: install_subtargets FORCE

uninstall: uninstall_subtargets FORCE

FORCE:

#1 lore raw
Quoted 10 lines · Abdelrazak Younes

Hello,

I tried to follow README_WIN.txt:

C:\devel\qgit\qgit4>qmake qgit.pro

The Makefile (attached to this mail) seems to be correctly generated in the same directory (C:\devel\qgit\qgit4).

Then, under MSVC2008 Express, I get this error:

Just wanted to add that command-line compilation with nmake was successful and a bin/qgit.exe was generated that seems to work correctly with latest Git-1.6.0.2-preview20080923 for Windows.

Thanks to all developers involved.

Abdel.

#2 lore raw

[QGit] Some suggestion

In reply to Abdelrazak Younes

Can add below function at qgit?
===Difference other version===
1. user choose a commit,
2. right click
Check working dir
View patch
....
[Diff with other commit]

3. change icon +
4. user choose other commit

QGit show list of changed files.
click one files, call extern diff tool show difference.

=== file view ===
Can use different color to high light current commit change.

#3 lore raw

Re: [QGit] Some suggestion

Quoted 9 lines · On Thu, Sep 25, 2008 at 7:24 AM, Li Frank-B20596 <[email protected]> wrote:

Can add below function at qgit?
===Difference other version===
1. user choose a commit,
2. right click
Check working dir
View patch
....
[Diff with other commit]

Quoted 9 lines

3. change icon +
4. user choose other commit

QGit show list of changed files.
click one files, call extern diff tool show difference.

=== file view ===
Can use different color to high light current commit change.

You can _already_ do this.

1. user choose a commit

2. user choose other commit with CTRL + RIGHT CLICK

One of the problems of qgit is that the features are not immediately visible. This is a conscious choice to avoid cluttering the GUI.

Currently the _best_ way to have a complete idea of qgit is to read the handbook (press F1 key): it takes only 5 minutes and you can find interesting features otherwise very difficult to find by accident.

Marco

#4 lore raw

RE: [QGit] Some suggestion

Marco:

Yes, it is really work although it is not nature way. This way don't work at file view.

Ctrl +/- change font size, but how to change source code view
font size.

12. Marcor Costalba 10 #include <QProcess>
12. Marcor Costalba 10 #include <QRegExp>

Best regards
Frank Li

-----Original Message-----
From: Marco Costalba [mailto:[email protected]]
Sent: Thursday, September 25, 2008 7:52 PM
To: Li Frank-B20596
Cc: [email protected]
Subject: Re: [QGit] Some suggestion

Quoted 9 lines · On Thu, Sep 25, 2008 at 7:24 AM, Li Frank-B20596 <[email protected]> wrote:

Can add below function at qgit?
===Difference other version===
1. user choose a commit,
2. right click
Check working dir
View patch
....
[Diff with other commit]

Quoted 9 lines

3. change icon +
4. user choose other commit

QGit show list of changed files.
click one files, call extern diff tool show difference.

=== file view ===
Can use different color to high light current commit change.

You can _already_ do this.

1. user choose a commit

2. user choose other commit with CTRL + RIGHT CLICK

One of the problems of qgit is that the features are not immediately visible. This is a conscious choice to avoid cluttering the GUI.

Currently the _best_ way to have a complete idea of qgit is to read the handbook (press F1 key): it takes only 5 minutes and you can find interesting features otherwise very difficult to find by accident.

Marco

#5 lore raw

Re: [QGit] Some suggestion

Quoted 5 lines · On Thu, Sep 25, 2008 at 4:20 PM, Li Frank-B20596 <[email protected]> wrote:

Marco:

Ctrl +/- change font size, but how to change source code view
font size.

Edit->Settings->Fixed width font

You can choose size, font family, bolding, etc...

File view and diff view are optimized for source code viewing so use fixed pitch fonts, not system default one that normally it is not fixed pitch.

#6 lore raw

RE: [QGit] Some suggestion

Thank you for your support!
Can I compare with other version at file view?
I think highlight author at file view is not high light, can use different color?

-----Original Message-----
From: Marco Costalba [mailto:[email protected]]
Sent: Friday, September 26, 2008 12:34 AM
To: Li Frank-B20596
Cc: [email protected]
Subject: Re: [QGit] Some suggestion

Quoted 5 lines · On Thu, Sep 25, 2008 at 4:20 PM, Li Frank-B20596 <[email protected]> wrote:

Marco:

Ctrl +/- change font size, but how to change source code view
font size.

Edit->Settings->Fixed width font

You can choose size, font family, bolding, etc...

File view and diff view are optimized for source code viewing so use fixed pitch fonts, not system default one that normally it is not fixed pitch.

#7 lore raw

Re: [QGit] Some suggestion

Quoted 2 lines · On Fri, Sep 26, 2008 at 3:55 AM, Li Frank-B20596 <[email protected]> wrote:

Thank you for your support!
Can I compare with other version at file view?

After selecting with CTRL+RIGHT CLICK as already descrived click on the file name, you'll be pointed to the part of the diff related to your file.

Another option is to choose one commit, click on a file name in the right bottom pane, then press the MAGIC WAND button, then commits will be reloaded with path limiter and you will see only commits that modify the selected file. Toggle magic wand button to restore original view.

Quoted 2 lines

I think highlight author at file view is not high light, can use different color?

What is the color you would like ? Possibly in RGB format.

Marco

#8 lore raw

RE: [QGit] Some suggestion

I think orange color of "Working dir changes" in Rev List view is good.

"MAGIC WAND" is google feature.
I think the message of "Filter on <lib/blame.tcl>" at title omitted by user early.

I have some suggestions.
Option 1: Change "Rev List" to "Rev List Filtered", or add
filter icon before "Rev List"
Option 2: Change "Short Log" to "Short Log Filter On
<Lib/blame.tcl>"
Option 3: Add bar between tab and list, show current filter
information

-----Original Message-----
From: Marco Costalba [mailto:[email protected]]
Sent: Friday, September 26, 2008 1:16 PM
To: Li Frank-B20596
Cc: [email protected]
Subject: Re: [QGit] Some suggestion

Quoted 2 lines · On Fri, Sep 26, 2008 at 3:55 AM, Li Frank-B20596 <[email protected]> wrote:

Thank you for your support!
Can I compare with other version at file view?

After selecting with CTRL+RIGHT CLICK as already descrived click on the file name, you'll be pointed to the part of the diff related to your file.

Another option is to choose one commit, click on a file name in the right bottom pane, then press the MAGIC WAND button, then commits will be reloaded with path limiter and you will see only commits that modify the selected file. Toggle magic wand button to restore original view.

Quoted 2 lines

I think highlight author at file view is not high light, can use different color?

What is the color you would like ? Possibly in RGB format.

Marco

#9 lore raw

Re: [QGit] Some suggestion

Quoted 3 lines · On Fri, Sep 26, 2008 at 7:43 AM, Li Frank-B20596 <[email protected]> wrote:

I have some suggestions.
Option 1: Change "Rev List" to "Rev List Filtered"

This is the more correct but we don't have the space to write on what files it is filtering

Quoted 2 lines

Option 2: Change "Short Log" to "Short Log Filter On
<Lib/blame.tcl>"

This is less correct because short log has nothing to do with filtering, but here there is more space...

Quoted 3 lines

Option 3: Add bar between tab and list, show current filter
information

Too complicated and space wasteful IMO.

Marco

#10 lore raw

RE: [QGit] Some suggestion

Option 1:
Telling user just filted is better than nothing. Is it possible
add tool button tip.
When mouse over 'Rev list [Felted]", show what filtering.

Best regards
Frank Li

-----Original Message-----
From: Marco Costalba [mailto:[email protected]]
Sent: Friday, September 26, 2008 6:38 PM
To: Li Frank-B20596
Cc: [email protected]
Subject: Re: [QGit] Some suggestion

Quoted 3 lines · On Fri, Sep 26, 2008 at 7:43 AM, Li Frank-B20596 <[email protected]> wrote:

I have some suggestions.
Option 1: Change "Rev List" to "Rev List Filtered"

This is the more correct but we don't have the space to write on what files it is filtering

Quoted 2 lines

Option 2: Change "Short Log" to "Short Log Filter On
<Lib/blame.tcl>"

This is less correct because short log has nothing to do with filtering, but here there is more space...

Quoted 3 lines

Option 3: Add bar between tab and list, show current filter
information

Too complicated and space wasteful IMO.

Marco

#11 lore raw

Re: [QGit] Some suggestion

Quoted 5 lines · On Fri, Sep 26, 2008 at 3:57 PM, Li Frank-B20596 <[email protected]> wrote:

Option 1:
Telling user just filted is better than nothing. Is it possible
add tool button tip.
When mouse over 'Rev list [Felted]", show what filtering.

Ok! I agree.

Thanks
Marco

#12 lore raw

PATCH 1/1 Modify Highlight Color at File Context View.

In reply to Marco Costalba
Quoted 1 line

From 3507b3f0b13287c5a25a31b238527b5920555c5c Mon Sep 17 00:00:00 2001

From: Frank Li <[email protected]>
Date: Sat, 27 Sep 2008 11:41:03 +0800
Subject: [PATCH] Modify Highlight Color at File Context View. Author and line number can be easily found when choose special commit.

---
 src/filecontent.cpp |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
src/filecontent.cpp +4 -2
index 28e0f91..23c2e95 100644
@@ -576,12 +576,14 @@ void FileContent::setAnnList() {
 	listWidgetAnn->clear();
 	listWidgetAnn->addItems(sl);
 
-	QBrush b(Qt::darkGray);
+	QBrush fore(Qt::darkRed);
+	QBrush back(Qt::lightGray);
 	QFont f(listWidgetAnn->font());
 	f.setBold(true);
 	FOREACH (QVector<int>, it, curIdLines) {
 		QListWidgetItem* item = listWidgetAnn->item(*it);
-		item->setForeground(b);
+		item->setForeground(fore);
+		item->setBackground(back);
 		item->setFont(f);
 	}
 	/* When listWidgetAnn get focus for the first time the current
Signature · 1 line
1.6.0.2.1172.ga5ed0
#13 lore raw

Re: [QGit] [PATCH] Modify Highlight Color at File Context View.

Quoted 8 lines · On Sat, Sep 27, 2008 at 4:44 AM, Li Frank-B20596 <[email protected]> wrote:

From 3507b3f0b13287c5a25a31b238527b5920555c5c Mon Sep 17 00:00:00 2001
From: Frank Li <[email protected]>
Date: Sat, 27 Sep 2008 11:41:03 +0800
Subject: [PATCH] Modify Highlight Color at File Context View. Author and line number can be easily found when choose special commit.

---

Patch applied.

Thanks
Marco

#15 lore raw

Re: [QGit] [PATCH] Modify Highlight Color at File Context View.

In reply to a message not in the archive
Quoted 9 lines · On Mon, Sep 29, 2008 at 3:27 AM, Li Frank-B20596 <[email protected]> wrote:

Marco:

I don't get my patch by git-pull.
There are not my patch at
http://git.kernel.org/?p=qgit/qgit4.git;a=summary.

best regards
Frank Li
________________________________

I have pushed to my local repo, I will be able to push to public repo only this week end.

Marco

#16 lore raw

Re: [QGit] [PATCH] Modify Highlight Color at File Context View.

Quoted 7 lines · Marco Costalba
Quoted 6 lines · On Mon, Sep 29, 2008 at 3:27 AM, Li Frank-B20596 <[email protected]> wrote:

Marco:

I don't get my patch by git-pull.
There are not my patch at
http://git.kernel.org/?p=qgit/qgit4.git;a=summary.

Quoted 7 lines
Quoted 3 lines

best regards
Frank Li
________________________________

I have pushed to my local repo, I will be able to push to public repo only this week end.

Ok. Now is pushed to public repo.

Frank, are you sure it works? for me it does not seem to make any difference.

Marco

#17 lore raw

RE: [QGit] [PATCH] Modify Highlight Color at File Context View.

Marco:

It is difference between my patch and you applied patch.

Git diff HEAD^
- item->setForeground(b);
+ item->setForeground(fore);
+ item->setForeground(back);
item->setFont(f);

In my patch:

- item->setForeground(b);
+ item->setForeground(fore);
+ item->setBackground(back);

It should be setBackground(back), not setForeground(back);

Best regards
Frank Li

-----Original Message-----
From: Marco Costalba [mailto:[email protected]]
Sent: Saturday, October 04, 2008 2:20 PM
To: Li Frank-B20596
Cc: [email protected]
Subject: Re: [QGit] [PATCH] Modify Highlight Color at File Context View.

Quoted 1 line · Marco Costalba

On Mon, Sep 29, 2008 at 3:27 AM, Li Frank-B20596

Quoted 6 lines · <[email protected]> wrote:
Quoted 6 lines

Marco:

I don't get my patch by git-pull.
There are not my patch at
http://git.kernel.org/?p=qgit/qgit4.git;a=summary.

Quoted 7 lines
Quoted 3 lines

best regards
Frank Li
________________________________

I have pushed to my local repo, I will be able to push to public repo only this week end.

Ok. Now is pushed to public repo.

Frank, are you sure it works? for me it does not seem to make any difference.

Marco

#18 lore raw

Re: [QGit] [PATCH] Modify Highlight Color at File Context View.

Quoted 3 lines · On Sat, Oct 4, 2008 at 4:32 PM, Li Frank-B20596 <[email protected]> wrote:

It should be setBackground(back), not setForeground(back);

Ahaaaa! My bad!

Sorry for this. Fix pushed.

Thanks
Marco

#19 lore raw
In reply to Abdelrazak Younes

2008/9/23 Abdelrazak Younes <[email protected]>:

Quoted 32 lines

Hello,

I tried to follow README_WIN.txt:

C:\devel\qgit\qgit4>qmake qgit.pro

The Makefile (attached to this mail) seems to be correctly generated in the same directory (C:\devel\qgit\qgit4).

Then, under MSVC2008 Express, I get this error:

1>------ Début de la génération : Projet : qgit, Configuration : Debug Win32
------
1>Actions de projet Makefile en cours
1>Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 1>Copyright (C) Microsoft Corporation. Tous droits rÚservÚs.
1> cd src\ && "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\nmake.exe" debug
1>Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 1>Copyright (C) Microsoft Corporation. Tous droits rÚservÚs. 1>NMAKE : fatal error U1073: incapable d'obtenir 'src\\Makefile' 1>Stop.
1>NMAKE : fatal error U1077: 'cd'á: code retour '0x2'
1>Stop.
1>Project : error PRJ0019: Un outil a retourné un code d'erreur à partir de "Actions de projet Makefile en cours"
1>Le journal de génération a été enregistré à l'emplacement "file://c:\devel\qgit\qgit4\Debug\BuildLog.htm"
1>qgit - 3 erreur(s), 0 avertissement(s)
========== Génération : 0 a réussi, 1 a échoué, 0 mis à jour, 0 a été ignoré
==========

Quoted 2 lines

Idea someone?

have you tried to setup MSVC for custom build ? and pass proper comamnd line with nmake ?

Marco

#20 lore raw
Quoted 34 lines · Marco Costalba

2008/9/23 Abdelrazak Younes<[email protected]>:

Quoted 32 lines

Hello,

I tried to follow README_WIN.txt:

C:\devel\qgit\qgit4>qmake qgit.pro

The Makefile (attached to this mail) seems to be correctly generated in the same directory (C:\devel\qgit\qgit4).

Then, under MSVC2008 Express, I get this error:

1>------ Début de la génération : Projet : qgit, Configuration : Debug Win32
------
1>Actions de projet Makefile en cours
1>Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 1>Copyright (C) Microsoft Corporation. Tous droits rÚservÚs.
1> cd src\&& "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\nmake.exe" debug
1>Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 1>Copyright (C) Microsoft Corporation. Tous droits rÚservÚs. 1>NMAKE : fatal error U1073: incapable d'obtenir 'src\\Makefile' 1>Stop.
1>NMAKE : fatal error U1077: 'cd'á: code retour '0x2'
1>Stop.
1>Project : error PRJ0019: Un outil a retourné un code d'erreur à partir de "Actions de projet Makefile en cours"
1>Le journal de génération a été enregistré à l'emplacement "file://c:\devel\qgit\qgit4\Debug\BuildLog.htm"
1>qgit - 3 erreur(s), 0 avertissement(s)
========== Génération : 0 a réussi, 1 a échoué, 0 mis à jour, 0 a été ignoré
==========

Quoted 5 lines
Quoted 3 lines

Idea someone?

have you tried to setup MSVC for custom build ?

Sorry, I don't follow you.

Quoted 3 lines

and pass proper
comamnd line with nmake ?

In the NMAKE field of the project properties, there is 'nmake /f Makefile debug', is that what you mean?

Abdel.

#21 lore raw
Quoted 37 lines · Abdelrazak Younes
Quoted 36 lines · Marco Costalba

2008/9/23 Abdelrazak Younes<[email protected]>:

Quoted 34 lines

Hello,

I tried to follow README_WIN.txt:

C:\devel\qgit\qgit4>qmake qgit.pro

The Makefile (attached to this mail) seems to be correctly generated in the same directory (C:\devel\qgit\qgit4).

Then, under MSVC2008 Express, I get this error:

1>------ Début de la génération : Projet : qgit, Configuration : Debug Win32
------
1>Actions de projet Makefile en cours
1>Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 1>Copyright (C) Microsoft Corporation. Tous droits rÚservÚs.
1> cd src\&& "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\nmake.exe" debug
1>Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 1>Copyright (C) Microsoft Corporation. Tous droits rÚservÚs. 1>NMAKE : fatal error U1073: incapable d'obtenir 'src\\Makefile' 1>Stop.
1>NMAKE : fatal error U1077: 'cd'á: code retour '0x2'
1>Stop.
1>Project : error PRJ0019: Un outil a retourné un code d'erreur à partir de "Actions de projet Makefile en cours"
1>Le journal de génération a été enregistré à l'emplacement "file://c:\devel\qgit\qgit4\Debug\BuildLog.htm"
1>qgit - 3 erreur(s), 0 avertissement(s)
========== Génération : 0 a réussi, 1 a échoué, 0 mis à jour, 0 a été ignoré
==========

Idea someone?

Quoted 8 lines
Quoted 1 line

have you tried to setup MSVC for custom build ?

Sorry, I don't follow you.

Quoted 2 lines

and pass proper
comamnd line with nmake ?

In the NMAKE field of the project properties, there is 'nmake /f Makefile debug', is that what you mean?

OK, by removing '/f Makefile' I manage to compile qgit from within Visual Studio. I also managed to launch it in debug mode by selecting the executable in ../bin/qgit.exe. When launched this way (F5), qgit opens up with the qgit repository but the user name and email are still not filled in, I'll try to debug that now.

Abdel.