User forums > Using Code::Blocks

I cant compile resources on codeblocks

(1/2) > >>

bobsadino:
Execution of 'windres.exe   -J rc -O res -i resource.rc -o obj\Debug\resource.res' failed

I have checked Toolchain executable, resource files, etc

Anyone know the solution or work around like how i can get windres log so i can know how to fix this stupid shit

im using windows 7
 
Codeblocks 16.01

stahta01:
What compiler? Name, version, and what site built it?

Tim S.

bobsadino:
Microsoft Visual Studio 2010

stahta01:
Post a build log!
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F

Why are you using GCC command to compile resource files?
Instead of using "rc.exe" command as I am guessing is normal?

Tim S.

bobsadino:
Because Microsoft Visual studio 2010 Compiler is bad
https://msdn.microsoft.com/en-us/library/7dz62kfh.aspx

see https://stackoverflow.com/questions/12267158/failure-during-conversion-to-coff-file-invalid-or-corrupt


i dont know, i try to add flag on linker /incremental:NO but still it doesnt work

i will get update tomorrow but i can't wait to see my app working today

Navigation

[0] Message Index

[#] Next page

Go to full version