clawPDF icon indicating copy to clipboard operation
clawPDF copied to clipboard

Build is failing when using VS 2019 community edition version on windows 10

Open shashankSkydale opened this issue 6 years ago • 13 comments

Getting below errors in VS 2019 community edition, please assist

Severity	Code	Description	Project	File	Line	Suppression State
Error		Could not copy the file "E:\VSProjects\clawPDF\clawPDF\clawmon\x86\SCPDFPRN.ppd" because it was not found.	clawPDF			
Error		Could not copy the file "E:\VSProjects\clawPDF\clawPDF\clawmon\x64\pscript5.dll" because it was not found.	clawPDF			
Error		Could not copy the file "E:\VSProjects\clawPDF\clawPDF\clawmon\x86\pscript5.dll" because it was not found.	clawPDF			
Error		Could not copy the file "E:\VSProjects\clawPDF\clawPDF\clawmon\x64\ps5ui.dll" because it was not found.	clawPDF			
Error		Could not copy the file "E:\VSProjects\clawPDF\clawPDF\clawmon\x64\SCPDFPRN.ppd" because it was not found.	clawPDF			
Error		Could not copy the file "E:\VSProjects\clawPDF\clawPDF\clawmon\x86\ps5ui.dll" because it was not found.	clawPDF			
Error		Could not copy the file "E:\VSProjects\clawPDF\clawPDF\clawmon\x64\pscript.ntf" because it was not found.	clawPDF			
Error		Could not copy the file "E:\VSProjects\clawPDF\clawPDF\clawmon\x86\pscript.ntf" because it was not found.	clawPDF			
Error		Could not copy the file "E:\VSProjects\clawPDF\clawPDF\clawmon\x86\pscript.hlp" because it was not found.	clawPDF			
Error		Could not copy the file "E:\VSProjects\clawPDF\clawPDF\clawmon\x64\pscript.hlp" because it was not found.	clawPDF		
```	

shashankSkydale avatar Jul 22 '19 12:07 shashankSkydale

Please assist.

shashankSkydale avatar Jul 26 '19 06:07 shashankSkydale

Me too, I encountered the same problem when compiled this project. Could anyone help me?

zxdCodeLibrary avatar Nov 16 '19 07:11 zxdCodeLibrary

I have fixed this problem,you just need to modify the sub project configure file of clawPDF.

Delete all the copy command lines of the error list fields.

Then you will build succeed.

zxdCodeLibrary avatar Nov 16 '19 08:11 zxdCodeLibrary

@zxdCodeLibrary I have encountered the same problem. Which configuration files should I change?Thank you.

pzw520125 avatar Dec 12 '19 01:12 pzw520125

shashankSkydale and pzw520125,

In the Solution Explorer, C# Project clawPDF, Folder clawmon, Folders x64 and x86: delete all items under those two folders and build project again.

brhunt1958 avatar Dec 12 '19 17:12 brhunt1958

A followup note here... Deleting those references does allow most of the projects to compile, but it breaks the installer. So, no way to install/test.

hessandrew / clawsoftware, can you update the downloadable solution to correct the issues?

Thanks.

Bryan Hunt

brhunt1958 avatar Dec 20 '19 13:12 brhunt1958

I too have encountered these problems discussed here. I was able to get it to build eventually by making modifications, but the installer produced does not successfully setup the printer.

trentapple avatar Jan 28 '20 20:01 trentapple

I used Lessmsi to extract missing files directly from msi, added them to clawmon and it builds! (Also had to copy clawmon.dll to _Build/release/clawmon/x64 for installer to build.)

twooclock avatar Apr 09 '20 14:04 twooclock

Any update on this issue, I am still facing the same issue.

pradeepngupta avatar Aug 29 '20 19:08 pradeepngupta

@twooclock your advise works... i am able to rebuild the solution, but when i am running, it is giving a popup stating ÇlawPDF is not installed', On continuirng, it is trying to launch SetupHelper but complained that SetupHelper.exe is not found. Any steps i am missing here.

pradeepngupta avatar Aug 29 '20 20:08 pradeepngupta

After deleting _Build folder, updating build target folders for all source projects to align with setup app's expectations, building clawmonui both for Win32 and x64 and copying 64 bit clawmon.dll from the MSI file provided in web site I was able to build setup and install printer in Windows 10. clawmon fails to compile in 64 bit so until that is resolved, this application should not be treated as a complete open source. I'll share if I find the solution for 64 bit compilation issues with clawmon

ymeric avatar Nov 07 '20 23:11 ymeric

clawmon.dll fails to compile in 64 bit only because openssl 64bit folder is messing. Just download it and set at proper location.

Chirag19 avatar Jan 09 '21 04:01 Chirag19

I confirm that using Lessmsi o clawdPDF_version.msi for extracting the missing files works. You will find a clawmon folder that contains exactly what you need in your clawPDF/clawmon folder. Just copy it.

AlbertoLeon avatar Aug 21 '21 17:08 AlbertoLeon

@ymeric after downlaoding the set up file in visual studio, the files are downloaded but not in exe or msi extension, so I can't set up the printer or add it to printers in windows. note that I modified the interfaces in claw pdf code and I want to add the new printer to windows. is there any way to solve this problem.

HudaKouli avatar Feb 05 '23 11:02 HudaKouli