[RQt-devel] Problems building smoke generator on OSX 64-bit

Justin Talbot justintalbot at gmail.com
Thu Nov 19 03:52:01 CET 2009


Great, that worked. The diff is attached. I won't check it in since
many of the changes will probably come through in the next upstream
update to the generator.

Justin

On Wed, Nov 18, 2009 at 1:13 PM, Michael Lawrence <lawremi at gmail.com> wrote:
>
>
> On Wed, Nov 18, 2009 at 12:19 PM, Justin Talbot <justintalbot at gmail.com>
> wrote:
>>
>> I was able to get through some of the build issues by following the
>> instructions here:
>> http://lists.kde.org/?l=kde-bindings&m=125542810609973&w=2. In the
>> follow up discussion Arno said that he would add the changes to the
>> kde-bindings repository, but I don't see them yet. Perhaps they'll
>> come through soon.
>>
>> In addition I get problems on 64-bit OSX due to the fact that the
>> smoke generator does not account for compiler macro definitions. The
>> QT headers use the compiler-defined __LP64__ macro to conditionally
>> compile 32-bit vs. 64-bit functions for the Mac. When smoke parses the
>> files it doesn't account for this definition so it generates code
>> stubs for the 32-bit functions which don't exist in my build and I get
>> linker errors.
>>
>> Is there a good way to tell the smoke parser to define additional
>> macros? Perhaps in its configuration file?
>>
>
> I think this might be the qtdefines file, which is autogenerated by
> QtGuess.txt (which is included into the CMakeLists.txt).
>
>
>>
>> Justin
>> _______________________________________________
>> Qtinterfaces-devel mailing list
>> Qtinterfaces-devel at lists.r-forge.r-project.org
>>
>> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/qtinterfaces-devel
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: generator-mac-fixes.diff
Type: application/octet-stream
Size: 3851 bytes
Desc: not available
Url : http://lists.r-forge.r-project.org/pipermail/qtinterfaces-devel/attachments/20091118/fd10b299/attachment.obj 


More information about the Qtinterfaces-devel mailing list