Discussion:
How to use evc's exported makefile?
(too old to reply)
fantasy1215 via PocketPCJunkies.com
2010-04-23 07:28:22 UTC
Permalink
Sometime I just wanna make sure whether the exe builded is updated, so I
don't wanna
launch EVC4.0 and then build the project, I want just type nmake in console
to build it.
But it seems the exported .vcn makefile doesn't work.

I Create a project using EVC++4.0 IDE, and code, then build with EVC, there's
no problem,
And then using the menu, "Project->exported makefile", then EVC automated to
touch a .vcn
file. But when I type "nmake -f myfile.vcn", it complains.
This is just a simple project, I thought it would work fine with nmake.
So I doubt whether the .vcn makefile exported by EVC is ok or not!

So please give me a hint, how to build my project by console command?
--
Message posted via http://www.pocketpcjunkies.com
Helge Kruse
2010-04-23 11:12:44 UTC
Permalink
Post by fantasy1215 via PocketPCJunkies.com
But when I type "nmake -f myfile.vcn", it complains.
Should we guess, what it's complaining about?

Helge
Ulrich Eckhardt
2010-04-23 11:14:33 UTC
Permalink
Post by fantasy1215 via PocketPCJunkies.com
Sometime I just wanna make sure whether the exe builded is updated, so I
don't wanna launch EVC4.0 and then build the project, I want just type
nmake in console to build it.
You can also call "evc.exe /build foo.dsp", i.e. trigger the IDE to build
from the commandline.
Post by fantasy1215 via PocketPCJunkies.com
But it seems the exported .vcn makefile doesn't work.
Doesn't work? Does it sit on the couch all day and watches soaps?
Post by fantasy1215 via PocketPCJunkies.com
I Create a project using EVC++4.0 IDE, and code, then build with EVC,
there's no problem,
And then using the menu, "Project->exported makefile", then EVC automated
to touch a .vcn
file. But when I type "nmake -f myfile.vcn", it complains.
This is just a simple project, I thought it would work fine with nmake.
So I doubt whether the .vcn makefile exported by EVC is ok or not!
So please give me a hint, how to build my project by console command?
Generally, you have to set up your environment to build from the
commandline. This includes e.g. the path to the compiler, its include files
and lib dirs. If you have any of the other Visual Studios installed, they
contain a file call vcvars32.bat. That file sets up the environment for
compiling on the commandline, though for the desktop. You will have to
write a similar file for eVC.

Uli
--
Sator Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
fantasy1215 via PocketPCJunkies.com
2010-04-24 01:16:10 UTC
Permalink
I know there's vcvars32.bat for visual studio IDEs, but I've searched the
EVC's installed directory, no .bat file founded. So there's nobody who use
EVC's exported .vcn makefile to build project, is there?
Post by Ulrich Eckhardt
Post by fantasy1215 via PocketPCJunkies.com
Sometime I just wanna make sure whether the exe builded is updated, so I
don't wanna launch EVC4.0 and then build the project, I want just type
nmake in console to build it.
You can also call "evc.exe /build foo.dsp", i.e. trigger the IDE to build
from the commandline.
Post by fantasy1215 via PocketPCJunkies.com
But it seems the exported .vcn makefile doesn't work.
Doesn't work? Does it sit on the couch all day and watches soaps?
Post by fantasy1215 via PocketPCJunkies.com
I Create a project using EVC++4.0 IDE, and code, then build with EVC,
there's no problem,
[quoted text clipped - 5 lines]
Post by fantasy1215 via PocketPCJunkies.com
So please give me a hint, how to build my project by console command?
Generally, you have to set up your environment to build from the
commandline. This includes e.g. the path to the compiler, its include files
and lib dirs. If you have any of the other Visual Studios installed, they
contain a file call vcvars32.bat. That file sets up the environment for
compiling on the commandline, though for the desktop. You will have to
write a similar file for eVC.
Uli
--
Message posted via http://www.pocketpcjunkies.com
Loading...