compiling erros... fun...
|
|||
|
Rank: ? (7)
Member #: 29355 |
here goes... got these while compiling the half life 2 SDK... I am compiling with the microsoft 2003 toolkit, using Code::Blocks and i have installed the MS platform SDK...
Code:
|
||
|
|||
|
|||
|
Rank: ? (767)
Member #: 11085 |
It is quite hard to tell what your problem is with such limited information, but my guess would be that the compiler is looking for the object files generated in your root folder (C:\) rather than wherever they are outputted.
- relpats_eht
|
||
|
|||
|
|||
|
Rank: ? (7)
Member #: 29355 |
what else do you need to know?
|
||
|
|||
|
|||
|
Rank: ? (767)
Member #: 11085 |
Your current settings for many things of which my knowledge of Code::Blocks is a bit too limited to list.
However, I suggest you check your linker settings to see if it is reading from the directory the objects are being outputted. Unless you are telling objects to be written in the root folder of your C drive, or you are coding in the root folder of your C drive for some nonsensical reason, that it is most likely your problem. [edit] Upon actually reading your post, it appears you are not actually using Microsofts compiler as you think, but the MinGW compiler. This may be the root of your problem, so I would check this first. » Post edited 2006-12-10, 06:07am by relpats_eht.
- relpats_eht
|
||
|
|||
|
|||
|
Rank: ? (7)
Member #: 29355 |
hmm... when i used the MS rootkil 2003 it gave me an error stating mingw32-make.exe was missing... so i did the noob thing and downloaded the first thing with it... i will try adding the output folder to the linker settings... is the compiler options or the release options? Also on occation, after playing with things, i get a 'the input line is too long' error...
» Post edited 2006-12-10, 07:35am by shaunisradd.
|
||
|
|||
|
|||
|
Rank: ? (767)
Member #: 11085 |
I don't know where any of the settings can be found, but I do know that if you get an error about mingw32-make, then your IDE is most definitely not set up to use a Microsoft Compiler.
- relpats_eht
|
||
|
|||
|
|||
|
Rank: ? (7)
Member #: 29355 |
well... now i fixed those error ans now it cant find window.h... i thought tht came with the MS platform SDK
|
||
|
|||
|
|||
|
Rank: ? (767)
Member #: 11085 |
It probably does, and should if it doesn't. It should be in the top level of your include folder. Oh yes, and the name is "windows.h" (note the "s" at the end), just in case a misspelling was the problem.
- relpats_eht
|
||
|
|||
|
|||
|
Rank: ? (7)
Member #: 29355 |
Code:
current error... |
||
|
|||
|
|||
|
Rank: ? (767)
Member #: 11085 |
Are you using MinGW, or a Microsoft compiler? If you are attempting to use a Microsoft compiler, then I have already done all I can short of installing Code::Blocks, Windows (I know Code::Blocks is cross platform, but your compiler of choice isn't), and the MS Platform SDK and giving you instructions on how to set it up properly. Basically, all I can say is that as long as the word "MinGW" appears anywhere in the compiler name or output your settings are wrong and that you should probably ask in the Code::Blocks forum how to set the IDE up properly with your compiler.
- relpats_eht
|
||
|
|||
|
|||
|
Rank: ? (7)
Member #: 29355 |
im just buying MS .NET studio 2k5... ill try it on there... thn anyways... =]
|
||
|
|||
|
|||
|
Rank: ? (767)
Member #: 11085 |
Or, if you don't wish to purchase anything, you could use the MinGW compiler. I know how to set that up with Code::Blocks.
- relpats_eht
|
||
|
|||
|
|||
|
Rank: ? (7)
Member #: 29355 |
how?
|
||
|
|||
|
|||
|
Rank: ? (767)
Member #: 11085 |
Starting afresh, you simply download and install MinGW, then install Code::Blocks. I am pretty sure the installer I linked inserts the proper path variables, so that should be about all there is to do.
- relpats_eht
|
||
|
Please login or register to post a reply.