18.05.2012, 03:54
Quote:
Hey h02, i'm trying to compile your plugin on Linux, but there is an error that I can not solve
I tried using this on natives.cpp pawn Код:
I have also tried this on spectrum.cpp pawn Код:
the only solution I found was to compile define chan2 but do not know if this affects the proper functioning of the plugin pawn Код:
pawn Код:
Binary: http://www.solidfiles.com/d/d74f2f50f0/ Source: http://www.solidfiles.com/d/9d2e7c497a/ |
chan needs to remain a vector, to fix the problem with it revert your current changes to chan and delete spectrum.cpp and spectrum.h from your build directory (left-over files I forgot to remove.) After removing these two files and inserting MulDiv I was able to get a linux version to compile on CentOS, however I don't believe it is being linked properly to BASS. "Failed (plugins/spectrum.so: undefined symbol: BASS_ChannelGetData)"
I'm not entirely sure on the solution to this, sorry I can't be of more help.