คำถามติดแท็ก ubuntu-10.10

8
สิ่งที่ขาดหายไปคือ“ bits / c ++ config.h” เมื่อข้ามการรวบรวมโปรแกรม 64 บิตใน 32 บิตใน Ubuntu
ฉันกำลังใช้งาน Ubuntu 32 บิตรุ่น 10.10 และพยายามคอมไพล์ข้ามไปยังเป้าหมาย 64 บิต จากการวิจัยของฉันฉันได้ติดตั้งแพ็คเกจ g ++ - multilib โปรแกรมนี้เป็นโปรแกรมสวัสดีทั่วโลก: #include <iostream> int main( int argc, char** argv ) { std::cout << "hello world" << std::endl; return 0; } รวบรวม: g++ -m64 main.cpp ข้อผิดพลาด: In file included from main.cpp:1: /usr/include/c++/4.4/iostream:39: fatal error: bits/c++config.h: No such file …
โดยการใช้ไซต์ของเรา หมายความว่าคุณได้อ่านและทำความเข้าใจนโยบายคุกกี้และนโยบายความเป็นส่วนตัวของเราแล้ว
Licensed under cc by-sa 3.0 with attribution required.