Menu

Compiling resource files...

Alex Roman
2003-06-21
2012-09-26
  • Alex Roman

    Alex Roman - 2003-06-21

    Hello,

    I imported a VC++ project into DEV-C++ (actually I recreated the whole project). I have a resource file, which I updated to compile with windres.exe. However, at linking stage, I get weird errors:

    121: 1033: duplicate value
    102: 1033: duplicate value
    101: 4105: duplicate value
    103: 4105: duplicate value

    and so on....

    Here is part of my compile log:

    Compiler: Default compiler
    Building Makefile: "D:\Projects\DEV-C++\the Interphacer\Makefile.win"
    Executing  make...
    make.exe -f "D:\Projects\DEV-C++\the Interphacer\Makefile.win" all
    D:\Projects\DEV-C++\the Interphacer\Makefile.win:32: warning: overriding commands for target `"the'
    D:\Projects\DEV-C++\the Interphacer\Makefile.win:26: warning: ignoring old commands for target `"the'

    make.exe: Circular "the <- "the dependency dropped.

    g++.exe -c "the Interphacer.cpp" -o "the Interphacer.o" -I"C:/Dev-Cpp/include/c++"  -I"C:/Dev-Cpp/include/c++/mingw32"  -I"C:/Dev-Cpp/include/c++/backward"  -I"C:/Dev-Cpp/include"  -I"C:/Dev-Cpp/include" 

    windres.exe -i the_Interphacer_private.rc -I rc -o the_Interphacer_private.res -O coff

    windres.exe: warning: 2: 121: 1033: duplicate value
    windres.exe: warning: 4: 102: 1033: duplicate value
    windres.exe: warning: 5: 101: 4105: duplicate value
    windres.exe: warning: 5: 103: 4105: duplicate value
    windres.exe: warning: 14: 110: 1033: duplicate value
    windres.exe: warning: 14: 122: 1033: duplicate value

    windres.exe: warning: 2: 121: 1033: duplicate value

    Now, I can't understand what is wrong with my resources and why DEV-C++ adds another resource file: the_Interphacer_private.rc...
    My resource file is called resource.rc.

    How can I correct this problem?

    Thank you very much,
    Alex.

     
    • Alex Roman

      Alex Roman - 2003-06-21

      Hmm... never mind...

      Actually, solving this problem seems a little stupid, but... here's how it works...

      I went to project options and removed version information. Then, it complained about my resource.rc res. file. I went back and added the version information and.. bingo. It compiled!

       

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.