Comments (7)
@Arpit-199 you need to build the fCWT library or include the source files.
Your custom code in cwt.cpp
is not enough.
In your code you include fcwt.h
somewhere at the beginning of the file right?
Then you need to tell the compiler to include this file and also add the implementation in fcwt.cpp
.
You maybe have to adjust the path to the files but something like the following should work:
g++ cwt.cpp src/fcwt/fcwt.cpp -I src/fcwt/
from fcwt.
It's a linker error, not compiler, so you need to add the library with -l
(the addition of headers above won't solve it because it's already compiled). Better than manualy adding flags would be to use CMake to build.
from fcwt.
@Arpit-1996, is your question/issue answered/solved? If yes, than this issue can be closed.
from fcwt.
I run this command in the command terminal and we make CMake files. I do not understand where I save the C++ Example and run this code
If I run C++ code in any folder this error happens.
What should I do?
from fcwt.
@arpitomar you are not telling the compiler where to find fcwt.h
@Arpit-199 you need to build the fCWT library or include the source files. Your custom code in
cwt.cpp
is not enough. In your code you includefcwt.h
somewhere at the beginning of the file right? Then you need to tell the compiler to include this file and also add the implementation infcwt.cpp
.You maybe have to adjust the path to the files but something like the following should work:
g++ cwt.cpp src/fcwt/fcwt.cpp -I src/fcwt/
from fcwt.
I include fcwt.h file in main.cpp and fcwt.cpp file but error remains same.
from fcwt.
It is a linker error you are seeing. You need to tell g++ where the library was installed to (-L can be used for this), and then link against it with -lfCWT
. As it stands, you aren't linking against the library you built earlier, so the error is saying that the functions decalred in the header don't have implementations in your code, and can't be found elsewhere.
from fcwt.
Related Issues (20)
- I am not able to run the code in C++ HOT 1
- Linking problem: undefined reference to log@GLIBC_2.29 HOT 7
- installing the fCWT on python HOT 1
- Sample frequency limitation
- FR: Benchmarking against IRCAM "wavelet" Library
- libomp ubuntu build issues
- Installation issues on Apple M1
- Support for Custom Frequency Array Input HOT 1
- Wavelet coherence
- Template for `double`
- Dose it can be used for real-time application in processing low frequency signal?
- CMake function find_package() does not find fCWT-config.cmake configuration files HOT 1
- Generate fCWT for a short signal to be used as feature HOT 1
- Other mother wavelets HOT 1
- Continuous update for real-time application
- can't import FCWT and use it Google Colab python HOT 1
- Integration fCWT with Java
- fCWT on ARM Cortex M7 or so?
- memory error
- The CWT result???? c++
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.
from fcwt.