Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Other Discussions
  3. IT & Infrastructure
  4. Compiling without needing DLL's

Compiling without needing DLL's

Scheduled Pinned Locked Moved IT & Infrastructure
game-devhelpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Grimes
    wrote on last edited by
    #1

    hi can someone please help me, i'm trying to make a game, but when i run the exe on other computers it gives errors about dll's that are needed. Is there a way to compile a program without having to also copy those dlls ? KOM UIT DAAAAA!!!

    C 1 Reply Last reply
    0
    • G Grimes

      hi can someone please help me, i'm trying to make a game, but when i run the exe on other computers it gives errors about dll's that are needed. Is there a way to compile a program without having to also copy those dlls ? KOM UIT DAAAAA!!!

      C Offline
      C Offline
      Chris Meech
      wrote on last edited by
      #2

      Yes there is. But you need to have access to all of the original source files that produce the DLLs. If you have access to that, then you need to create new projects that are STATIC LIBRARY instead of DYNAMIC LIBRARY projects. Put the source files into those new projects and compile them to produce the static library. When you compile the EXE project, instead of linking with the .lib file in the DYNAMIC LIBRARY project, you now link with the .lib file in the STATIC LIBRARY project. Chris Meech I am Canadian. [heard in a local bar] When I want privacy, I'll close the bathroom door. [Stan Shannon] GOOD DAY FOR: Bean counters, as the Australian Taxation Office said that prostitutes and strippers could claim tax deductions for adult toys and sexy lingerie. [Associated Press]

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups