Author Topic: debbuging custom libraries?  (Read 513 times)


  • Regular Member
  • *
  • Posts: 31
debbuging custom libraries?
« on: January 12, 2017, 04:17:05 AM »
I've been fooling around with Siekmanski's Stars dirextx 9 example. It seems that the lib file D3DMATHSSE2.LIB is a custom lib. When I try to build the project using debug, I get a unknown linker error. I'm by no means a pro at this stuff
but is there a linker trick to get the linker to recognize custom libraries?


  • Administrator
  • Member
  • ******
  • Posts: 5268
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: debbuging custom libraries?
« Reply #1 on: January 12, 2017, 11:10:57 AM »
Its a bit hard to help you with no code to evaluate. Show us how you have included the lib that Siekmanski has written and we can probably help you.
hutch at movsd dot com    :biggrin:  :biggrin:


  • Member
  • *****
  • Posts: 1362
Re: debbuging custom libraries?
« Reply #2 on: January 13, 2017, 10:09:46 PM »
Maybe the includes are in the wrong order...
Include the standard headers first, see below.

Code: [Select]
    includelib kernel32.lib
    includelib user32.lib
    includelib gdi32.lib
    includelib ole32.lib
    includelib oleaut32.lib

    include    includes\
    include    includes\
    includelib libs\d3d9.lib

    include    includes\D3DTexture.Inc
    includelib libs\D3DTexture.lib
    include    includes\
    includelib libs\D3DMathSSE2.lib