Subject: CGAL users discussion list
List archive
- From:
- To:
- Subject: Bad problem when using QT 3
- Date: Sat, 3 Nov 2007 15:07:14 +0100
Hello,
I am really confused with QT for running demo. I have QT 3.2.1 open source
edition and I installed it.
The first problem is:
1) when I try to run a demo it says that "qt-mt.lib" was not found. I
searched for it and found that there is a file "qt-mtnc321.lib". I rename it
to "qt-mt.lib" and it seemed that this error was gone. I am not sure whether
I did the right thing or not!
After that, second problem raised.
2) when I tried to compile the demo again, the code compiled successfully but
at linking section, error LNK 2005 was generated. I found it a complicated
error and after lots of searched I realized that this error is generated
because there are two files (I think object files) and both of them have unic
function and they try to call it. I think the root of problem is some where
in static or shared libraries and further researches showed that after I add
cgalqt-vc71-mt-gd.lib to library folder, this awful error is generated.
I am not sure again whether I am right or not.
I have a philosophical theory and I really need a guide from authors.
If the QT is embedded to CGAL, so there is no need to have QT for running
demos; else what is the role of "cgalqt-vc71-mt-gd.lib"?
if it is true, by disabling "#ifndef CGAL_USE_QT", the demo should run (but
it does not).
if it is false, mean QT is not embedded to CGAL, so I must install QT and it
seems that two files, one from CGAL libraries and one from QT libraries I
have installed, conflict at a same function and lead to LNK 2005 error.
Hope I outlined the problem correctly, but in one sentence "I get error LNK
2005 in linking section of compilation process".
Really need a guide...
- Bad problem when using QT 3, nt_mahmood, 11/03/2007
- <Possible follow-up(s)>
- Re: Bad problem when using QT 3, novacheva, 11/03/2007
- Re: Re: Bad problem when using QT 3, nt_mahmood, 11/03/2007
- Re: Bad problem when using QT 3, novacheva, 11/03/2007
Archive powered by MHonArc 2.6.16.