运行./build.sh清理所有内容以构建iOS Anywhere应用程序时 - 构建过程因此细节错误而失败:
template <class T>
void sortBDay(vector<T> &birthday, vector<string> &name, vector<T> &birthdate, int startPos, int size) { // This template sorts all data by their birthday
if (startPos < size - 1) { // if the first value is less than the last value
T pivotVal = birthday[startPos]; // the pivot value is the vector's first value
int pivotPos = startPos; // the pivot position is the vector's starting position
for (int pos = startPos + 1; pos <= size; pos++) { // repeat for all values of vector
if (birthday[pos] < pivotVal) { // if the current position is less than the starting position
swap(birthday[pivotPos + 1], birthday[pos]);
swap(birthday[pivotPos], birthday[pivotPos + 1]); // switch the positions
swap(name[pivotPos + 1], name[pos]); // and their names
swap(name[pivotPos], name[pivotPos + 1]);
swap(birthdate[pivotPos + 1], birthdate[pos]); // and their birthdates
swap(birthdate[pivotPos], birthdate[pivotPos + 1]);
pivotPos++; // then go onto the next one
}
sortBDay(birthday, name, birthdate, startPos, size - 1); // do the same for upper and lower pivots
sortBDay(birthday, name, birthdate, startPos, size + 1); // recursion
}
}
}
这是因为在Mac OS中安装Anywhere 7.6期间缺少步骤吗?
感谢您的帮助!
答案 0 :(得分:0)
嗯。该文件应该在&#34; build install-platform&#34;中提取。作为安装过程的一部分,在Mac OS上定位。如果您在此处查看日志,则可能会找出错误的根本原因
http://www-01.ibm.com/support/docview.wss?uid=swg21258203
但是,您应该能够通过运行此命令手动修复环境。
/Users/jess/IBM/Anywhere/MaximoAnywhere/build.sh install-platform all