I can't figure out what I made wrong I look on almost every forum but I only found answer for linux. I'm trying to compile a python project. It my first time I compile a project I would really appreciate if someone could help me.
I start with cython so I have a .c file of my project and I download gcc add it path into json and I run it. And TADA I have a beautiful error message.
Related
When trying to build sllin I'm getting an error:
/usr/src/linux-headers-4.19.0-14-common/scripts/Makefile.build:45: /usr/src/linux-headers-4.19.0-14-common/scripts/basic/Makefile: No such file or directory
I don't understand why as I have the headers installed. The /usr/src/linux-headers-4.19.0-14-common/scripts/ directory exists.
The sllin readme sais
To successfully compile sllin, it is necessary to have source code of
Linux kernel actually running on the computer.
I don't really understand what this means.
Does anyone have an idea ?
Thanks
So, i've been trying to compile a program using sconstruct, but i'm facing a problem.
I got the following error when trying to compile a program using sconstruct.
D:\RN ENGINE - REV #1\neo>scons
scons: Reading SConscript files ...
File "sys/scons\scons_utils.py", line 19
except OSError, x:
^
SyntaxError: invalid syntax
I have tried to look for the file where the error is occured, which is scons_utils.py, but i didn't manage to find it, and the documentation didn't helped me very well.
Is this a bug on the sconstruct itself, or i did something wrong? Thanks.
If something else is required in order to solve this, i won't hesitate to give it.
scons_utils.py is not a SCons file. So it's likely part of whatever you're trying to build.
Likely you're using python 3.5+ with a newer SCons, and previously you were using python 2.7 and older SCons.
SO the issue you see (once you find the file) is python 2.7 vs python 3.5+.
Try running again with --debug=stacktrace which should hopefully give you the full path to scons_utils.py
Change that line to:
except OSError as x:
This is Slackware 14.1 Linux.
During compiling it always fail at
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: cannot find -lexecinfo
Is there a library missing?
The problem is I don't know the exact file name it's looking for, I have a
/usr/include/execinfo.h
Any help will be appreciated.
If the program is trying to use backtrace(3) or the like, then it's likely you do not actually need the -lexecinfo option to compile the source. Edit your Makefile and try removing it as see if it will build.
I failed to build the MiXiM on Ubuntu 14.04.3 and OMNet 4.6, the error message is: ”fatal error: Mac80211Pkt_m.h: No such file or directory”. From the manual of OMNet it can be found that the file Mac80211Pkt_m.h should be generated automatically by the compiler during the building process, but it was shown by the error message that the file was not generated automatically. I am confused about the problem, how can I solve this? Can anyone help me? Thanks!
I faced the same error message. Here is how I bypassed the problem:
Extract "mixim-2.3.tar.gz" (tar xvzf mixim-2.3.tar.gz)
Change into the directory just extracted (cd mixim-2.3)
Execute "make makefiles"
Start the build by "make"
Import the just built project using the omnet++ IDE
I am running into errors with opencv. I downloaded a package online and compiled each of the folders by cd into them and running make through the command line. But when I try using one of the functions, I run into this error: libopencv_core.so.2.3: cannot open shared object file: No such file or directory
The file its trying to reach is indeed there, since I checked this, but for some reason its saying its not. I am pretty bad at figuring out path problems but I think this is one of them. Can anyone tell me how to fix this? Thanks