-
Notifications
You must be signed in to change notification settings - Fork 15
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
Makefile:146: recipe for target 'all' failed #28
Comments
What OS, version, compiler, cmake parameters ? |
|
create a separate building directory, set build type ( CMAKE_BUILD_TYPE ) to Release |
Unless I misunderstand, that's already what I am doing
This is the instruction I am following. I now also set the CMAK_BUILD_TYPE flag explicitly to Release. I still get an error:
Should I save the entire log? |
That would help, together with output of cmake -LA . |
Here is the cmake log and the log of the make command. |
I am getting the same error - here is a longer tail of my log. Running Gentoo, and using the |
It seems the error is starting here:
Looks like maybe some typo in your code? |
Looks like your compiler might be choking on a "//" comment in that C source file. Which compiler are you using? The offending file is part of HDF5, which we use but don't provide ourselves. As a workaround, you could separately install a version of HDF5 for your OS, and enable the USE_SYSTEM_HDF5 option in the CMake build. |
Looks to me like problems with character encoding, @TheChymera are you running a non-english base system? |
@rdvincent see above post for my compiler @gdevenyi English, UTF-8 |
Looks like this error was fixed in HDF5 version 1.8.13 - I will update to the latest HDF5 - hopefully that would be enough |
@TheChymera @surchs - can you try to build the latest develop branch ? |
sci-libs/hdf5-1.8.15_p1 builds nicely here on my end. Currently trying to see if I can set CMake to unbundle that, |
the current develop branch now fails for me on both Ubuntu 12.04 and CentOS 6.6, with the same error: dsets.cpp: In function ‘herr_t test_create(H5::H5File&)’: |
Did you start with a fresh build directory? |
No. Trying again. |
Ok. that was it. sorry. |
how to solve this error Makefile:1219: recipe for target '../out/gcc-debug//src/inet/linklayer/ieee80211 mesh/locator/LocatorModule.o' failed |
Here is how I fixed this for myself. Not sure if this will work for everyone. My int main() was returning a 1 at the end. I changed this to be "return 0;" Then the error went away. Not sure why, maybe someone with more experience could explain this. |
Hmm... I think our problem was with older version of HDF5 that was resolved using newer one. |
The following worked for me when I ran into this error: make clean |
@vfonov |
@sepideh9191 please open a seperate issue and provide full description of how you acquired the source, how you configured the build, and the full output log of the compile. |
Original reporter is long gone, closing |
@surchs gdevenyi |
how to solve this plz |
@colzez Please don't hijack other threads. Open a new issues with full details of how you obtained the source, configured it, and built it, including OS and compiler versions and full logs. |
Hi,
I just tried to build the toolkit following the instructions on the git page. It failed with the following error messages:
Any suggestions?
The text was updated successfully, but these errors were encountered: