Thread: help about dev-c++ compiler [linker error]

  1. #1
    Registered User
    Join Date
    Mar 2011
    Posts
    2

    Post help about dev-c++ compiler [linker error]

    Hi every one,
    i have been facing this linking errors in dev-c++ 4.9
    Code:
     [Linker error] undefined reference to `CreateStreamOnHGlobal@12' 
                   [Linker error] undefined reference to `IID_IPicture' 
                   ld returned 1 exit status 
     C:\Users\MR\Desktop\bank\theBank\Makefile.win [Build Error]  [theBank.exe] Error 1
    and this is the libraries that im already linking it to the compiler
    Code:
     -L"C:/Dev-Cpp/lib"
    -L"C:/Dev-Cpp/include"
    -lbgi -lgdi32
    -loleaut32 
    -lopengl32
    -lglu32
    -lglut32
    -lwinmm
    -lComdlg32
    thanks for reading

  2. #2
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    you already asked this question. you should continue to use your other thread for updates and new related questions.

    mods, please close this thread.

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    Their other thread was closed for being a crap thread - this one is somewhat better.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  4. #4
    Registered User
    Join Date
    Sep 2010
    Posts
    69
    Quote Originally Posted by sarisultan View Post
    Hi every one,
    i have been facing this linking errors in dev-c++ 4.9
    Code:
     [Linker error] undefined reference to `CreateStreamOnHGlobal@12' 
                   [Linker error] undefined reference to `IID_IPicture' 
                   ld returned 1 exit status 
     C:\Users\MR\Desktop\bank\theBank\Makefile.win [Build Error]  [theBank.exe] Error 1
    thanks for reading
    Unless you are using Dev-C++ in Win-XP, you are beating a dead horse.
    Dev-C++ 4.9.9.2 is nearly six (6) years old and without updates or bug fixes during that time.
    In 2005, the developer abandoned further work on the Bloodshed project.
    In 2005, Dev-C++ worked (with caveats (known bugs and issues)) on XP and prior.
    Dev-C++ has known installation and linker problems with Vista and may not work on Win-7 at all, (to my knowledge).
    Considerable discussion has taken place at the Dev-C++ forum regarding the problems.
    Today, very few people use Dev-C++ for these reasons.

    A better choice for a C++ compiler would be MinGW with Code::Blocks.
    Last edited by Steve A.; 03-22-2011 at 11:20 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiler dependencies. What are they?
    By shrink_tubing in forum C++ Programming
    Replies: 5
    Last Post: 01-09-2010, 10:57 PM
  2. Regarding Installing Dev C++ compiler
    By shwetha_siddu in forum C Programming
    Replies: 1
    Last Post: 10-11-2009, 05:59 AM
  3. dev c compiler problem
    By manu01 in forum C++ Programming
    Replies: 1
    Last Post: 09-25-2009, 10:12 PM
  4. Dev C++ Compiler, Indentation?
    By Zeusbwr in forum C++ Programming
    Replies: 3
    Last Post: 10-21-2004, 06:13 AM
  5. Dev C++ compiler question
    By exluddite in forum C++ Programming
    Replies: 1
    Last Post: 10-16-2004, 09:31 PM