Giter Site home page Giter Site logo

Broken in Node 4.x about csound-api HOT 7 CLOSED

nwhetsell avatar nwhetsell commented on June 18, 2024
Broken in Node 4.x

from csound-api.

Comments (7)

nwhetsell avatar nwhetsell commented on June 18, 2024

It looks like either Boost is missing, or node-gyp can’t find the Boost headers on your machine. If you’re on OS X, try installing Homebrew (http://brew.sh), and then install Boost by running brew install boost in a Terminal. If you already have Boost installed, you might have to patch the first line of src/csound-api.cpp (#include <boost/lockfree/queue.hpp>) to refer to where lockfree/queue.hpp is located on your machine.

from csound-api.

martinheidegger avatar martinheidegger commented on June 18, 2024

Oh - totally my oversight - sorry for disturbance.

from csound-api.

stephaneboussuge avatar stephaneboussuge commented on June 18, 2024

i have the same problem but don' t know how to patch the first line of src/csound-api.cpp because i don't found it.I try to follow the explanation here: https://atom.io/packages/language-csound
for installing the necessary package, all is ok but i can't install csound-api because this error of path... i'm not programer but want to use this atom stuff for my csound work. thanks. S.

from csound-api.

nwhetsell avatar nwhetsell commented on June 18, 2024

Keep in mind that the language-csound Atom package doesn’t require csound-api. You only need csound-api if you want to change how that Atom package’s list of opcode completions is generated, but changing how that list is generated requires programming. Assuming you’re installing Atom packages in the standard location, the list of opcode completions should already be in

~/.atom/packages/language-csound/resources/opcode-completions.json

If you really want to change how the list of opcode completions is generated, the issue with installing csound-api is most likely that Boost isn’t installed on your computer. The easiest way to install Boost is probably through Homebrew. To install Homebrew, follow the instructions at http://brew.sh. Then, to install Boost, run brew install boost in a Terminal. After that, try reinstalling csound-api.

Incidentally, csound-api.cpp should be in

~/.atom/packages/language-csound/node_modules/csound-api/src

from csound-api.

stephaneboussuge avatar stephaneboussuge commented on June 18, 2024

Thanks for your reply. boost is already instakked on my Computer. But i don't need to change how the list of opcodes is generated. i just want to use atom for Csound cud editing. but actually, when i launch atom and open a .csd file, i have an error message : Failed to load the language-csound package
Cannot find module 'first-mate'

don't know what is it. primarily, i supposed it was from my incapacity to install sound-api but, as i understand , it 's not that case. i don't know what to do for correct this issue.
S.

from csound-api.

nwhetsell avatar nwhetsell commented on June 18, 2024

No problem. Since this looks like an issue with language-csound and not csound-api, can you open a a new issue at https://github.com/nwhetsell/language-csound/issues? Mention which version of Atom you’re using (look in the Atom menu) and how you’re installing language-csound (I’m guessing you’re installing packages the usual way from within Atom but I want to make sure). In the meantime, I’ll try to reproduce this on my computer.

from csound-api.

stephaneboussuge avatar stephaneboussuge commented on June 18, 2024

Sorry, i have tried to install from command line. Now, i have uninstalled it and re-installed with the correct way for installing package and it works now. thank you for your help and sorry for the disturb .
SB.

from csound-api.

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.