Likes: 0
Results 1 to 4 of 4
-
09-02-10, 12:46 PM #1
Visual Studio 2008 c++ libpurple compile
Register to remove this adHi,
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:
2. Add version.h, and config.h from pidgin root
So when I compile I get errors like:
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.
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.
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?
› See More: Visual Studio 2008 c++ libpurple compile
-
09-02-10, 01:02 PM #2
This is really wierd. Never seen anything like this. :S
-
10-02-10, 09:06 AM #3
-
14-02-10, 06:33 AM #4
Register to remove this ad