So I recompiled a perfectly fine and working project and suddenly all I get is this linker error:
[ilink32 Error] Fatal: Unable to open file 'DATA.BIND.OBJECTSCOPE.OBJ'
The project is a C++ console application with VCL enabled and I have no idea where the DATA.BIND.OBJECTSCOPE.OBJ comes from.
These are the headers I'm using.
#include <windows.h>
#include <tchar.h>
#include <stdio.h>
#include <vector>
#include <vcl.h>
#include <System.hpp>
#include <System.IOUtils.hpp>
#include <System.Zip.hpp>
#include <System.Classes.hpp>
#include <System.IniFiles.hpp>
I tried to do a complete disc clean, removing all temp files etc... No change... This project was compiling fine yesterday.
I'll add this here if someone else stumbles upon this highly frustrating issue.
I had this exact problem. It occurred when I included REST.Client.hpp in an Embarcadero RAD Studio project which uses C++ Builder. After some wasted hours I ended up dropping the REST Client component onto a GUI designer form. Boom. Works. It was this site that lead me onto the right track.
It says that #pragma link entries are included in source files automatically when you put a component onto a form.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With