Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
June 20, 2006 make usage? | ||||
---|---|---|---|---|
| ||||
Hello, I can't find a place to get any help with this so i'm asking here, also I couldn't search this forum, so I couldn't any information on this problem here, or on groups.google.com anyways, my problem is such that when i attempt to do a make on the c++ win32 sample GEN32 using DMC, i always get this error: "Error on line 22: expecting target : dependencies" I really can't figure out what the problem is, and i don't even know the correct syntax i should be using, i've tried a lot of variations like C:\cpp\GEN32>"c:\dm\bin\make" -f makefile C:\cpp\GEN32>"c:\dm\bin\make" -f gen32.mak C:\cpp\GEN32>"c:\dm\bin\make" all -f makefile and so on... anyone know how to get it working? tnx rjm |
June 21, 2006 Re: make usage? | ||||
---|---|---|---|---|
| ||||
Posted in reply to rjm | you need a specific makefile for dmc (perhaps called makefile.dmc). Inside this there should be commands like
dmc [flags] [output] code.cpp
makefile is probably for gcc/g++ gem.mak for visual C
chris
rjm wrote:
> Hello, I can't find a place to get any help with this so i'm asking here, also I
> couldn't search this forum, so I couldn't any information on this problem here,
> or on groups.google.com
>
> anyways, my problem is such that when i attempt to do a make on the c++ win32
> sample GEN32 using DMC, i always get this error:
> "Error on line 22: expecting target : dependencies"
>
> I really can't figure out what the problem is, and i don't even know the correct
> syntax i should be using, i've tried a lot of variations like
> C:\cpp\GEN32>"c:\dm\bin\make" -f makefile
> C:\cpp\GEN32>"c:\dm\bin\make" -f gen32.mak
> C:\cpp\GEN32>"c:\dm\bin\make" all -f makefile
> and so on...
>
> anyone know how to get it working? tnx
> rjm
>
>
|
June 22, 2006 Re: make usage? | ||||
---|---|---|---|---|
| ||||
Posted in reply to rjm | rjm wrote:
> Hello, I can't find a place to get any help with this so i'm asking here, also I
> couldn't search this forum, so I couldn't any information on this problem here,
> or on groups.google.com
>
> anyways, my problem is such that when i attempt to do a make on the c++ win32
> sample GEN32 using DMC, i always get this error:
> "Error on line 22: expecting target : dependencies"
And line 22 of the make file looks like?
|
June 22, 2006 Re: make usage? - GEN32.MAK | ||||
---|---|---|---|---|
| ||||
Posted in reply to rjm Attachments: | well, there's 2 possible files, and somone mentioned that one might be specialized for dmc so i tried both, the "makefile" without extension, and the "gen32.mak" both of which come with this sample (it's in the samples folder for dmc). and "makefile" which also appears to be the default detected, gives me the line 22 error, and "gen32.mak" gives me a line 5 error. (to use gen32.mak, the -f switch is required) both files are in the dmc distribution C:\dm\samples\WIN32\FRMWORK\GEN32 so perhaps the question is if i'm even using the correct sample, all i really want is a framework for a win32 app. that i can work off of. (the gen32.mak is attached for reference) rjm In article <e79ucf$l92$1@digitaldaemon.com>, rjm says... > >Hello, I can't find a place to get any help with this so i'm asking here, also I couldn't search this forum, so I couldn't any information on this problem here, or on groups.google.com > >anyways, my problem is such that when i attempt to do a make on the c++ win32 >sample GEN32 using DMC, i always get this error: >"Error on line 22: expecting target : dependencies" > >I really can't figure out what the problem is, and i don't even know the correct >syntax i should be using, i've tried a lot of variations like >C:\cpp\GEN32>"c:\dm\bin\make" -f makefile >C:\cpp\GEN32>"c:\dm\bin\make" -f gen32.mak >C:\cpp\GEN32>"c:\dm\bin\make" all -f makefile >and so on... > >anyone know how to get it working? >tnx >rjm > > rjm |
Copyright © 1999-2021 by the D Language Foundation