Closed farazmoradi closed 2 years ago
is there any more information about the error? Did any of the other mex lines run? Do you have a c compiler installed?
Hi Dan, this is the full error:
In compileBuzcode (line 28) Building with 'Xcode with Clang'. MEX completed successfully. Building with 'Xcode with Clang'. Error using mex /Users/farazmoradi/Downloads/buzcode-master/analysis/spikes/correlation/CCGHeart.c:1:16: warning: '/' within block comment [-Wcomment] / CCGEngine.c / ^ /Users/farazmoradi/Downloads/buzcode-master/analysis/spikes/correlation/CCGHeart.c:2:1: warning: '/' within block comment [-Wcomment] / This is a bare-bones C program whos purpose is to compute ^ /Users/farazmoradi/Downloads/buzcode-master/analysis/spikes/correlation/CCGHeart.c:195:3: error: implicitly declaring library function 'memcpy' with type 'void (void , const void , unsigned long)' [-Werror,-Wimplicit-function-declaration] memcpy(mxGetPr(plhs[1]), (void )Pairs, PairCntsizeof(unsigned int)); ^ /Users/farazmoradi/Downloads/buzcode-master/analysis/spikes/correlation/CCGHeart.c:195:3: note: include the header
or explicitly provide a declaration for 'memcpy' 2 warnings and 1 error generated.
Error in compileBuzcode (line 37) mex -O CCGHeart.c
I think I have installed a C compiler
what happens if you run "mex CCGHeart.c" ?
When i open it in matlab there is no Run option on the top to run the code.
On Tue, Jun 1, 2021 at 7:05 PM rhuszar @.***> wrote:
what happens if you run "mex CCGHeart.c" ?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/buzsakilab/buzcode/issues/410#issuecomment-852177196, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO3S4UXAN5LA6YEZQXDA5ZTTQTV2PANCNFSM452TI5IA .
Try typing "mex CCGHeart.c" in the command line
Worst case scenario, you can comment out compiling CCGHeart? This will just prevent you from using any of the CCG-related functions in the repository.
Thanks Dan. I have Commented '' mex -O CCGHeart.c '' in the code and the problem is solved. But by commenting on this line, will I have any issue for running the codes and tutorials in the Lab? Is CCGHear.c something essential?
On Wed, Jun 2, 2021 at 10:04 PM Dan Levenstein @.***> wrote:
Worst case scenario, you can comment out compiling CCGHeart? This will just prevent you from using any of the CCG-related functions in the repository.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/buzsakilab/buzcode/issues/410#issuecomment-853245748, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO3S4UWMQYK4EBXQSGB74JTTQZTRLANCNFSM452TI5IA .
CCGHeart allows generation of cross correlations between the spikes of pairs of neurons (or other phenomena). Do you anticipate using such functionality?
On Thu, Jun 3, 2021 at 2:06 AM farazmoradi @.***> wrote:
Thanks Dan. I have Commented '' mex -O CCGHeart.c '' in the code and the problem is solved. But by commenting on this line, will I have any issue for running the codes and tutorials in the Lab? Is CCGHear.c something essential?
On Wed, Jun 2, 2021 at 10:04 PM Dan Levenstein @.***> wrote:
Worst case scenario, you can comment out compiling CCGHeart? This will just prevent you from using any of the CCG-related functions in the repository.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <https://github.com/buzsakilab/buzcode/issues/410#issuecomment-853245748 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AO3S4UWMQYK4EBXQSGB74JTTQZTRLANCNFSM452TI5IA
.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/buzsakilab/buzcode/issues/410#issuecomment-853592735, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA26WTLHBBHKMCLI7RUBFZLTQ4LVZANCNFSM452TI5IA .
As I am just starting to work on tutorials I don't think I will need this.
On Thu, Jun 3, 2021 at 3:19 PM Brendon Watson @.***> wrote:
CCGHeart allows generation of cross correlations between the spikes of pairs of neurons (or other phenomena). Do you anticipate using such functionality?
On Thu, Jun 3, 2021 at 2:06 AM farazmoradi @.***> wrote:
Thanks Dan. I have Commented '' mex -O CCGHeart.c '' in the code and the problem is solved. But by commenting on this line, will I have any issue for running the codes and tutorials in the Lab? Is CCGHear.c something essential?
On Wed, Jun 2, 2021 at 10:04 PM Dan Levenstein @.***> wrote:
Worst case scenario, you can comment out compiling CCGHeart? This will just prevent you from using any of the CCG-related functions in the repository.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/buzsakilab/buzcode/issues/410#issuecomment-853245748 , or unsubscribe <
https://github.com/notifications/unsubscribe-auth/AO3S4UWMQYK4EBXQSGB74JTTQZTRLANCNFSM452TI5IA
.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <https://github.com/buzsakilab/buzcode/issues/410#issuecomment-853592735 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AA26WTLHBBHKMCLI7RUBFZLTQ4LVZANCNFSM452TI5IA
.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/buzsakilab/buzcode/issues/410#issuecomment-853777199, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO3S4URE7XZK7WY7KIDAUS3TQ5M4LANCNFSM452TI5IA .
Hi, I am running this on MacOs.
Error in compileBuzcode (line 37) mex -O CCGHeart.c