COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :
Old 03-11-2022, 05:17 AM   #1
LeeAStone
Human being with feelings
 
Join Date: Mar 2022
Posts: 2
Default Compiling Autosong on linux issues

Hi,
I have attempted to compile autosong within the ninjam github repo. But I keep getting an error.

lee@pop:~/git/ninjam/ninjam/autosong$ make
g++ -O2 -c -o ../../WDL/lameencdec.o ../../WDL/lameencdec.cpp
In file included from ../../WDL/lameencdec.cpp:41:
../../WDL/metadata.h: In function ‘bool HandleMexMetadataRequest(const char*, char*, int, WDL_StringKeyedArray<char*>*)’:
../../WDL/metadata.h:863:7: error: ‘lstrcpyn’ was not declared in this scope; did you mean ‘strcpy’?
863 | lstrcpyn(buf, val, buflen);
| ^~~~~~~~
| strcpy
../../WDL/metadata.h: In function ‘void DumpMetadata(WDL_FastString*, WDL_StringKeyedArray<char*>*)’:
../../WDL/metadata.h:920:9: error: ‘lstrcpyn’ was not declared in this scope; did you mean ‘strcpy’?
920 | lstrcpyn(scheme, "mex", sizeof(scheme));
| ^~~~~~~~
| strcpy
../../WDL/metadata.h:939:9: error: ‘lstrcpyn’ was not declared in this scope; did you mean ‘strcpy’?
939 | lstrcpyn(scheme, key, slen+1);
| ^~~~~~~~
| strcpy
../../WDL/metadata.h: In function ‘int PackID3Chunk(WDL_HeapBuf*, WDL_StringKeyedArray<char*>*, bool)’:
../../WDL/metadata.h:1331:16: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
1331 | fread(p, 1, apic_datalen, fp);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
make: *** [<builtin>: ../../WDL/lameencdec.o] Error 1

Not sure if Autosong is even able to work on linux, I assumed it was but I think the lstrcpyn is a windows thing.
I'm not a programmer so unsure if I have just messed things up or if its not possible at all.
Any ideas?
LeeAStone is offline   Reply With Quote
Old 04-05-2022, 05:19 AM   #2
LeeAStone
Human being with feelings
 
Join Date: Mar 2022
Posts: 2
Default

Well.
I just removed the parts to do with id3 and APE tagging.
It works now.
Pretty nice having an automated jam server now.
LeeAStone is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:36 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.