AnsweredAssumed Answered

Running exported makefile under Windows

Question asked by LloydE on Nov 19, 2009
Latest reply on Nov 16, 2010 by kbrafford

I can compile my code in VisualDSP++ but when I exported my makefile using "Project Options->Export Makefile..." and tried to run it under a Windows XP command prompt (i.e, cmd.exe) I get the following error:

 

     set PATH=C:\Program Files\Analog Devices\VisualDSP 5.0;%PATH%

     gmake-378 -f tmm_export.mak tmm_Debug

 

     "Linking..."

     'C:/Program\' is not recognized as an internal or external command,operable program or batch file.
     gmake-378: *** [Debug/tmm.dxe] Error 1

 

This would appear to be due to the fact that I am running under Windows instead of UNIX because the tmm_export.mak file replaces

     ADI_DSP=C:\Program Files\Analog Devices\VisualDSP 5.0

with

     VDSP=C:Program\ Files/Analog\ Devices/VisualDSP\ 5.0

(replacing backslashes with slashes and spaces with backslash-space) which is what I assume is causing cmd.exe to choke.

 

Are there any environment variables or arguments to cmd.exe that I need to set to get gmake to run from cmd.exe? Can someone point me to the documentation which describes how to do this? How does the IDDE run the tmm.mak file properly?

 

I am using VisualDSP++ 5.0.6.0, IDDE 8.0.6.76 (Feb 12, 2009) under Windows XP Pro service pack 3.


Outcomes