[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Elias Pschernig wrote:
I was in windows today and downloaded the free MSVC command line tools
to try and compile allegro with it (to eventually track down that race
condition bug AJ was having). The first problem I hit was, it installed
into a patch with spaces. The attached patch was a quick hack to fix
this (it may break other things though).
thanks, it's great to have this thing fixed
And I'm wondering, were we always forcing regular MSVC users to install
into a path with no spaces? There seems to be no more way in winXP to
find out that DOS-path without spaces name of a dir, as mentioned in the
error message
you can use
dir /x
(And about compiling allegro with the free cl.exe.. after fixing the
spaces issue, it compiled some files until I discovered that it doesn't
come with windows.h, and it chokes on the windows.h in mingw, so no
success.)
you have to download also Platform SDK
However I see some problems with the patch:
ifdef MSVCDIR
MSVCDIR_U = $(subst \,/,$(MSVCDIR))
MSVCDIR_D = $(subst /,\,$(MSVCDIR))
-else
-ifdef MSVCDir
- MSVCDIR_U = $(subst \,/,$(MSVCDir))
- MSVCDIR_D = $(subst /,\,$(MSVCDir))
+ MSVCDIR_U := $(subst $(SPACE),\$(SPACE),$(MSVCDIR_U))
+ MSVCDIR_D := $(subst $(SPACE),\$(SPACE),$(MSVCDIR_D))
else
badmsvc:
@echo Your MSVCDIR environment variable is not set!
@@ -101,25 +108,6 @@
endif
endif
you have to delete also one of these endifs
also make install does not work
--
Regards,
Michal