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

Michael Lawrence lawremi at gmail.com
Wed Nov 18 22:13:51 CET 2009


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 --------------
An HTML attachment was scrubbed...
URL: http://lists.r-forge.r-project.org/pipermail/qtinterfaces-devel/attachments/20091118/86f19bdb/attachment.htm 


More information about the Qtinterfaces-devel mailing list