PSoC Designer build not working in Win10 64 bit

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
ShR_1265436
Level 1
Level 1

Hi

I've just moved from a slow 32 bit Windows 10 system to a faster 64 bit system. I have installed PSoC Designer 5.4 in XP-SP3 compatibility mode, but the build does not take place.

I get this message:

Starting MAKE... psocmakemake.exe PDProject1 -oproject.mk creating project.mk -- no changes mkdepend.exe -f project.dep -p./obj/ -o.o -- -IC:/PROGRA~2/Cypress/PSOCDE~1/5.4/Common/CYPRES~1/tools/include -I./lib -I./std -I. -IC:/PROGRA~2/Cypress/PSOCDE~1/5.4/Common/CYPRES~1/tools/include/CY8C28~1  -- main.c ser_lcd.asm boot.asm mkdepend.exe @mkdep mkdepend.exe @mkdep if exist output\PDProject1.rom del /F /Q  output\PDProject1.rom if exist output\PDProject1.hex del /F /Q  output\PDProject1.hex make: *** No rule to make target `D:\Hardware\PSoC\Chip', needed by `lib/obj/daily.o'.  Stop.   PDProject1 - 1 error(s) 0 warning(s) 02:28:08

Please advise

0 Likes
1 Solution

Haah!!

It worked!

I just removed the spaces from the directory names.

My source was in 'Hardware\PSoC\Chip Level Projects\433 Projects\'

I changed to 'Hardware\PSoC\ChipLevelProjects\433Projects\'

No need to move the files to root dir, or re-install etc.

Going to program a chip and test its working!

Thank you Sampath.

View solution in original post

0 Likes
7 Replies
SampathS_11
Moderator
Moderator
Moderator
250 sign-ins 250 solutions authored 5 questions asked

Hello Shivkumar,

Kindly try the following:

- Move project to C:\ Drive

- Hope you are performing Generate / Build

- PSoC Designer 5.4 was released nearly five years ago, and so has not been tested on Windows 10. However, Windows 10 supports Windows XP Virtual Machine. You can also try along that line.

Best regards,

Sampath Selvaraj

0 Likes

Hello Sampath

Thank you for the reply.

I have tried your suggestions.

I use the Build menu 'Generate/Build' option to build the project.

I tried copying the project directory to C:\ (C drive root directory). This gave errors that the include files were not found.

Moving the project directory to any other directory (like D:\Hardware\PSOC) to remove the spaces in the directory name, also gave the include files error How do I remove the include files error? Where do I define path to include files?

I tried running Designer in compatibility mode (WinXP SP3). Not working. The error remains as below:

Starting MAKE...

psocmakemake.exe PDProject1 -oproject.mk

creating project.mk

mkdepend.exe -f project.dep -p./obj/ -o.o -- -IC:/PROGRA~2/Cypress/PSOCDE~1/5.4/Common/CYPRES~1/tools/include -I./lib -I./std -I. -IC:/PROGRA~2/Cypress/PSOCDE~1/5.4/Common/CYPRES~1/tools/include/CY8C28~1  -- main.c ser_lcd.asm boot.asm

mkdepend.exe @mkdep

mkdepend.exe @mkdep

if exist output\PDProject1.rom del /F /Q  output\PDProject1.rom

if exist output\PDProject1.hex del /F /Q  output\PDProject1.hex

make: *** No rule to make target `D:\Hardware\PSoC\Chip', needed by `lib/obj/daily.o'.  Stop.

My earlier system was a 32bit Win10 system. I had no problems there, except the svg file warning when Designer was started.

I tried re-installing Designer in the new machine in compatibility mode also. No go.

Please help.

0 Likes

Hello Shivakumar,

Where is daily.c in your project tree?

Best regards,

Sampath

0 Likes

Hi Sampath.

There is no 'Daily.c' in my project. There is a 'Daily.h' in the inc directory created by Designer, I think. I haven't created it. But these are its contents:

//*****************************************************************************

//*****************************************************************************

//  FILENAME:  Daily.h

//  Version: 1.7, Updated on 2015/3/4 at 22:26:11

//  Generated by PSoC Designer 5.4.3191

//

//  DESCRIPTION:

//    Daily Module header file.

//-----------------------------------------------------------------------------

//      Copyright (c) Cypress Semiconductor 2015. All Rights Reserved.

//*****************************************************************************

//*****************************************************************************

#ifndef Daily_INCLUDE

#define Daily_INCLUDE

/* include the global header file */

#include <m8c.h>

/* Create pragmas to support proper argument and return value passing */

#pragma fastcall16  Daily_Start         // class 1

#pragma fastcall16  Daily_Stop          // class 2

#pragma fastcall16  Daily_bE2Write      // class 4

#pragma fastcall16  Daily_E2Read        // class 4

//-------------------------------------------------

// Prototypes of the Daily API.

//-------------------------------------------------

extern void  Daily_Start(void);     

extern void  Daily_Stop(void);

extern CHAR  Daily_bE2Write(WORD wAddr, BYTE * pbData, WORD wByteCount, CHAR cTemperature);

extern void  Daily_E2Read(WORD wAddr, BYTE * pbDataDest, WORD wByteCount);

//-------------------------------------------------

// Defines for Daily API's.

//-------------------------------------------------

/* Return value for bE2Write */

#define  Daily_NOERROR           0

#define  Daily_FAILURE          -1

#define  Daily_STACKOVERFLOW    -2

#define  Daily_START_BLOCK        0xfd                               // Starting block of Daily EEPROM device

#define  Daily_START_ADDR         (0xfd * 64)                        // absolute address of Daily EEPROM device

#define  Daily_LENGTH             0x40                               // length of Daily EEPROM device

#endif

// end of file Daily.h

0 Likes

I tried another project on the same machine (64 bit Win10). These are the errors:

Starting MAKE...

psocmakemake.exe PDProject1 -oproject.mk

creating project.mk

mkdepend.exe -f project.dep -p./obj/ -o.o -- -IC:/PROGRA~2/Cypress/PSOCDE~1/5.4/Common/CYPRES~1/tools/include -I./lib -I./std -I. -IC:/PROGRA~2/Cypress/PSOCDE~1/5.4/Common/CYPRES~1/tools/include/CY8C28~1  -- main.c ser_lcd.asm boot.asm

mkdepend.exe @mkdep

mkdepend.exe @mkdep

if exist output\PDProject1.rom del /F /Q  output\PDProject1.rom

if exist output\PDProject1.hex del /F /Q  output\PDProject1.hex

mkdir std

mkdir std\obj

make: *** No rule to make target `D:\Hardware\PSoC\Chip', needed by `lib/obj/bcamp.o'.  Stop.

bcamp is the PGA module I use for signal amplification.

I'll try again building after renaming directories with no spaces in directory names. Lets see.

Edited to change 'installing' to 'building after renaming directories'

0 Likes

Haah!!

It worked!

I just removed the spaces from the directory names.

My source was in 'Hardware\PSoC\Chip Level Projects\433 Projects\'

I changed to 'Hardware\PSoC\ChipLevelProjects\433Projects\'

No need to move the files to root dir, or re-install etc.

Going to program a chip and test its working!

Thank you Sampath.

0 Likes

Hello Shivakumar,

Kindly move your projects to the C:\ directory, and generate / build from there.

Best regards,

Sampath

0 Likes