Skip to content

fix ninjamcast to compile#10

Open
federicobriata wants to merge 1 commit into
justinfrankel:mainfrom
AudioHackLab:master
Open

fix ninjamcast to compile#10
federicobriata wants to merge 1 commit into
justinfrankel:mainfrom
AudioHackLab:master

Conversation

@federicobriata
Copy link
Copy Markdown

@federicobriata federicobriata commented Apr 11, 2020

Tested on Gnu/Linux Debian 9 and 10, demo here: http://live.audiohacklab.org:8000/ahl

To compile ninjamcast:
cd ninjam/ninjamcast/
make

@pagano
Copy link
Copy Markdown

pagano commented Apr 15, 2020

Federico, I'm trying to compile with VC++ 6 and I'm getting this errors:

LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library
njclient.obj : error LNK2001: unresolved external symbol _fopenUTF8
njclient.obj : error LNK2001: unresolved external symbol _CreateDirectoryUTF8
.\Debug\ninjamcast.exe : fatal error LNK1120: 2 unresolved externals
NMAKE : fatal error U1077: 'link.exe' : return code '0x460'
Stop.

TIA,
Jorge

@federicobriata
Copy link
Copy Markdown
Author

Hi Pagano, problably some ifdef is needed on makefile to make It work on windows. I tested only on Gnu/Linux

@federicobriata
Copy link
Copy Markdown
Author

federicobriata commented Apr 16, 2020

@tubbo
Copy link
Copy Markdown

tubbo commented Apr 24, 2020

I don't know where else to put this, or who needs to hear this, but ninjamcast doesn't work with localhost. you have to use 127.0.0.1...

@nykwil
Copy link
Copy Markdown

nykwil commented Jul 16, 2021

Love to bump this. It's implied that you can compile this from the above comment how did you compile it? There are old branches of ninjamcast but they also can't compile. https://github.com/ayvan/ninjamcast

@federicobriata
Copy link
Copy Markdown
Author

federicobriata commented Jul 17, 2021

Hi,
yes this is not yet merged and from 6 Nov 2020 with this git upstream ninjamcast seems to fail when this patch it's applied due to this commit: d49c71b @justinfrankel can you give a look?

For the moment to compile ninjamcast just take the patch and apply it manually by yourself, then to workaround the compile issue just revert the commit.

git clone https://github.com/justinfrankel/ninjam
cd ninjam
git revert d49c71bc8c6e356bd344f83593181bb8686aec87   #this is a workaround!
wget https://github.com/justinfrankel/ninjam/commit/d42cd6797b8b689dffc1b78a5b7d3459951ca56a.diff
patch -p1 < d42cd6797b8b689dffc1b78a5b7d3459951ca56a.diff

Or if you are lazy clone directly this https://github.com/AudioHackLab/ninjam it's my fork from Mar 27, 2020 with the patch already there so just compile it.
This work well with Debian 9 and 10 and Ubuntu BUT it's not up to date as official ninjam main repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants