Thread: Dev Wierdness

  1. #1

    Dev Wierdness

    In dev, like i have asked about before, i had a game where the linker copmplained about every call to anyhting outside of the game. All i had to do to fix it was copy the code to a new .dev project. Has anyone else had this problem? Well, i just thought i would let everyone know just in case someone does.

    ~Inquirer
    Compilers:
    GCC on Red Hat 8.1 (Primary)
    GCC on Mac OS X 10.2.4 (Secondary)

    Others:
    MinGW on XP

  2. #2
    Registered User
    Join Date
    Dec 2001
    Posts
    479
    i've had that problem, yes

    how bout the 1 when compliling 1 time-error
    second time-everything's fine?

  3. #3
    yeah, ive had that
    i think the linker is screwy, it always seems to revolve around the linker.
    Compilers:
    GCC on Red Hat 8.1 (Primary)
    GCC on Mac OS X 10.2.4 (Secondary)

    Others:
    MinGW on XP

  4. #4
    yes. One time I had a tile demo that all of a sudden would come up with illegal call errors when I ran it. So I tried to make a new project and put the source files into it, still didn't work. So I copied and pasted everything into some new files, and it suddenly started to work.

  5. #5
    Unregistered
    Guest
    Looks nice! Altough its pretty easy
    How about some explosions?
    MMmm i remember my memory-eating 10MB explosions

  6. #6
    Unregistered
    Guest
    Oops, sry, wrong topic.

  7. #7
    Rambling Man
    Join Date
    Jan 2002
    Posts
    1,050
    yes, anytime you start a non-console (aka an app using an api) with dev you have to repeatedly create a new project. simply create the new project over the old project, then copy and paste your .cpp files (or other files) onto the new files. Just as FF said.

  8. #8
    Registered User
    Join Date
    May 2002
    Posts
    208

    IMO

    I never use projects in Dev because sumthing always ends up screwy I just make each file seperate. Then again I am not as a hardcore programmer as some in here. I have just started like a mounth ago
    Jeff Paddon
    Undergraduate Research Assistant
    Physics Department
    St. Francis Xavier University

  9. #9
    Rambling Man
    Join Date
    Jan 2002
    Posts
    1,050
    I never use projects in Dev because sumthing always ends up screwy I just make each file seperate. Then again I am not as a hardcore programmer as some in here. I have just started like a mounth ago
    Well, when using Allegro (and I'm assuming any other API) you have to create a project. When having a console based app you don't really need to create a project, typically.

  10. #10
    it's not like it messes up very often. I've only encountered this once in the whole year I've been using Dev-C++.

  11. #11
    Rambling Man
    Join Date
    Jan 2002
    Posts
    1,050
    it's not like it messes up very often. I've only encountered this once in the whole year I've been using Dev-C++.
    Well, it does it for me every single time, and I've heard from others that it consistently does it to them, too. Possibly because I still use 4

  12. #12
    I want to get five, but every time i try, i on;y get the exe, which does not some with all the necessary files. I am too lazy to download it until they release a new full version i guess.
    Compilers:
    GCC on Red Hat 8.1 (Primary)
    GCC on Mac OS X 10.2.4 (Secondary)

    Others:
    MinGW on XP

  13. #13
    You can get the full version of the newest version (with the compiler and crap) you can get it add the Dev-C++ resource page. I forget the URL, but you can find it on bloodshed's site somewhere. I use 4.9.5.0.

  14. #14
    thanks ff

  15. #15
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Yeah dev has some bugs. But here's a tip: when you go to open a project, enter via the .dev file, not the .cpp file. Otherwise the program sometimes freezes.
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Whats better, C-Free or Dev C++??
    By i_can_do_this in forum Tech Board
    Replies: 10
    Last Post: 07-07-2006, 04:34 AM
  2. New to Dev C++/<windows.h>...
    By Cilius in forum C++ Programming
    Replies: 3
    Last Post: 02-23-2005, 01:05 AM
  3. Glut and Dev C++, Programs not Quitting?
    By Zeusbwr in forum Game Programming
    Replies: 13
    Last Post: 11-29-2004, 08:43 PM
  4. DEV C++ Limitations?
    By Kirdra in forum Game Programming
    Replies: 3
    Last Post: 09-09-2002, 09:40 PM
  5. Tutorial about Bloodshed Dev!
    By Unregistered in forum C++ Programming
    Replies: 2
    Last Post: 11-13-2001, 07:42 PM