Hi,
I would simply want to compile lib purple in visual studio but I fear that would be difficult.
The big problem I have now is a config.h file.
The story to this is that I was following instructions posted in this url:
http:\\pidgin.im\pipermail\devel\2007-May\001041.html
It says:
But in the pidgin root I found a version of config.h that undefined everything.2. Add version.h, and config.h from pidgin root
So when I compile I get errors like:
I realize this was not the config.h that I was supposed to add but instead a config.h with a crazy name like 'config.h.mingw'.Error 84 error C2054: expected '(' to follow 'STATIC_PROTO_INIT' c:\users\admin\documents\visual studio 2008\projects\libpurple\libpurple\core.c 79 LibPurple
Of course I removed the old config.h and replaced it with this one.
This file would define the required constants. So I hit compile, but for some reason I get the same error.
So I had to make some wild tests in order to get more information.Error 84 error C2054: expected '(' to follow 'STATIC_PROTO_INIT' c:\users\admin\documents\visual studio 2008\projects\libpurple\libpurple\core.c 79 LibPurple
I added the #define code in core.c.
That actually made the compile a bit more happy because the compiler triggered an error on another missing constant.Code:#ifndef STATIC_PROTO_INIT #define STATIC_PROTO_INIT static void static_proto_init(void) { } #endif
So I concluded that visual studio still uses the old config.h file.
What do you think?
What could I try?
What should I do?


Likes: 




Reply With Quote
Bookmarks