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

 
 

bug #10370: Panda for Windows does not compile

Submitted by:  None
Submitted on:  Mon 13 Sep 2004 02:37:52 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup