MAC 0s Vrui-4.6-005 error 71

Home Forums AR Sandbox Forum MAC 0s Vrui-4.6-005 error 71

This topic contains 1 reply, has 2 voices, and was last updated by  Oliver Kreylos 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #118273

    tturv5
    Participant

    Hi,
    I’m just wondering if you may be able to assist. I have had no issues up until “make” for Vrui 4.6-005. The command runs however I get the following warnings and errors:
    USB/Context.cpp:117:2: warning: ‘libusb_set_debug’ is deprecated
    [-Wdeprecated-declarations]
    libusb_set_debug(context,newDebugLevel);
    ^

    Compiling IO/CSVSource.cpp…
    IO/CSVSource.cpp:507:33: warning: explicit instantiation of
    ‘readField<std::__1::basic_string<char> >’ that occurs after an explicit
    specialization has no effect [-Winstantiation-after-specialization]
    template std::string CSVSource::readField<std::string>(void);
    ^
    IO/CSVSource.cpp:424:24: note: previous template specialization is here
    std::string CSVSource::readField(void)
    ^

    IO/SeekableFilter.cpp:116:25: error: no matching function for call to
    ‘operator new’
    BufferHeader* newTail=new(newBuffer) BufferHeader;
    ^ ~~~~~~~~~~~
    note: candidate function not viable: requires 1 argument, but 2 were provided
    IO/SeekableFilter.cpp:139:7: error: no matching function for call to
    ‘operator new’
    tail=new(newBuffer) BufferHeader;

    #118276

    Oliver Kreylos
    Keymaster

    It looks like OS X has a new C++ compiler. The first is just an FYI from the USB library; ignore that. The second is something I’m going to look into. The third is a problem. “Placement new” appears to be missing, and that’s an issue with no easy work-around. I will need to check if that is a change to the C++ standard, or an OS X quirk.

    In general, you won’t have a good time trying to run the AR Sandbox on OS X, anyway, due to problems like these.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Comments are closed.