cosbi's People
cosbi's Issues
Make error
Hello,
I'm trying to compile CoSBI in a ubuntu 18.04 system.
So when I type "make" in the CoSBI directory, I have these errors :
g++ -c -o cocluster+.o cocluster+.cpp
In file included from cocluster+.cpp:19:0:
input_new.h: In member function ‘void TabInput::getLine()’:
input_new.h:335:15: error: ‘strlen’ was not declared in this scope
len = strlen( buf );
^~~~~~
input_new.h:335:15: note: suggested alternative: ‘mbrlen’
len = strlen( buf );
^~~~~~
mbrlen
input_new.h: In constructor ‘Clustering::Clustering(char*, int)’:
input_new.h:995:9: error: ‘strcpy’ was not declared in this scope
strcpy (file,name);
^~~~~~
input_new.h:995:9: note: suggested alternative: ‘strtoq’
strcpy (file,name);
^~~~~~
strtoq
input_new.h: In constructor ‘Input::Input(char*, Array3D&)’:
input_new.h:1074:9: error: ‘strcpy’ was not declared in this scope
strcpy( file, name );
^~~~~~
input_new.h:1074:9: note: suggested alternative: ‘strtoq’
strcpy( file, name );
^~~~~~
strtoq
input_new.h: In member function ‘void Input::readTabFile()’:
input_new.h:1106:13: error: ‘strcpy’ was not declared in this scope
strcpy(pArray3d->tName[i].str, p);
^~~~~~
input_new.h:1106:13: note: suggested alternative: ‘strtoq’
strcpy(pArray3d->tName[i].str, p);
^~~~~~
strtoq
cocluster+.cpp: In function ‘int main(int, char**)’:
cocluster+.cpp:322:16: error: ‘strcpy’ was not declared in this scope
case 'f': strcpy( filename, argv[i]+2 ); break;
^~~~~~
cocluster+.cpp:322:16: note: suggested alternative: ‘strtoq’
case 'f': strcpy( filename, argv[i]+2 ); break;
^~~~~~
strtoq
cocluster+.cpp:462:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
char* str = "BiCluster_new";
^~~~~~~~~~~~~~~
<builtin>: recipe for target 'cocluster+.o' failed
make: *** [cocluster+.o] Error 1
I don't know the C++, so can I replace some errors by suggested alternative ? Or Have yu any idea of potential missing dependency in my system which generate such errors?
THanks
Julie
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.