![]() |
|
Syntax error while make |
SonShadowCat
Member #1,548
September 2001
![]() |
I'm getting this error while trying to compile allegro: src/poly3d.c:49: error: syntax error before string constant I've done a search but it came up with nothing and now the search won't even work anymore. I've looked at the .c file and saw nothing wrong and I've done everything else correctly so I ask for help. Thank you. |
TeamTerradactyl
Member #7,733
September 2006
![]() |
Which allegro version, SonShadowCat?
|
Matthew Leverton
Supreme Loser
January 1999
![]() |
http://www.allegro.cc/forums/thread/380007 Check for bad quotes in asmcapa.h. Usually due to having sh.exe in your path. |
SonShadowCat
Member #1,548
September 2001
![]() |
That helped the first problem but now I get this when running make install: misc/mdhelper.sh H:/MinGW/lib H:/MinGW/include H:/MinGW/include/allegro H:/MinGW I also ran a search for that with no results. |
Matthew Leverton
Supreme Loser
January 1999
![]() |
Remove the sh.exe / bash.exe and whatever else triggers unix tools from your path by either redoing your path or renaming the file. |
SonShadowCat
Member #1,548
September 2001
![]() |
There is no sh.exe, I read that in the thread and looked for it. By my path do you mean the PATH variable in the environment? I see nothing that might cause it to be called. |
Matthew Leverton
Supreme Loser
January 1999
![]() |
Or edit the makefile.mgw and remove these lines: ifdef CROSSCOMPILE ifdef ALLEGRO_USE_CYGWIN ifneq (,$(findstring /sh.exe,$(SHELL))) |
SonShadowCat
Member #1,548
September 2001
![]() |
No difference, I'm still getting the error. |
Matthew Leverton
Supreme Loser
January 1999
![]() |
Are you running from cmd.exe or some other shell? |
SonShadowCat
Member #1,548
September 2001
![]() |
Matthew Leverton
Supreme Loser
January 1999
![]() |
Well, I don't know why UNIX_TOOLS is still set. It looks like it's built, so you could just copy the files by hand. |
mscava
Member #6,815
January 2006
![]() |
That's the error I still have...process_begin: CreateProcess( NULL, ... ) failedI've been browsin internet a bit and I've found that if the filepath where you are working is longer than 128 chars, it won't work. Anyway my filepath wasn't longer than 128 chars. So I'm doing some things through sh.exe instead of cmd.exe and I won't get CreateProcess failed. |
SonShadowCat
Member #1,548
September 2001
![]() |
Huh, I fixed it. I simply found sh.exe in unxutils folder then copied it to the allegro folder and it worked. |
|