I dont have support in yet for qt+msvc. Its on the todo though.
Until now Ive always built win32 qtros apps in linux using the mingw cross compiler.
Cheers,
Daniel
Ah. Xiaowen.
Just remembered you from your earlier posts. I suspect it will be hard to get qt integration working. The msvc electric is also very limited.
You might be able to get things working if you can successfully get each qt project's cmake using find_package(qt) correctly and doing the cmake magic properly. Not trivial though.
Daniel.
1>------ Build started: Project: TimeStamp, Configuration: Debug Win32 ------
1>Build started 2012/9/11 13:39:27.
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(298,5): warning MSB8004: Intermediate Directory does not end with a trailing slash. This build instance will add the slash as it is required to allow proper evaluation of the Intermediate Directory.
1>InitializeBuildStatus:
1> Creating "Win32\Debug\TimeStamp.unsuccessfulbuild" because "AlwaysCreate" was specified.
1>ComputeCustomBuildOutput:
1> Creating directory "C:\work\TimeStamp\GeneratedFiles\".
1>CustomBuild:
1> Moc'ing client_mainwindow.h...
1> Moc'ing server_mainwindow.h...
1> Uic'ing src\Client\client_mainwindow.ui...
1> Uic'ing src\Server\server_mainwindow.ui...
1>ClCompile:
1> moc_client_mainwindow.cpp
1>c:\work\timestamp\debug\../src/Client/client_mainwindow.h(5): fatal error C1083: Cannot open include file: 'TimeStamp/Time_Stamp.h': No such file or directory
1> moc_server_mainwindow.cpp
1>c:\work\timestamp\debug\../src/Server/server_mainwindow.h(5): fatal error C1083: Cannot open include file: 'TimeStamp/Time_Stamp.h': No such file or directory
1> CMakeCXXCompilerId.cpp
1> callback_queue.cpp
1>debug\python\libros\callback_queue.cpp(35): fatal error C1083: Cannot open include file: 'ros/callback_queue.h': No such file or directory
1> callback_queue.cpp
...
...
1> xmlrpc_manager.cpp
1>debug\python\libros\xmlrpc_manager.cpp(28): fatal error C1083: Cannot open include file: 'ros/xmlrpc_manager.h': No such file or directory
1> Generating Code...
1> Compiling...
1> xmlrpc_manager.cpp
1>release\python\libros\xmlrpc_manager.cpp(28): fatal error C1083: Cannot open include file: 'ros/xmlrpc_manager.h': No such file or directory
1> Generating Code...
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:57.64
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Maybe it's not possible to use qt so far.Hi Doms,Thanks for your reply.I am using electric version now. If it is possible to use electric?So if I just want to create an ordinary ros-pkg with msvc compiler without combining with qt. What should I do? Creating the project on visual studio, and write the code, then add manifest.xml , Makefile , CMakeLists.txt into the pkg?rgds,Xiaowen
On Tuesday, 11 September 2012 13:11:38 UTC+2, Doms wrote:Hello,
> I am now trying to create the ros package on windows with the msvc compiler and the sdk, but I did not find detailed tutorials
> about how to build new package. I followed the steps in the webite
> http://www.ros.org/wiki/win_ros/Msvc%20SDK%20Projects%20-%20Electric, but can not understand that, especially about the point how
> to make project settings.
The page about Fuerte (current version) is almost working for making msvc doing it. Some
usual tricks about Environment variables.
Best regards. Doms.
PS: try it again.
fatal error C1083: Cannot open include file: 'rospack/rospack.h': No such file or directory
error C1083: Cannot open include file: 'config.h': No such file or directory C:\work\TimeStamp\debug\python\libros\network.cpp 28