Page 1 of 1

Building a .pgm on Windows

Posted: Fri Nov 22, 2019 2:08 pm
by Over_score
To Michael & David

I am able to compile on Linux a .pgm for the DM42.
Now, I'm trying to build a .pgm file on Windows. I'm almost there. I'm missing two programs: add_pgm_chsum and check_qspi_crc.
So here's my request.
Would it be possible for you to provide us with a Windows version of the add_pgm_chsum and check_qspi_crc programs? Or may be the sources, I'm able to compile and may be adapt them.

Thanks
Martin

Re: Building a .pgm on Windows

Posted: Fri Nov 22, 2019 10:20 pm
by Walter
I'd recommend to send them an email. In my experience so far they are reacting pretty fast on emails but don't "constantly monitor this forum" (as David wrote once).

Re: Building a .pgm on Windows

Posted: Sat Nov 23, 2019 10:20 pm
by ijabbott
It would require reimplementing the functionality of the shell scripts in C or something. An alternative may to build in an MSYS2 or Cygwin Bash shell environment.

Re: Building a .pgm on Windows

Posted: Sun Nov 24, 2019 10:39 am
by Over_score
We have a MSYS2 environment for the Windows development. But these 2 programs don't want to work or may be I' m doing something wrong. Re-implementing the functionality is an idea I had but I need to know very precisely what they are doing.

Re: Building a .pgm on Windows

Posted: Sun Nov 24, 2019 10:54 am
by Over_score
Oh shit! I didn't see that these programs were bash scripts! :shock:
So may be I can do something.

Re: Building a .pgm on Windows

Posted: Sun Nov 24, 2019 10:58 am
by Dani R.
You're in a mingw64 shell? I had other problems until I could create a PGM, but checksum gives me no problem.

Re: Building a .pgm on Windows

Posted: Sun Nov 24, 2019 3:41 pm
by Over_score
I finally got it to work :D
I had a strange problem with the file qspi_crc.h combined with a %PATH% problem on my virtualbox Windows virtual machine!

A special thank you to ijabbott for giving me the clue I was missing.