Skip to Content.
Sympa Menu

cgal-discuss - Re: 回复: [cgal-discuss] about "qt-mt.lib"

Subject: CGAL users discussion list

List archive

Re: 回复: [cgal-discuss] about "qt-mt.lib"


Chronological Thread 
  • From: Mahmood Naderan <>
  • To:
  • Subject: Re: 回复: [cgal-discuss] about "qt-mt.lib"
  • Date: Tue, 13 Jan 2009 23:41:21 -0800 (PST)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=h/oDzpsdWwgVUJuG1wcZYVPwksQ40BW63pChvjsUxr12Jgh/630CLBl40NJ2+uDrcrWyzY0rDVWwTttW33SenmKMFj35QsoNzLowaMYUpD60OmN2uKTcQM/PQsEs28B7B0PnneW6UZ/JLYYa6MmqU9XNC+oOOQA3iR8ixlUyFtA=;

> i found "convex_hull_2.moc.moc"

check the command you entered in pre-built events. You may add redundant ".moc"

 

> Still there is a problem about "cannot open file 'qt-mt.lib'", that's the error when i tried to run the program

Goto to $(QTDIR)\lib. Is there any file similar to 'qt-mt.lib'?

 

--------------------

Mahmood Naderan



From: You Li <>
To:
Sent: Tuesday, January 13, 2009 9:26:14 PM
Subject: Re: 回复: [cgal-discuss] about "qt-mt.lib"

It's interesting. It shows that the compiler can't open "convex_hull_2.moc", but when i open the directory to locate this file, i found "convex_hull_2.moc.moc". So i change it into "convex_hull_2.moc" and the compiling succeded.

Still there is a problem about "cannot open file 'qt-mt.lib'", that's the error when i tried to run the program.

--- 09年1月13日,周二, Mahmood Naderan <> 写道:
发件人: Mahmood Naderan <>
主题: Re: 回复: [cgal-discuss] about "qt-mt.lib"
收件人:
日期: 2009,113,周二,8:07下午

>I tried this,but it still shows that it can't find the .moc file. This installment is really nasty.
First verify that the MOC file does exist. If you entered that command line, by building the solution
it will produce the moc file. After the build is done (ignore the error) search in the solution directory
to see if the moc file exist.
 
You can also add a "decription" to pre-built event just below "command line" in project properties.
Enter for example "mocing convex_2". When you start to build, this message will apear in the
output window so that you will be ensured that the moc step is done correctly.
 
Does any MOC file exist your solution directory?
 
-----------------------
Mahmood Naderan


From: You Li <>
To:
Sent: Monday, January 12, 2009 9:19:44 PM
Subject: Re: 回复: [cgal-discuss] about "qt-mt.lib"

I tried this,but it still shows that it can't find the .moc file. This installment is really nasty.

Could you run the demo program right now? if so, could you send me your method of installing qt and CGAL? I may need to restart installment from scratch.

Thank you for replying.

--- 09年1月12日,周一, Mahmood Naderan <> 写道:
发件人: Mahmood Naderan <>
主题: Re: 回复: [cgal-discuss] about "qt-mt.lib"
收件人:
日期: 2009,112,周一,2:50下午

>also, when trying to run other demos, there was always an error about opening  *.moc file. Like the following"fatal error >C1083: Cannot open include file: 'convex_hull_2.moc': No such file or directory".
You have to add a MOC step to the VS project:
project properties -> build events -> pre-built events
 
then add the following command line: 
$(QTDIR)\bin\moc.exe -o   A.moc  B.cpp
 
where 'A' is a file name that appears in include preprocessor, for example convex_hull_2.moc
and 'B' is the file name that contains #include <convex_hull_2.moc>. This file maybe your main
file which has the main function
 
---------------------
Mahmood Naderan


From: You Li <>
To:
Sent: Monday, January 12, 2009 3:17:28 AM
Subject: 回复: [cgal-discuss] about "qt-mt.lib"

also, when trying to run other demos, there was always an error about opening  *.moc file. Like the following"fatal error C1083: Cannot open include file: 'convex_hull_2.moc': No such file or directory".
 I tried to run the sample project of qt3, it works. So this means qt3 has been installed perfectly. And i can run the example code of CGAL and i think i installed CGAL successfully. But why there is still errors about running these demo program?

--- 09年1月12日,周一, You Li <> 写道:
发件人: You Li <>
主题: [cgal-discuss] about "qt-mt.lib"
收件人:
日期: 2009,112,周一,7:21上午

 I have installed qt3 successfully and can run example project smoothly. But when i ran "min_circle_2" in demo program, there was a linking problem "1>LINK : fatal error LNK1104: cannot open file 'qt-mt.lib'".
 I tried to rename qt-mt.lib to qt-mt3.lib, but it turned out to generate more errors. I have attached the buildlog. Anybody understand this?


好玩贺卡等你发,邮箱贺卡全新上线!


好玩贺卡等你发,邮箱贺卡全新上线!



好玩贺卡等你发,邮箱贺卡全新上线!



好玩贺卡等你发,邮箱贺卡全新上线!




Archive powered by MHonArc 2.6.16.

Top of Page