zyGrib

zyGrib's forum
Nous sommes actuellement le 24 Mai 2013 15:32

Les heures sont au format UTC [ Heure d’été ]




Publier un nouveau sujet Répondre au sujet  [ 5 messages ] 
Auteur Message
 Sujet du message: Compiling zyGrib under Windows
MessagePublié: 27 Mai 2009 15:10 
Hors-ligne

Inscrit le: 27 Mai 2009 14:57
Messages: 4
Localisation: Germany
Hello,

currently I am trying to compile zyGrib under Windows with QT 4.5. There are the following questions:

First, I had to activate the part in the project file where the "ui_*.h" files are mentioned. It seemed as the environement generates these files.
Second, I can't find any "regexp" library as it is stated for Windows only. So I commented "LIBS += -lregex" out.
Now the project is compiled but not linked. The linker cannot find the bzip2 and the proj-Library.
So I think, I made any mistake configuring paths in my QT-environment.
Does anyone has any hint, what paths have to be setup? Is there any special location where the zygrib source-tree has to be copied?

Thank you


Haut
 Profil  
 
 Sujet du message: Re: Compiling zyGrib under Windows
MessagePublié: 23 Juin 2009 19:59 
Hors-ligne

Inscrit le: 23 Juin 2009 19:42
Messages: 1
were you able to solve your problem compling under windows? I am having similar problems. What do you mean by having to "activate the part in the project"?

I am new to Qt so that is probably part of the issue. I'm using Qt 4.5.1 and zyGrib 3.4.1

thanks


Haut
 Profil  
 
 Sujet du message: Re: Compiling zyGrib under Windows
MessagePublié: 24 Juin 2009 07:04 
Hors-ligne

Inscrit le: 27 Mai 2009 14:57
Messages: 4
Localisation: Germany
Hello,

I am new to QT, too. So I'm thinking it's part of the problem, too. By now, I am not able to compile on Windows platform.
"Activating" means that in the project-file, there is a section where ui_*.h-files are generated. And there is a condition that they are not generated when compiling under windows (such as "if not defined WINDOWS", sorry, I do not have access to the code at the moment of writing this). So I removed this condition, and now, using QT 4.5, these files are generated on Windows, too.

Greetings


Haut
 Profil  
 
 Sujet du message: Re: Compiling zyGrib under Windows
MessagePublié: 05 Juil 2009 16:44 
Hors-ligne

Inscrit le: 05 Juil 2009 16:29
Messages: 2
I assume you are trying to compile from inside Qt Creator.

I solved the linking problem by modifying the LIBS line in the zyGrib.pro file as follows:

LIBS += -Lbzip2/release -lbz2 -Lzlib-1.2.3/release -lz -Lproj-4.6.0/src/release -lproj

(added text in bold. Change to /debug if you are creating a debug version instead of a release one).

Regards,
Marco.


Haut
 Profil  
 
 Sujet du message: Re: Compiling zyGrib under Windows
MessagePublié: 18 Mars 2012 18:23 
Hors-ligne

Inscrit le: 18 Mars 2012 18:00
Messages: 2
Hello,
Even I want to compile zyGrib under windows, but I haven't used QT4 before. Can you mail/send a link for a step by step guide as to how you did it?


Haut
 Profil  
 
Afficher les messages publiés depuis:  Trier par  
Publier un nouveau sujet Répondre au sujet  [ 5 messages ] 

Les heures sont au format UTC [ Heure d’été ]


Qui est en ligne ?

Utilisateur(s) parcourant ce forum : Aucun utilisateur inscrit et 1 invité


Vous ne pouvez pas publier de nouveaux sujets dans ce forum
Vous ne pouvez pas répondre aux sujets dans ce forum
Vous ne pouvez pas éditer vos messages dans ce forum
Vous ne pouvez pas supprimer vos messages dans ce forum
Vous ne pouvez pas insérer de pièces jointes dans ce forum

Aller vers:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Traduction réalisée par Maël Soucaze © 2010 phpBB.fr