User forums > Help
fatal error LNK1104: cannot open file 'game.def'
sodev:
--- Quote from: THE_SUFFERER on January 12, 2020, 07:23:23 pm ---Moreover, I was doing everything due to the instruction - https://kingpin.info/?p=compiling-with-codeblocks
--- End quote ---
No you didn't. The author of that "guide" doesn't seem to know what he is really doing and therefor offers some random try-and-error advices how to fix things because he did them wrong in the first place.
One of these advices is to try different path specifications to that def file. That seems to be the problem in your case, that file is not in the working directory of the compiler which should be the directory of the CodeBlocks project file. Determine the relative path to the def file starting at the directory of the project file and add that to the compiler settings, then it will be found.
stahta01:
Please paste a full text build log if you still want help.
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F
Tim S.
THE_SUFFERER:
--- Quote from: sodev on January 12, 2020, 09:25:24 pm ---
--- Quote from: THE_SUFFERER on January 12, 2020, 07:23:23 pm ---Moreover, I was doing everything due to the instruction - https://kingpin.info/?p=compiling-with-codeblocks
--- End quote ---
No you didn't. The author of that "guide" doesn't seem to know what he is really doing and therefor offers some random try-and-error advices how to fix things because he did them wrong in the first place.
One of these advices is to try different path specifications to that def file. That seems to be the problem in your case, that file is not in the working directory of the compiler which should be the directory of the CodeBlocks project file. Determine the relative path to the def file starting at the directory of the project file and add that to the compiler settings, then it will be found.
--- End quote ---
I mentioned this "game.def" file EVERYWHERE ;D I could (attaching screens) but still it it's not found.
Plus I put the ToolKit 2003 folder into the CodeBlock directory.
Well, kind of some mystery.... :o
THE_SUFFERER:
--- Quote from: sodev on January 12, 2020, 09:25:24 pm ---
--- Quote from: THE_SUFFERER on January 12, 2020, 07:23:23 pm ---Moreover, I was doing everything due to the instruction - https://kingpin.info/?p=compiling-with-codeblocks
--- End quote ---
No you didn't. The author of that "guide" doesn't seem to know what he is really doing and therefor offers some random try-and-error advices how to fix things because he did them wrong in the first place.
One of these advices is to try different path specifications to that def file. That seems to be the problem in your case, that file is not in the working directory of the compiler which should be the directory of the CodeBlocks project file. Determine the relative path to the def file starting at the directory of the project file and add that to the compiler settings, then it will be found.
--- End quote ---
THE_SUFFERER:
--- Quote from: sodev on January 12, 2020, 09:25:24 pm ---
--- Quote from: THE_SUFFERER on January 12, 2020, 07:23:23 pm ---Moreover, I was doing everything due to the instruction - https://kingpin.info/?p=compiling-with-codeblocks
--- End quote ---
No you didn't. The author of that "guide" doesn't seem to know what he is really doing and therefor offers some random try-and-error advices how to fix things because he did them wrong in the first place.
One of these advices is to try different path specifications to that def file. That seems to be the problem in your case, that file is not in the working directory of the compiler which should be the directory of the CodeBlocks project file. Determine the relative path to the def file starting at the directory of the project file and add that to the compiler settings, then it will be found.
--- End quote ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version