Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fCWT matlab for window #22

Closed
kingg0218 opened this issue Feb 7, 2023 · 8 comments
Closed

fCWT matlab for window #22

kingg0218 opened this issue Feb 7, 2023 · 8 comments

Comments

@kingg0218
Copy link

Hi

I'm trying to build MEX-file from source but I'm stuck on a problem
I installed Cmake and GCC, so I made it through until [$ cmake ../ -DBUILD_MATLAB=ON]
But when I type [make] after that, it says this and I cannot find MEX file
make: *** No targets specified and no makefile found. Stop.

Can you spot the problem in this situation?

image
These are the contents in 'build' file

@DiellorBasha
Copy link

Hi
I am also experiencing the same issue.
I installed Cmake and Microsoft Visual C++ but when I try to build from source using "make", I get:
make: *** No targets specified and no makefile found. Stop.

Could you please advise on a possible solution?

@whip123
Copy link

whip123 commented Mar 2, 2023

Hi, I also have encountered this issue, is there any update on this?

@felixdollack
Copy link
Contributor

felixdollack commented Mar 5, 2023

@kingg0218, @DiellorBasha and @whip123

If you do not see a Makefile, do you have a fCWT.sln instead?
In this case you need to open this file with Visual Studio and build it from the Build menu.

@whip123
Copy link

whip123 commented Mar 20, 2023

Not sure if correct or not, but I'm able to get the 2 mex file in fCWT\build\Debug using the same method

image

@felixdollack
Copy link
Contributor

@whip123, do the Mex files work if you put them in your Matlab path?

@whip123
Copy link

whip123 commented Mar 20, 2023

Yeah I believe so, after adding the 2 mex file, im able to run the example.mlx, but the fcwt is not at it's full potential due to Matlab implementation as discussed in #Issue#17. Wonder if there is any way to overcome this if I insist to implement fCWT in Matlab
image

@CrovaS
Copy link

CrovaS commented Jun 9, 2023

@felixdollack I have this issue, but I can't build the fCWT.sln file with visual studio because there's an error that visual studio can't find OpenMP. I wonder if there are any additional modifications to the CMakeLists.txt file.
Is it okay to ask for help in this regard?

Building Custom Rule C:/Users/BRAIN/fCWT/CMakeLists.txt
2>CMake is re-running because C:/Users/BRAIN/fCWT/build/CMakeFiles/generate.stamp is out-of-date.
2> the file 'C:/Users/BRAIN/fCWT/CMakeLists.txt'
2> is newer than 'C:/Users/BRAIN/fCWT/build/CMakeFiles/generate.stamp.depend'
2> result='-1'
3>Building Custom Rule C:/Users/BRAIN/fCWT/CMakeLists.txt
2>Build type is Debug
3>CMake is re-running because C:/Users/BRAIN/fCWT/build/CMakeFiles/generate.stamp is out-of-date.
3> the file 'C:/Users/BRAIN/fCWT/CMakeLists.txt'
3> is newer than 'C:/Users/BRAIN/fCWT/build/CMakeFiles/generate.stamp.depend'
3> result='-1'
3>Build type is Debug
4>Building Custom Rule C:/Users/BRAIN/fCWT/CMakeLists.txt
4>CMake is re-running because C:/Users/BRAIN/fCWT/build/CMakeFiles/generate.stamp is out-of-date.
4> the file 'C:/Users/BRAIN/fCWT/CMakeLists.txt'
4> is newer than 'C:/Users/BRAIN/fCWT/build/CMakeFiles/generate.stamp.depend'
4> result='-1'
4>Build type is Debug
2>Building of shared library is enabled.
3>Building of shared library is enabled.
5>Building Custom Rule C:/Users/BRAIN/fCWT/CMakeLists.txt
5>CMake is re-running because C:/Users/BRAIN/fCWT/build/CMakeFiles/generate.stamp is out-of-date.
5> the file 'C:/Users/BRAIN/fCWT/CMakeLists.txt'
5> is newer than 'C:/Users/BRAIN/fCWT/build/CMakeFiles/generate.stamp.depend'
5> result='-1'
4>Building of shared library is enabled.
5>Build type is Debug
2>CMake Error at C:/Users/BRAIN/fCWT/build/CMakeFiles/CMakeScratch/TryCompile-0i2kun/CMakeLists.txt:18 (add_executable):
2> Cannot find source file:
2>
2> C:/Users/BRAIN/fCWT/build/CMakeFiles/CMakeScratch/TryCompile-0i2kun/OpenMPTryFlag.cpp
2>
2>
2>CMake Error at C:/Users/BRAIN/fCWT/build/CMakeFiles/CMakeScratch/TryCompile-0i2kun/CMakeLists.txt:18 (add_executable):
2> No SOURCES given to target: cmTC_8931b
2>
2>
2>CMake Error at C:/Program Files/CMake/share/cmake-3.26/Modules/FindOpenMP.cmake:219 (try_compile):
2> Failed to generate test project build system.
2>Call Stack (most recent call first):
2> C:/Program Files/CMake/share/cmake-3.26/Modules/FindOpenMP.cmake:483 (_OPENMP_GET_FLAGS)
2> CMakeLists.txt:141 (find_package)
2>
2>
2>-- Configuring incomplete, errors occurred!

@CrovaS
Copy link

CrovaS commented Jun 9, 2023

It has been resolved. Thank you.

@fastlib fastlib closed this as completed Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants