Results 1 to 3 of 3

Thread: Combination of static libraries in a dynamic

  1. #1
    Kahil Dotay is offline Junior Member
    Join Date
    Oct 2009
    Posts
    12
    Rep Power
    0

    Default Combination of static libraries in a dynamic

    Hello,

    I'm working on porting a project from windows to linux, in this project there is a library containing about 1300 source files, for reasons I will not spread here, I could not generate a dll once, so I was wondering if you could cut this into several static library and then to gather in a dll.

    In fact I already create static libraries, but when I combine it leaves me an empty dll.

    I work under windows so with Visual C + + and Qt 3.

    Thank you very much.

    Best regards.

  2. #2
    Julie Benz is offline Junior Member
    Join Date
    Oct 2009
    Posts
    13
    Rep Power
    0

    Default

    well you exported symbols? (Memory: __declspec (dllexport) or via def file)

    I imagine that if you exported nothing, the compiler can possibly remove all your code in your dll final.

  3. #3
    Kahil Dotay is offline Junior Member
    Join Date
    Oct 2009
    Posts
    12
    Rep Power
    0

    Default

    a __declspec (dllexport) is for the dll, so I put this macro to generate my static libraries, but actually I put in the combination. lib

    In fact I create a class can to combine all my power. Lib and I included a header of one. Lib and used a class at the linkage, the linker me out moult error of symbol not resolved so I wonder if it is possible to do that ...

Similar Threads

  1. Dynamic & static parameters
    By Felipe Pollard in forum Programming
    Replies: 1
    Last Post: 02-24-2010, 11:31 AM
  2. Static and Dynamic
    By SmithJohnson in forum RAM
    Replies: 3
    Last Post: 02-01-2010, 03:02 PM
  3. Problem of dynamic libraries
    By vasica143 in forum Programming
    Replies: 4
    Last Post: 11-20-2009, 11:22 AM
  4. How to set both dynamic and static IP address at the same time
    By vivian rodriquez in forum General Networking
    Replies: 0
    Last Post: 06-10-2009, 10:47 AM
  5. The Difference between Static and Dynamic IP Addresses
    By Bratton Clovelly in forum General Networking
    Replies: 0
    Last Post: 06-10-2009, 10:40 AM

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
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48