Hello & Welcome to our community. Is this your first visit? Register
Follow us on
Follow us on Facebook Follow us on Twitter Watch us on YouTube


MMOCoin

Likes Likes:  0
Results 1 to 4 of 4
  1. #1
    Beginner

    Join Date
    Feb 2010
    Posts
    7
    Post Thanks / Like
    Rep Power
    15
    Reputation
    1

    Visual Studio 2008 c++ libpurple compile


    Register to remove this ad
    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:
    2. Add version.h, and config.h from pidgin root
    But in the pidgin root I found a version of config.h that undefined everything.
    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
    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'.
    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
    So I had to make some wild tests in order to get more information.
    I added the #define code in core.c.
    Code:
    #ifndef STATIC_PROTO_INIT
    #define STATIC_PROTO_INIT static void static_proto_init(void) {  }
    #endif
    That actually made the compile a bit more happy because the compiler triggered an error on another missing constant.
    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



  2. Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread

  3. #2
    Banned

    Join Date
    Sep 2009
    Posts
    90
    Post Thanks / Like
    Rep Power
    0
    Reputation
    103
    This is really wierd. Never seen anything like this. :S

  4. #3
    Beginner

    Join Date
    Feb 2010
    Posts
    7
    Post Thanks / Like
    Rep Power
    15
    Reputation
    1
    Quote Originally Posted by _reel^ View Post
    This is really wierd. Never seen anything like this. :S
    I'm thinking of starting from scratch again.

  5. #4
    Banned

    Join Date
    Sep 2009
    Posts
    90
    Post Thanks / Like
    Rep Power
    0
    Reputation
    103

    Register to remove this ad
    Quote Originally Posted by nattsurf123 View Post
    I'm thinking of starting from scratch again.
    You should.

 

 

Visitors found this page by searching for:

compile libpurple

SEO Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -5. The time now is 04:55 AM.
Powered by vBulletin® Copyright ©2000-2024, Jelsoft Enterprises Ltd.
See More links by ForumSetup.net. Feedback Buttons provided by Advanced Post Thanks / Like (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
vBulletin Licensed to: MMOPro.org