Menu

Dev C++ .DEV File giving me trouble

2008-03-09
2012-09-26
  • Leng Marcel

    Leng Marcel - 2008-03-09

    Hi all,

    I am having trouble compiling a proper program with the default DEV file, but I could do so with the one provided via the download.

    This is what I have in my file:
    [Project]
    FileName=NeHeLesson10.dev
    Name=NeHeLesson10
    UnitCount=1
    Type=0
    Ver=1
    ObjFiles=
    Includes=
    Libs=
    PrivateResource=
    ResourceIncludes=
    MakeIncludes=
    Compiler=-DGNUWIN32 -W -DWIN32 -DNDEBUG -D_WINDOWS -D_MBCS
    CppCompiler=
    Linker=-lopengl32 -lglu32 -lglaux -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lodbc32 -lodbccp32
    IsCpp=1
    Icon=
    ExeOutput=
    ObjectOutput=
    OverrideOutput=0
    OverrideOutputName=NeHeLesson10.exe
    HostApplication=
    Folders=
    CommandLine=
    UseCustomMakefile=0
    CustomMakefile=
    IncludeVersionInfo=0
    SupportXPThemes=0
    CompilerSet=0
    CompilerSettings=0000000000000000000000

    [Unit1]
    FileName=NeHeLesson10.cpp
    CompileCpp=1
    Folder=
    Compile=1
    Link=1
    Priority=1000
    OverrideBuildCmd=0
    BuildCmd=

    While this is provided by the download:
    [Project]
    FileName=Lesson10.dev
    Name=Lesson10
    Ver=1
    IsCpp=1
    Type=0
    Compiler=-DGNUWIN32 -W -DWIN32 -DNDEBUG -D_WINDOWS -D_MBCS
    Includes=
    Linker=-lopengl32 -lglu32 -lglaux -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lodbc32 -lodbccp32
    Libs=
    Resources=
    UnitCount=1
    ObjFiles=
    PrivateResource=
    ResourceIncludes=
    MakeIncludes=
    Icon=
    ExeOutput=
    ObjectOutput=
    OverrideOutput=0
    OverrideOutputName=
    Folders=
    CommandLine=
    Order=0
    Focused=0

    [Unit1]
    FileName=lesson10.cpp
    Open=1
    Folder=
    Top=1
    CursorCol=20
    CursorRow=8
    TopLine=1
    LeftChar=1

    [Views]
    ProjectView=1

    My file works under the given DEV file (after renaming it to Lesson10.cpp) but not in the one modified from the default settings for OpenGL+GLAUX. I am pretty sure I have set the Compiler and Linker options to be identical.

    I am working around it by using the given DEV file, but this annoys me since I can't arbitrarily start a new DEV file but have to modify a pre-existing one.

    Thanks.

     
    • cpns

      cpns - 2008-03-09

      I am not sure that posting the .dev file helps. How does it fail? Post the Compile Log. The "PLEASE READ BEFORE POSTING A QUESTION" deals with how to post a question on this forum.

      Also, why are you worrying about the internals of the .dev file in any case? They are generated for you by the IDE you are not supposed to edit them directly!

      >> While this is provided by the download:

      What 'download'? From where?

      Clifford

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.