i tried to compile the sample code here
http://www.directxtutorial.com/Lesson.aspx?lessonid=9-4-4near 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
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)