wx/wxprec.h: No such file or directory
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
OS: Linux Mint 18.2 Cinnamon 64-bit.
I would like to compile the following:
p7zip_16.02_src_all.tar.bz2
with SHA256:
5eb20ac0e2944f6cb9c2d51dd6c4518941c185347d4089ea89087ffdd6e2341f
I extracted it as follows:
tar -xjf p7zip_16.02_src_all.tar.bz2
I read README file, specifically, that I need to replace the makefile with my machine's equivalent:
According to your OS, copy makefile.linux,
makefile.freebsd, makefile.cygwin, ...
over makefile.machine
So I did:
cp makefile.linux_amd64 makefile.machine
It also says it is possible to build in parallel, in my case of 8 cores:
If you want to make a parallel build on a 4 cpu machine : make -j 4 TARGET
So I did:
make -j 8 all_test
With the result:
Everything is Ok
Now, I would like to proceed further, but:
make -j 8 depend
this throws errors:
fatal error: wx/wxprec.h: No such file or directory
So, I searched for a package that contains the header file:
apt-file search wxprec.h
which says:
wx3.0-headers: /usr/include/wx-3.0/wx/wxprec.h
So, I installed that package:
sudo apt-get install wx3.0-headers
but it still throws the same error.
compiling p7zip
add a comment |Â
up vote
0
down vote
favorite
OS: Linux Mint 18.2 Cinnamon 64-bit.
I would like to compile the following:
p7zip_16.02_src_all.tar.bz2
with SHA256:
5eb20ac0e2944f6cb9c2d51dd6c4518941c185347d4089ea89087ffdd6e2341f
I extracted it as follows:
tar -xjf p7zip_16.02_src_all.tar.bz2
I read README file, specifically, that I need to replace the makefile with my machine's equivalent:
According to your OS, copy makefile.linux,
makefile.freebsd, makefile.cygwin, ...
over makefile.machine
So I did:
cp makefile.linux_amd64 makefile.machine
It also says it is possible to build in parallel, in my case of 8 cores:
If you want to make a parallel build on a 4 cpu machine : make -j 4 TARGET
So I did:
make -j 8 all_test
With the result:
Everything is Ok
Now, I would like to proceed further, but:
make -j 8 depend
this throws errors:
fatal error: wx/wxprec.h: No such file or directory
So, I searched for a package that contains the header file:
apt-file search wxprec.h
which says:
wx3.0-headers: /usr/include/wx-3.0/wx/wxprec.h
So, I installed that package:
sudo apt-get install wx3.0-headers
but it still throws the same error.
compiling p7zip
1
Could this help forums.codeblocks.org/index.php?topic=19402.0 ?
â Inian
Oct 28 '17 at 10:19
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
OS: Linux Mint 18.2 Cinnamon 64-bit.
I would like to compile the following:
p7zip_16.02_src_all.tar.bz2
with SHA256:
5eb20ac0e2944f6cb9c2d51dd6c4518941c185347d4089ea89087ffdd6e2341f
I extracted it as follows:
tar -xjf p7zip_16.02_src_all.tar.bz2
I read README file, specifically, that I need to replace the makefile with my machine's equivalent:
According to your OS, copy makefile.linux,
makefile.freebsd, makefile.cygwin, ...
over makefile.machine
So I did:
cp makefile.linux_amd64 makefile.machine
It also says it is possible to build in parallel, in my case of 8 cores:
If you want to make a parallel build on a 4 cpu machine : make -j 4 TARGET
So I did:
make -j 8 all_test
With the result:
Everything is Ok
Now, I would like to proceed further, but:
make -j 8 depend
this throws errors:
fatal error: wx/wxprec.h: No such file or directory
So, I searched for a package that contains the header file:
apt-file search wxprec.h
which says:
wx3.0-headers: /usr/include/wx-3.0/wx/wxprec.h
So, I installed that package:
sudo apt-get install wx3.0-headers
but it still throws the same error.
compiling p7zip
OS: Linux Mint 18.2 Cinnamon 64-bit.
I would like to compile the following:
p7zip_16.02_src_all.tar.bz2
with SHA256:
5eb20ac0e2944f6cb9c2d51dd6c4518941c185347d4089ea89087ffdd6e2341f
I extracted it as follows:
tar -xjf p7zip_16.02_src_all.tar.bz2
I read README file, specifically, that I need to replace the makefile with my machine's equivalent:
According to your OS, copy makefile.linux,
makefile.freebsd, makefile.cygwin, ...
over makefile.machine
So I did:
cp makefile.linux_amd64 makefile.machine
It also says it is possible to build in parallel, in my case of 8 cores:
If you want to make a parallel build on a 4 cpu machine : make -j 4 TARGET
So I did:
make -j 8 all_test
With the result:
Everything is Ok
Now, I would like to proceed further, but:
make -j 8 depend
this throws errors:
fatal error: wx/wxprec.h: No such file or directory
So, I searched for a package that contains the header file:
apt-file search wxprec.h
which says:
wx3.0-headers: /usr/include/wx-3.0/wx/wxprec.h
So, I installed that package:
sudo apt-get install wx3.0-headers
but it still throws the same error.
compiling p7zip
asked Oct 28 '17 at 10:13
Vlastimil
6,4761147120
6,4761147120
1
Could this help forums.codeblocks.org/index.php?topic=19402.0 ?
â Inian
Oct 28 '17 at 10:19
add a comment |Â
1
Could this help forums.codeblocks.org/index.php?topic=19402.0 ?
â Inian
Oct 28 '17 at 10:19
1
1
Could this help forums.codeblocks.org/index.php?topic=19402.0 ?
â Inian
Oct 28 '17 at 10:19
Could this help forums.codeblocks.org/index.php?topic=19402.0 ?
â Inian
Oct 28 '17 at 10:19
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
2
down vote
accepted
You need to build the dependencies before make
command :
sudo apt-get build-dep p7zip
It will install the missing dependencies.
add a comment |Â
up vote
1
down vote
sudo apt-get install libwxgtk3.0-dev
did the trick.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
You need to build the dependencies before make
command :
sudo apt-get build-dep p7zip
It will install the missing dependencies.
add a comment |Â
up vote
2
down vote
accepted
You need to build the dependencies before make
command :
sudo apt-get build-dep p7zip
It will install the missing dependencies.
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
You need to build the dependencies before make
command :
sudo apt-get build-dep p7zip
It will install the missing dependencies.
You need to build the dependencies before make
command :
sudo apt-get build-dep p7zip
It will install the missing dependencies.
answered Oct 28 '17 at 10:35
GAD3R
22.7k154895
22.7k154895
add a comment |Â
add a comment |Â
up vote
1
down vote
sudo apt-get install libwxgtk3.0-dev
did the trick.
add a comment |Â
up vote
1
down vote
sudo apt-get install libwxgtk3.0-dev
did the trick.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
sudo apt-get install libwxgtk3.0-dev
did the trick.
sudo apt-get install libwxgtk3.0-dev
did the trick.
answered Oct 28 '17 at 10:37
Vlastimil
6,4761147120
6,4761147120
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f401032%2fwx-wxprec-h-no-such-file-or-directory%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
Could this help forums.codeblocks.org/index.php?topic=19402.0 ?
â Inian
Oct 28 '17 at 10:19