Thread
:
Compiling on Qt: qatomic_i386.h:132: error: impossible constraint in 'asm'
View Single Post
Joorin
2010-06-02 , 05:36
Posts: 726 | Thanked: 345 times | Joined on Apr 2010 @ Sweden
#
8
This error, typically, is caused by the inclusion of header files for some other platform than the intended one. When the cross compiler then tries to compile this, it fails since the inline assembler is for another architecture.
The solution, in my case, was to make sure that the include directory that was used pointed at the architecture specific location. If you are using a general packet like Qt, you also need to check if you're missing some #define that will activate inline assembler for your architecture.
Quote & Reply
|
Joorin
View Public Profile
Send a private message to Joorin
Find all posts by Joorin