I have developed a GUI which contains schema fie and multiple .cpp files...
I usually get an error only on second compilation and afterwards..
I know its a problem in header file but how to sort out this....
The error is.......
/Test1.sch:55:multiple definition of `TABLE_INFO_1(Upp::SqlSchema&)'
$blitz.o:/root/upp/MyApps/Test/Test1.sch:3: first defined here
.
.
./Test1.sch:55: multiple definition of `TABLE_R_FACEGRID(Upp::SqlSchema&)'
/$blitz.o:/root/upp/MyApps/Test/Test1.sch:55: first defined here
.
.
.
.
.
.
.
.
This runs multiple lines....
With regards
Mahanthesh
Most likely the problem is that you have put "sch_source" include into the header - it has to be in some .cpp file.
The reason why it produces the error only sometimes is BLITZ - it tends to hide this kind of issues.