clawPDF icon indicating copy to clipboard operation
clawPDF copied to clipboard

Build problems

Open poison64 opened this issue 4 years ago • 5 comments

Is there a build instruction available somewhere?

When I tried to build (after extracting clawmon/x86 and clawmon/x64 from msi) i'm getting missing files from clawPDF_setup

image

And when I try to change configuration to "Any CPU" i'm getting missing openssl file:

image

An instruction covering build from start to finish would be nice...

poison64 avatar May 05 '20 11:05 poison64

See other issues and you'll be able to build. Yes it would be nice if maintainer @clawsoftware would add build procedure to readme and fix some criticall issues like for example #23 and #25.

twooclock avatar May 06 '20 14:05 twooclock

I don't know if that's true, because none of these issues mention my problem with openssl header file...

poison64 avatar May 06 '20 14:05 poison64

What I did was download clawmon and extract openssl files from there. Hope it helps.

twooclock avatar May 07 '20 05:05 twooclock

clawPDF // How to compile

Using Microsoft visual studio 2019

How to fix .dll missing

error MSB3030: Could not copy the file "clawPDF\clawPDF\clawmon\x86\SCPDFPRN.ppd" because it was not found.

Download and Install https://github.com/clawsoftware/clawPDF/releases/download/0.8.4/clawPDF_0.8.4_setup.msi Then copy folder C:\Program Files (x86)\clawpdf\clawmon to your project inside clawPDF\clawPDF

You should now be able to compile

How to compile the msi setup

ERROR: Unable to find source file for file 'license.rtf', located in '[TARGETDIR]', the file may be absent or locked.

  • Go to build -> configuration manager
  • Change clawPDF platform to Any CPU
  • Change SetupHelper to Any CPU
  • Change every project to Release instead of Debug
  • Go to build -> build solution
  • Replace ClawPDF/_Build/clawmon by the one located in ClawPDF\ClawPDF\clawmon

You should now be able to compile the setup

AloisH avatar Jun 30 '20 08:06 AloisH

Odd . . . when I follow the steps above it builds fine in VS2019. However I get no output when I print.

Installation form the source MSI prints fine: https://github.com/clawsoftware/clawPDF/releases/download/0.8.4/clawPDF_0.8.4_setup.msi

But when I build the repo, it acts like it wants to print, asks for a file location, and then NO OUTPUT.

I'll need a working copy before I can test my changes. Any thoughts? Does the .NET framework need to be the exact version, or can it be later?

stargazerbooks avatar Aug 15 '20 12:08 stargazerbooks

Since version 0.8.7 the code can be compiled without manual steps.

clawsoftware avatar Mar 21 '23 19:03 clawsoftware