Command Line Compilation. Error -1073741819.

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

cross mob
Anonymous
Not applicable

Hello

   

I try command line compilation. Make all like in article . I write bat file 

   

set PSOCTOOLS="C:\Program Files\Cypress\PSoC Designer\5.1\Common\CypressSemiBuildMgr\tools"
set DEVICE=CY7C63813-SXC
set BASEDEVICE=CY7C63800
set LASTROM=0x1fff
set path = %PSOCTOOLS%
make -f %PSOCTOOLS%\Makefile clean
make PROJNAME=test1 -f %PSOCTOOLS%\Makefile makemake
make -f %PSOCTOOLS%\Makefile depend
make PROJNAME=test1 -f %PSOCTOOLS%\Makefile
PAUSE

   

The next error appear.

   

U:\cyprojects\test1\test1>make PROJNAME=test1 -f "C:\Program Files\Cypress\PSoC
Designer\5.1\Common\CypressSemiBuildMgr\tools"\Makefile makemake
psocmakemake.exe test1 -oproject.mk
make: *** [makemake] Error -1073741819

   

How can I resolve this error.

   

Do somebody have other sample of command line compilation?

   

Thanks in advance.

0 Likes
7 Replies
Anonymous
Not applicable

Hi,

   

we highly encourage our community here to jump in and answer questions as well. Has somebody else encountered this issue. In our test environment the approach as described in the knowledge base article "Command Line Compilation of PSoC1 Project"  does work. 

   

Is somebody else using this feature and it does / does not work.

   

The forum is targeted to be a user community and a peer to peer sharing and help network.

   

We will continue to look into this issue and appreciate any additional input from other PSoC users.

   

Thank you for your help, Robert

0 Likes
lock attach
Attachments are accessible only for community members.
MykolaT_21
Employee
Employee

According to the “IDE User Guide” Appendix B.4 “Building Project Through Command Line”.

   

The following command should be used to Clean, Generate and Build by the IMAGECRAFT compiler the “Demo” project, located in the “D:\MyDesigner” folder:

   

"C:\Program Files\Cypress\PSoC Designer\5.1\PSoC Designer 5\PDCLI.exe" "CGBP" "D:\MyDesigner\Demo\Demo.cmx" "IMAGECRAFT"

   

This command can be used only for the PD 5.1 designer

   

Please see attached “IDE User Guide.pdf” file on p134

0 Likes
Anonymous
Not applicable

I can't build my project this way too.

   

 

   

C:\Documents and Settings\admin>"C:\Program Files\Cypress\PSoC Designer\5.1\PSoC
 Designer 5\PDCLI.exe" "CGBP" "C:\PSoC projects\test1\test1.cmx" "IMAGECRAFT"
Process ................
ERROR: The project failed to build
The build output is shown below:

done

   

 

   

Can you give me your email or skype?

   

I send you login and password for remote control of of my computer.

   

My contacts are

   

email: ruslan@delly.info

   

skype: ruslan.delly.info

0 Likes
MykolaT_21
Employee
Employee

Which version of the PSoC Designer are you using? (Help -> About PSoC Designer)

   

I can successfully build with PSoC Designer 5.1 Service Pack 1, which can be downloaded from the

   

http://www.cypress.com/?rID=41083

   

Could you attach your project?

0 Likes
Anonymous
Not applicable

I use

   

PSoC Designer Content 5.1 (SP1)- Build 2101 - 27-December-2010.15:17:09
PSoC Designer Core 5.1  (SP1)- Build 2101 - 27-December-2010.15:17:09
PSoC Designer Documentation 5.1 (SP1)- Build 2101 - 27-December-2010.15:17:09

 

   

I also can share my computer using www.teamviewer.com

   

Password and login can send to your email.

0 Likes
Anonymous
Not applicable

My project link is

   
   

     test.delly.info/test1.zip

0 Likes
MykolaT_21
Employee
Employee

Ruslan,

   

please use following bat to build your project (thanks Chris for help):

   

              

   

set DEVICE=CY7C63813-SXC

   

set BASEDEVICE=CY7C63800

   

set LASTROM=0x7fff

   

set PROJNAME=test1

   

 

   

set PSOCDIR=C:\PROGRA~1\Cypress\PSOCDE~1\5.1\Common\CYPRES~3\tools

   

set PATH=%PSOCDIR%

   

 

   

echo clean

   

make -f %PSOCDIR%\Makefile clean

   

echo makemake

   

make -f %PSOCDIR%\Makefile makemake

   

echo depend

   

make -f %PSOCDIR%\Makefile depend

   

echo MakeFile

   

make -f %PSOCDIR%\Makefile

   

 

   

It should solve your issue. KB and IDE user guide will be updated.

0 Likes