Hi all, I'm trying to set up to take a look at Stream and I'm getting the error regarding AMD.obj being missing when I try to compile the simple example from the guide pdf.
I found one thread suggesting that recompiling the libraries could fix this, but that didn't work. I'm running on Windows XP 32 bit using Visual C++ 2005. I have the platform SDK etc installed.
Is anyone able to shed any light on the cause of this issue and possible solutions? It's been a few years since I worked with Visual Studio so I'm not yet sure where to start tracking this down.
Many thanks.
Maybe You should start with compiling a sample projects which are included in a samples directory?
I think that problem is with lack of AMD.cpp file in your project. You should compile brook file (.br) with external compilator (brcc.exe) first and add the output cpp file to the project.
Hi there, I don't think that's the problem in this case. I've got a file brook.br which has successfully compiled into brook.cpp which has been added to the project. brook.cpp also successfully compiles but the linker fails after this with the LNK1181 error.
Micah, thanks - that's good to know.
I seem to have resolved the issue now. Here's how for anyone else with the same issue...
Open up the hello_brook project and make sure it builds. If you get an error saying windows.h wasn't found then either remove all the files in the "source files" folder from the project (they aren't required for this test) or install the Platform SDK.
If hello_brook builds then open its project properties and compare the linker->general and linker->input pages to your own project. Mine were different - I'd tried specifying the path for brook_d.lib on the input page rather than adding the directory to the general->additional library directories page. Once I made these two pages identical to the hello_brook properties my error went away.
Probably a schoolboy error on my part, but I hope that helps anyone who runs into the same issue.
Jonathan.