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: 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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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!