[x3d-public] Titania in Mac -- Virtualization
Gonzalo Fernandez Ordas
g.fer.ordas at unicyber.co.uk
Tue Mar 7 11:43:56 PST 2017
Guys
Creating a different threat for this:
* Titania WORKS using VirtualBox in Mac (I have done it with Xenial/Ubuntu) and I haven't found a single problem. DISABLE the 3D acceleration otherwise it does not work!!
* Titania also WORKS using Parallels.The same: DISABLE the 3D acceleration otherwise it does not work!!
So, from a virtualization point of view it does work.
I got the following machine: MacBook Pro (Retina, 15-inch, Mid 2014)
Model Name: MacBook Pro Model Identifier: MacBookPro11,3
Processor Name: Intel Core i7 Processor Speed: 2.8 GHz Number
of Processors: 1 Total Number of Cores: 4 L2 Cache (per
Core): 256 KB L3 Cache: 6 MB Memory: 16 GB
many thanks
Gonzalo
On 07/03/2017 19:21, Gonzalo Fernandez Ordas wrote:
> Guys,
>
> First, the good news.
> * Titania WORKS using VirtualBox in Mac (I have done it with
> Xenial/Ubuntu) and I haven't found a single problem
> * Titania does NOT work using Parallels. (that would be related to the
> graphical libraries but as those are proprietary better to use
> VirtualBox instead)(neither good or bad as there is an option there)
>
> Now, the not too good news:
>
> I have invested a few days trying to compile Titania on Mac and I
> cracked part of it BUT I got some compilation issues related with a few
> modules and (maybe Holger? + someone else ) I would need help/tips as I
> am not that experience coding CPP so I haven't seen this error before
> and it for sure compiles in Debian/Ubuntu but it doesn't on Mac and I am
> using similar compilers (from homebrew) + similar
> configurations/environmental variables (it also means all the previous
> parts of the application have successfully compiled.. I just did a
> couple of changes but it does all right))
>
> so:
>
> * libtitania-peaseblossom
>
> ----
> CXX Titania/PeaseBlossom/Objects/Object.lo
> CXX Titania/PeaseBlossom/Objects/pbFunction.lo
> Titania/PeaseBlossom/Objects/pbFunction.cpp: In member function 'void
> titania::pb::pbFunction::addProperties()':
> Titania/PeaseBlossom/Objects/pbFunction.cpp:93:41: error: conversion
> from 'const size_t {aka const long unsigned int}' to 'titania::pb::var'
> is ambiguous
> addOwnProperty ("length", length , NONE);
> ^
> In file included from
> Titania/PeaseBlossom/Objects/../Objects/pbObject.h:60:0,
> from Titania/PeaseBlossom/Objects/pbFunction.h:54,
> from Titania/PeaseBlossom/Objects/pbFunction.cpp:51:
> Titania/PeaseBlossom/Objects/../Objects/../Primitives/var.h:142:2: note:
> candidate: constexpr titania::pb::var::var(double)
> var (const double number) :
> ^
> Titania/PeaseBlossom/Objects/../Objects/../Primitives/var.h:136:2: note:
> candidate: constexpr titania::pb::var::var(uint64_t)
> var (const uint64_t integer) :
> ^
> Titania/PeaseBlossom/Objects/../Objects/../Primitives/var.h:130:2: note:
> candidate: constexpr titania::pb::var::var(int64_t)
> var (const int64_t integer) :
> ^
> Titania/PeaseBlossom/Objects/../Objects/../Primitives/var.h:124:2: note:
> candidate: constexpr titania::pb::var::var(uint32_t)
> var (const uint32_t integer) :
> ^
> Titania/PeaseBlossom/Objects/../Objects/../Primitives/var.h:118:2: note:
> candidate: constexpr titania::pb::var::var(int32_t)
> var (const int32_t integer) :
> ^
> Titania/PeaseBlossom/Objects/../Objects/../Primitives/var.h:110:2: note:
> candidate: constexpr titania::pb::var::var(bool)
> var (const bool boolean) :
> ^
> In file included from Titania/PeaseBlossom/Objects/pbFunction.h:54:0,
> from Titania/PeaseBlossom/Objects/pbFunction.cpp:51:
> Titania/PeaseBlossom/Objects/../Objects/pbObject.h:381:2: note:
> initializing argument 2 of 'virtual void
> titania::pb::pbObject::addOwnProperty(const titania::pb::Identifier&,
> titania::pb::var&&, titania::pb::AttributeType,
> titania::pb::ptr<titania::pb::pbFunction>&&,
> titania::pb::ptr<titania::pb::pbFunction>&&, bool)'
> addOwnProperty (const Identifier & identifier,
> ^
> make: *** [Titania/PeaseBlossom/Objects/pbFunction.lo] Error 1
>
>
> ---
>
> * libtitania-x3d
>
> ---
> Titania/X3D/Browser/Sound/MediaStream.cpp: In member function 'void
> titania::X3D::MediaStream::on_message(const Glib::RefPtr<Gst::Message>&)':
> Titania/X3D/Browser/Sound/MediaStream.cpp:296:22: error:
> 'MessageDuration' is not a member of 'Gst'
> << Glib::RefPtr <Gst::MessageDuration>::cast_static (message) ->
> parse ()
> ^
> Titania/X3D/Browser/Sound/MediaStream.cpp:296:22: error:
> 'MessageDuration' is not a member of 'Gst'
> Titania/X3D/Browser/Sound/MediaStream.cpp:296:42: error: template
> argument 1 is invalid
> << Glib::RefPtr <Gst::MessageDuration>::cast_static (message) ->
> parse ()
> ^
> Titania/X3D/Browser/Sound/MediaStream.cpp:306:74: error: no matching
> function for call to 'Gst::MessageError::parse()'
> << Glib::RefPtr <Gst::MessageError>::cast_static (message) -> parse
> () .what ()
> ^
> In file included from
> /usr/local/Cellar/gstreamermm/1.8.0/include/gstreamermm-1.0/gstreamermm/element.h:33:0,
> from
> /usr/local/Cellar/gstreamermm/1.8.0/include/gstreamermm-1.0/gstreamermm/check.h:13,
> from
> /usr/local/Cellar/gstreamermm/1.8.0/include/gstreamermm-1.0/gstreamermm.h:61,
> from Titania/X3D/Browser/Sound/MediaStream.h:58,
> from Titania/X3D/Browser/Sound/MediaStream.cpp:51:
> /usr/local/Cellar/gstreamermm/1.8.0/include/gstreamermm-1.0/gstreamermm/message.h:688:8:
> note: candidate: void Gst::MessageError::parse(Glib::Error&,
> std::__cxx11::string&) const
> void parse(Glib::Error& error, std::string& debug) const;
> ^
> /usr/local/Cellar/gstreamermm/1.8.0/include/gstreamermm-1.0/gstreamermm/message.h:688:8:
> note: candidate expects 2 arguments, 0 provided
>
> ---
>
> Doing a quick run over the other modules everything seems to company
> rather all right.
>
> Suggestions ?
>
> many thanks
>
> Gonzalo
>
>
>
> _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170307/c29916ab/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ofkpfaijnfeglclh.png
Type: image/png
Size: 159105 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170307/c29916ab/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbpkcedahfkgibnd.png
Type: image/png
Size: 151517 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170307/c29916ab/attachment-0003.png>
More information about the x3d-public
mailing list