Results 1 to 2 of 2

Thread: linking problem under windows

  1. #1
    Join Date
    Oct 2009
    Location
    Mantova, Italy
    Posts
    15
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60

    Default linking problem under windows

    Hi to all.
    I'm developing an application that use a static library ( i'm also the developer of the lib).
    This static library need to be linked with libcurl, but i've some problems to do this.

    Under linux (ubuntu 9.10) the makefile has a string like this:
    (note that ljacksms is the name of my static library)

    g++ [various qt string] -lcurl -ljacksms

    and works fine.

    on windows is needed another lib:
    g++ [various qt string] -lcurl -lcurldll -ljacksms

    but i have many linker errors like this:
    In function `name':: undefined reference to `curl_global_init'
    i'm getting wrong something?

    ps: yes, my english is not very good...
    Thanks.

  2. #2
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: linking problem under windows

    Do you get any error message before all the undefinied references like cannot find lib called something? What are the first lines of output of the linker command?
    It's nice to be important but it's more important to be nice.

Similar Threads

  1. Replies: 2
    Last Post: 25th November 2009, 23:44
  2. jom / Windows SDK libs linking problem
    By nooky59 in forum Qt Tools
    Replies: 3
    Last Post: 12th November 2009, 14:58
  3. Problem with linking QT at windows.
    By zygmunt in forum Installation and Deployment
    Replies: 1
    Last Post: 21st October 2008, 21:53
  4. Linking QT 3.3 in windows
    By siddharth_univ in forum Installation and Deployment
    Replies: 10
    Last Post: 26th February 2007, 06:38

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.