Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi. I am a total beginner in both C++ and ReCap SDK.
I want to create the most basic program that imports an XYZ file and creates an RCP file.
I thought that I could use the "Creating from Raw Scans" example in the documentation.
void importCallback(const RCIOStatus& status)
{
wprintf(L"Total Progress: %d%%\n", status.getTotalProgress());
}
void completionCallback(RCCode errCode, const RCBuffer<RCScanImportStatus>&)
{
// do something
}
int main()
{
std::cout << "Starting...:\n";
RCImportFilesSettings importSettings;
const RCString outputRcpFilePath = L"C:\\Test\\";
RCProjectImporter importer(outputRcpFilePath);
RCBuffer<RCString> inputFiles;
inputFiles.append(L"C:\\Test\\cloud.xyz");
importer.importFiles(inputFiles, importSettings, importCallback, completionCallback);
importer.waitTillFinished();
string str;
cin >> str;
}
With this code, I wasn't able to generate anything other than the empty support folder.
Any help would be appreciated. 🙂
Solved! Go to Solution.