User forums > Help
mingw linked files removal
pixelpuffin:
i tried to compile the sample code here http://www.directxtutorial.com/Lesson.aspx?lessonid=9-4-4
near the bottom of the page main.cpp
i get back one error "fatal error: d3dx9.h: No such file directory"
after searching for about five minutes i found that the linker has an extra thing that is causing it to look in the wrong place and that i just need to go into linker settings and remove it
so i tried that to find that there is nothing in my linker settings
thus my question is how can i remove the extra link without going into settings -> compiler -> linker settings
side note
i also tried project -> build options -> filename -> build/debug -> linker settings
build log
--- Code: ---mingw32-g++.exe -Wall -fexceptions -g -c C:\Users\Username\Desktop\useless\testingstuffs\main.cpp -o obj\Debug\main.o
C:\Users\Username\Desktop\useless\testingstuffs\main.cpp:4:19: fatal error: d3dx9.h: No such file or directory
compilation terminated.
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings (0 minutes, 0 seconds)
--- End code ---
stahta01:
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F
Post a full re-build log or I will ignore you!
Please use code tags for the build log.
Tim S.
pixelpuffin:
is there a file somewhere that has the linker information in a format that i could modify?
BlueHazzard:
You can modify the compiler/linker settings in Project->build options.
In your case you have to add the path to the d3...h file to the compiler search directories
greetings
pixelpuffin:
i already stated that i need to remove a file from the linker which i tried but it shows no files to be removed when i go under project -> build options -> linker settings or settings -> compiler -> linker settings
Navigation
[0] Message Index
[#] Next page
Go to full version