problem about migrating from eVC project to Visual Studio project...

Dear All,

I was trying to migrate from a previous eVC project to a Visual Studio project. It seems that I have a problem with an original makefile.cc file. And I have looked into the file, the file is like the following:

# the line CC=gcc below if another compiler is desired
# (CFLAGSxxx probably must be changed then as well)
#
#
# $Id $
#
#****************************************************************

CC = CC
MAKEFILENAME = makefile.cc

I understand that # is used for commenting.... But it didn't pass the compiler.... it says:

error C2019: expected preprocessor directive, found '*'


Could you please tell me how to run makefile.cc in Visual Studio

Thank you very much!
Kun




Answer this question

problem about migrating from eVC project to Visual Studio project...

  • le tan duc

    Are you sure it's eVC project

    In any case, it might be easire to create a new empty device project and add the files to it. You will likely need to specify include file paths and some extra lib files



  • Rascal123

    Don't try to compile the makefile. Run the nmake utility on the makefile. If you're still confused (you are), google for nmake...




  • problem about migrating from eVC project to Visual Studio project...