LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-23-2004, 04:22 AM   #1
melinda_sayang
Member
 
Registered: Dec 2003
Location: Petaling Jaya
Distribution: Ubuntu
Posts: 475

Rep: Reputation: 31
Question pkg-config problem with msys


Linux is rock!!!! I even don't want to use Windows anymore but.... I have to. First, I learn gtk and gtkmm programming in Linux. I kinda like it. And I plan to make the application using that library. But I want to make multiplatform application that can run in Linux and Windows. So..... I try to compile simple gtk programming in Windows XP and I stuck with pkg-config problem.

I have installed msys and mingw. The instalation went smoothly. I could compile helloworld.cpp just I did in my Linux bash. But I failed compiled gtk source code because pkg-config always ask me package names. In DOS command line, when I type command: pkg-config.exe --cflags --libs gtk+-2.0, it will give me a lot of message. You know, something like -IC:/msys/blablabla ....... But when I do the same command in msys, I got message: Must specify package names on the command line.

The same problem occured when I use gtkmm instead.

Here's what I have installed and how I did it:
1. I installed msys-1.0.9 in c:/msys/1.0
2. I installed mingw-3.1.0-1 in c:/msys/1.0/mingw
3. I installed msysDTK-1.0.1 in c:/msys/1.0
4. I installed GTK-Development-Environment-2.2.4.1 in c:/msys/1.0
5. I installed GTK-Runtime-Environment-2.2.4.1 in default directory( program files/common files/ )
6. I installed gtkmm-2.2.8.1 in c:/msys/1.0

So any idea????
 
Old 01-23-2004, 11:16 PM   #2
melinda_sayang
Member
 
Registered: Dec 2003
Location: Petaling Jaya
Distribution: Ubuntu
Posts: 475

Original Poster
Rep: Reputation: 31
Talking I have solved the problem

i answered my own question. My problems exist because I install into the reserved for MSYS dependent directory a non MSYS dependent program. The /bin and /usr/bin directory are reserved. So I need to install GTK development environtment into another directory.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PKG config problem ? fatum Linux - Software 2 10-03-2004 06:52 PM
pkg config problem fatum Linux - General 0 10-01-2004 02:22 PM
pkg-config problem pasalacqua128 Linux - Software 1 06-02-2004 07:31 AM
pkg-config problem melinda_sayang Slackware 2 02-28-2004 08:56 AM
pkg-config problem sandy Linux - Newbie 8 03-07-2003 01:39 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration