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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. include error

include error

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++learning
5 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.
  • S Offline
    S Offline
    suninwater
    wrote on last edited by
    #1

    I'm going to convert a program to a library. First, I delete the project(say foo.dsp) which originally create binary exe-file. Second, insert all header/cpp/resource files which are in foo.dsp into the new one.Third, compile to see how thing's going. To my surprise, many include path errors come out to me. PS: preprocesser definitions are always the same. Please give me some help if you could. TIA -gusd

    V 1 Reply Last reply
    0
    • S suninwater

      I'm going to convert a program to a library. First, I delete the project(say foo.dsp) which originally create binary exe-file. Second, insert all header/cpp/resource files which are in foo.dsp into the new one.Third, compile to see how thing's going. To my surprise, many include path errors come out to me. PS: preprocesser definitions are always the same. Please give me some help if you could. TIA -gusd

      V Offline
      V Offline
      Vitali Halershtein
      wrote on last edited by
      #2

      Hi, If you eant convert App to the static Lib I can suggest folowing way: 1) Create Lib project 2) Add necessary files from App to the Lib project while( not success) 3) Compile 4) Do some corrections end while :rolleyes: Vitali

      S 1 Reply Last reply
      0
      • V Vitali Halershtein

        Hi, If you eant convert App to the static Lib I can suggest folowing way: 1) Create Lib project 2) Add necessary files from App to the Lib project while( not success) 3) Compile 4) Do some corrections end while :rolleyes: Vitali

        S Offline
        S Offline
        suninwater
        wrote on last edited by
        #3

        Thanks for your advice. But, I'm wondering whether there's some path variable in the foo.dsp file or not. do you know that ?

        V 1 Reply Last reply
        0
        • S suninwater

          Thanks for your advice. But, I'm wondering whether there's some path variable in the foo.dsp file or not. do you know that ?

          V Offline
          V Offline
          Vitali Halershtein
          wrote on last edited by
          #4

          Hehe, its may be path variables, Preprocessor defs, and many other conditions. Nobody can tell more without project files :zzz: Vitali

          S 1 Reply Last reply
          0
          • V Vitali Halershtein

            Hehe, its may be path variables, Preprocessor defs, and many other conditions. Nobody can tell more without project files :zzz: Vitali

            S Offline
            S Offline
            suninwater
            wrote on last edited by
            #5

            Thanks any way. :-)

            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