OS: win7 32bit,codelite6.1.1
I can't build withno pkg-config command, and I set it's path in environment Variables,but it didn't work.look my picture,help.either I set the path in win7 environment Variable, also not work. What should I do?[attachment=1]vari.png[/attachmet=0]
can't find pkg-config
-
- CodeLite Enthusiast
- Posts: 13
- Joined: Mon Jun 27, 2016 7:24 am
- Genuine User: Yes
- IDE Question: c++
- Contact:
can't find pkg-config
You do not have the required permissions to view the files attached to this post.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: can't find pkg-config
You added some environment variable, what you should have done is (assuming pkg-config is located under D:\msys32\usr\bin):
Code: Select all
PATH=D:\msys32\usr\bin;$PATH
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 13
- Joined: Mon Jun 27, 2016 7:24 am
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: can't find pkg-config
I do this in win7 system.so coundn't too.
You do not have the required permissions to view the files attached to this post.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: can't find pkg-config
Actually it's better defining it in CodeLite and not in the global environment.
Also, there is no harm in doing it in both locations.
As a side note, we don't support CodeLite 6.1 (the current version is CodeLite 12)
I really recommend you to upgrade your CodeLite.
In the project settings->Compiler, try replacing:
with this syntax:
It might be that your CodeLite version is too old and backticks were not supported back then
Also, there is no harm in doing it in both locations.
As a side note, we don't support CodeLite 6.1 (the current version is CodeLite 12)
I really recommend you to upgrade your CodeLite.
In the project settings->Compiler, try replacing:
Code: Select all
`pkg-config ..`
Code: Select all
$(shell pkg-config ..)
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 13
- Joined: Mon Jun 27, 2016 7:24 am
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: can't find pkg-config
thanks ,you are right.eranif wrote:You added some environment variable, what you should have done is (assuming pkg-config is located under D:\msys32\usr\bin):
Code: Select all
PATH=D:\msys32\usr\bin;$PATH