Giter VIP home page Giter VIP logo

Comments (5)

mozack avatar mozack commented on August 18, 2024

VDJer relies upon Google's sparsehash may have issues on Mac. If you're open to experimenting, you could try replacing the sparsehash currently used in VDJer with Google's latest version: https://github.com/sparsehash/sparsehash/

I'll try to find a Mac on which to test here, but cannot promise a quick turnaround.

from vdjer.

afonsoguerra avatar afonsoguerra commented on August 18, 2024

Thanks, I'll try to install the GitHub version of sparsehash. If you think it is because of the Mac, I will also switch to Linux and have a go.

from vdjer.

mozack avatar mozack commented on August 18, 2024

If you have access to a Linux machine, I'd recommend going that route. All of our runs have been on Linux.

from vdjer.

afonsoguerra avatar afonsoguerra commented on August 18, 2024

I've followed your advice and updated the sparsehash. A new error now appeared:

src/main/c/vj_filter.c:312:2: error: use of undeclared identifier 'pthread_mutex_init'
pthread_mutex_init(&vjf_mutex, NULL);
^

On a more positive note, it indeed compiled without issue on a linux machine, so I'll use that for the time being.

from vdjer.

ionox0 avatar ionox0 commented on August 18, 2024

Fyi I got this same issue when running the 0.92-SNAPSHOT-with-dependencies jar

src/main/c/sparsehash/sparse_hash_map:94:10: fatal error: 'tr1/functional' file not found

I first installed the g++ compiler for mac (Sierra) through macports:

https://www.macports.org/install.php

Then ran the make file after changing this:

native: mktargetdir
	g++ -g -I$(SRCDIR) -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux -shared -fPIC $(SRCDIR)/assembler.c -o target/libAbra.so

To this:

native: mktargetdir
	/opt/local/bin/g++-mp-4.7 -g -I$(SRCDIR) -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux -shared -fPIC $(SRCDIR)/assembler.c -o target/libAbra.so

from vdjer.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.