Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

 

 

(C++) Error processing module JConsts.pas

 

Link error.

 

IDE: C++ Builder 6.0

Project type: VCL

 

 

 

 

 

Full error messages

 

[Linker Error] Error processing module JConsts.pas

 

 

 

 

 

Cause

 

Not sure, but I did both two things below:

 

Added the following line to support JPEGs, to only one of the implementation files (.cpp) that will need it:

 

#include <jpeg.hpp>

 

Or made a too difficult std::string concatenation

 

std::vector<std::string> v;
v.push_back(" " + m_question->m_filename + " ");

 

 

 

 

 

Solution

 

Not sure which one of the two hypothesized solutions is the real one. I just did both.

 

I added the following line to the other implementation files (.cpp) that will need it:

 

#include <jpeg.hpp>

 

I also broke apart the std::string concatenation

 

std::vector<std::string> v;
const std::string filename = " " + m_question->m_filename + " ";
v.push_back(filename);

 

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict