User forums > Help
mingw linked files removal
BlueHazzard:
--- Quote from: pixelpuffin on November 18, 2013, 12:12:42 am ---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
--- End quote ---
You have to be a bit more specific... You want compile a file, but not link it? If you want to exclude a file from the build process you can do this on several ways:
1) Right click on the file in the Project Tab -> Build -> Compile File /link file
2) Project -> Properties -> Build Targets -> Build Target Files
greetings
Jenna:
And still the build log is missing !!
pixelpuffin:
the file d3dx9.h is not supposed to be linked but it is which is directing it to the wrong place
i looked in linker settings and there were no files and i looked in build targets and the only target file is main.cpp
i posted all that was in the build log in the first post in code tags
when i compile i get an error reading "fatal error: d3dx9.h: No such file directory"
thats all there is to it
stahta01:
--- Quote from: pixelpuffin on November 18, 2013, 07:53:33 pm ---the file d3dx9.h is not supposed to be linked but it is which is directing it to the wrong place
i looked in linker settings and there were no files and i looked in build targets and the only target file is main.cpp
i posted all that was in the build log in the first post in code tags
when i compile i get an error reading "fatal error: d3dx9.h: No such file directory"
thats all there is to it
--- End quote ---
You do NOT know the difference between linking and compiling.
Please post the full re-build log; or I will think you are an not worth helping.
This means do a rebuild and post the full log. Note: If that is the full log then it is NOT both compiling and linking.
FYI: Your error is a Compiler error; please go somewhere and learn how to program.
If you are going to ignore all the advice please leave this website and never return!
Tim S.
pixelpuffin:
im not ignoring the advice i tried all recommend options more than twice each
im a bit new to programming but i am absolutely certain that the problem is resolved when d3dx9.h is removed from linker settings because hundreds of other people have had this problem too where the directx sdk wizard links files for them incorrectly
that is the entire build log and i assume the reason it does link and compile is because it found an error although that isnt of improtance to me
what i need to know is how to change the linker settings from outside the application because ive tried changing them from in the apllication and that doesnt work
and i need to know in the next hour and a half if possible
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version