bugPanda PDF Generation API - Bugs: bug #10370, Panda for Windows does not compile

 
 

bug #10370: Panda for Windows does not compile

Submitter:  None
Submitted:  Mon 13 Sep 2004 02:37:52 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 11 May 2005 06:56:18 PM UTC, comment #3: 

Hi,

How can I get the latest source of Panda for windows?
I tried to retrieve it with CVS, but it does not seem to be current, at least I had to manually fix the panda_fontmetrics bug. I also noticed that the compiled dll has two missing dependencies, libphn.dll and libz.dll. Where can I get these dlls or their source?

I could not compile the pandacom source even after assiigning valid guids and fixing obvious errors in methods declarations like HRESULT * ...
and it looks like interface provided by panda_com.dll in the
activex directory is quite different than one in the source code.

This compiled panda_com.dll works fairly well for my purposes, except it does not wrap the text into specified box size. I'd like to fix this error, but I think I need a better version of the source code to start with.

Also I found that this panda_com.dll does not seem to depend on libz and libpng dlls. I have not tried to insert the png pictures though.

Can anybody help me get started?

Alex.

Alex Ivanov <consul>
Fri 26 Nov 2004 12:05:58 PM UTC, comment #2: 

No you haven't wasted your time, i've fixed problem with your post...
Errata-corrige
panda_fontmetric -> panda_getfontmetric

Anonymous
Tue 14 Sep 2004 07:18:55 PM UTC, comment #1: 

I think I fixed the compile error by changing panda_fontmetric to getpanda_fontmetric in the def file, however it still does not work with panda_com.vbp sample, gettting error 53 "panda.dll not found".

I discovered that the panda.dll provided with the panda_com sample has extended set of exported functions which names begin with windows_panda_. What is the differense between standard panda_ functions and their windows_panda_ counterparts?

It seems to me that standard windows dll functions like DllMain are missing, or I'm missing something?

Does anybody read these logs or I'm wasting my time here?

Alex.

Anonymous
Mon 13 Sep 2004 02:37:52 AM UTC, original submission:  

Hi, I tried to compile the panda with VC++ 6 and got the following errors, perhaps because panda_fontmetric is a typedef, not a variable.

Linking...
panda.def : error LNK2001: unresolved external symbol panda_fontmetric
Release/panda.lib : fatal error LNK1120: 1 unresolved externals
LINK : fatal error LNK1141: failure during build of exports file
Error executing link.exe.

If I comment the offending line in the def file it compiles, but certainly does not work as expected. Part of debug log is following. What should I do to fix this problem? Alex.

Loaded symbols for 'C:\Test\panda-windows-0.5.4\panda-0.5.4\activex\panda_com.dll'
Preloaded symbols may not match 'C:\WINDOWS\system32\panda.dll'.
Preloaded symbols may not match 'C:\WINDOWS\system32\panda.dll'.
First-chance exception in PDF_Example.exe (KERNEL32.DLL): 0xC000008F: Float Inexact Result.
Preloaded symbols may not match 'C:\WINDOWS\system32\panda.dll'.
First-chance exception in PDF_Example.exe (KERNEL32.DLL): 0xC000008F: Float Inexact Result.
Preloaded symbols may not match 'C:\WINDOWS\system32\panda.dll'.
First-chance exception in PDF_Example.exe (KERNEL32.DLL): 0xC000008F: Float Inexact Result.
First-chance exception in PDF_Example.exe (KERNEL32.DLL): 0xC000008F: Float Inexact Result.
First-chance exception in PDF_Example.exe (KERNEL32.DLL): 0xC000008F: Float Inexact Result.
The thread 0xCF4 has exited with code 0 (0x0).
The program 'C:\Test\panda-windows-0.5.4\panda-0.5.4\examples\images\PDF_Example.exe' has exited with code 0 (0x0).


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code