NO

Author Topic: gif2avi.zip Source Code dwnld fr smorgasbordet -- .... Building Problems  (Read 4665 times)

EdPellesC99

  • Guest

  Hi,

  Though I do not have problems building the other source code packages, I have errors galore.
Has any one else been able to simply build the project?

  I would like to explore this work, as I could use it!

  Thanks in advance.

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2115
Try to insert this to gif2avi.h
Code: [Select]
typedef unsigned long _fsize_t;
Code: [Select]
#ifndef UNREFERENCED_PARAMETER
#define UNREFERENCED_PARAMETER(P) (P)
#endif
« Last Edit: February 15, 2011, 07:07:10 AM by timovjl »
May the source be with you

EdPellesC99

  • Guest
   Thanks Timo,

  One error:

gif2avi.h(56): error #1050: Redefinition of macro 'UNREFERENCED_PARAMETER'.

But I am afraid I do not understand how to use this work.

It produced three .obj files, no executables.

Up until now (in my personal crude work) I have simply included extra .c files in my main.c file and .... donot compile .obj files and link them ..... I have just not gotten into that yet.

Anyway .... what do I do now?   ???

How do I use this work to convert a .gif to an .avi?

thanks much
« Last Edit: February 17, 2011, 06:02:09 AM by EdPellesC99 »

EdPellesC99

  • Guest
    Ok......,   :'(

   I now inserted:
#ifndef UNREFERENCED_PARAMETER
#define UNREFERENCED_PARAMETER(P) (P)
#endif

  So Here are my results :

Building main.OBJ.
Building avi.OBJ.
Building gif.OBJ.
C:\SGV1\C _PelleOrinius' Goodies\gif2avi\gif.c(240): warning #2030: '=' used in a conditional expression.
C:\SGV1\C _PelleOrinius' Goodies\gif2avi\gif.c(245): warning #2030: '=' used in a conditional expression.
C:\SGV1\C _PelleOrinius' Goodies\gif2avi\gif.c(266): warning #2030: '=' used in a conditional expression.
Building utils.OBJ.
Building GIF2AVI.EXE.

POLINK: error: Unresolved external symbol '_ICSendMessage@16'.
POLINK: fatal error: 1 unresolved external(s).
*** Error code: 1 ***
Done.

I think I can get rid of the warnings, but any ideas on the "POLINK: error: Unresolved external symbol '_ICSendMessage@16'."

Is there a library missing in the source code ppj file? I searched in the help contents but no topics found.

Thanks, Ed

« Last Edit: February 17, 2011, 06:04:02 AM by EdPellesC99 »

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2115
Insert vfw32.lib to project.
May the source be with you

EdPellesC99

  • Guest
Wow !

   Project Built in a split second. Had my first .gif converted within one minute.

   Thanks a lot Timo.  ;D

  Now I can go play with Pelle's cool toy !