tag:blogger.com,1999:blog-73331669704224959.post5571091126800274657..comments2023-08-20T04:45:55.158-07:00Comments on ComputeCube: Qt Creator or Visual Studio 2008Barretthttp://www.blogger.com/profile/13549719980585276668noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-73331669704224959.post-33781062097992756202009-04-21T06:56:36.000-07:002009-04-21T06:56:36.000-07:00I have ported one progject from MinGw to Visual St...I have ported one progject from MinGw to Visual Studio Express 2008. When trying to distribute the executable I learned that you have to install a new runtime on every target. There is a merge module containing the runtime. The merge module is not available for common installers like NSIS. <br>Result:<br>You can not simply distribute Visual Studio 2008 Executables to Microsoft platforms. Microsoft uses you to drive the API forward. <br>No thank you. I am not going to touch that crap again!Rolandnoreply@blogger.comtag:blogger.com,1999:blog-73331669704224959.post-66487239446526372042009-04-28T03:29:17.000-07:002009-04-28T03:29:17.000-07:00I didn't want to reply to you until I'd tr...I didn't want to reply to you until I'd tried out Visual Studio 2008.<br><br>You are correct, VS does link to its runtime. But its done this for some time. Where I work we always have to package the runtimes into the installers but its not a really big issue at all, although we do use commercial installers and not NSIS. Linux has similar problems with all the dependancies - in fact I think Linux is worse especially when you trying to build something that relies on another library->lib->lib->scream!<br><br>I use minGw (gcc and gfortran) under windows and it works well. Actually I often build my Code in VS using the gcc compiler. Then you dont get strange linkings in the .libs.<br><br>Trying to link a VS C object file to something created with gcc / gfortran is very tricky so better to pick method for a project. Of course nvcc doesn't like to work like this on Windows.... (subject for a post I think)Barretthttp://www.bv2.co.uknoreply@blogger.comtag:blogger.com,1999:blog-73331669704224959.post-57059109786861965152009-10-28T07:08:22.000-07:002009-10-28T07:08:22.000-07:00Hi,I'm very interested in using CUDA integrate...Hi,<br><br>I'm very interested in using CUDA integrated in Qt Creator. I have searched a possible solution on the internet but I haven't found any yet. Has anybody solved this?<br><br>Regards,<br><br>LUILuisnoreply@blogger.comtag:blogger.com,1999:blog-73331669704224959.post-81373268974127894992009-10-28T07:28:15.000-07:002009-10-28T07:28:15.000-07:00Hi Luis,On windows, the QT creator uses the mingw ...Hi Luis,<br><br>On windows, the QT creator uses the mingw compiler and I couldn't seem to change it to use nvcc. Even if you could, nvcc won't invoke anything other than cl (microsoft c compiler) as the foreign compiler on a windows machine even if you specify the path and mingw in the foreign compiler setting.<br><br>In unix it will happily use the mingw or other compiler.<br><br>I gave up trying to get the windows QT creator to compile cuda code directly. So I either use the visual studio QT plugin or just compile outside the IDE. Most of the time now I use windows for the IDE/environment and compile on my linux box anyway.<br><br>It's a bit of a shame as QT creator is rather nice :)<br><br>I havent tried it for a while though - so maybe they have an update?<br><br>/BarrettBarretthttp://www.bv2.co.uknoreply@blogger.comtag:blogger.com,1999:blog-73331669704224959.post-9234763705597613172009-10-28T07:38:12.000-07:002009-10-28T07:38:12.000-07:00Hi Barrett,Yes, you're right, it's a shame...Hi Barrett,<br><br>Yes, you're right, it's a shame, because I like Qt Creator. It doesn't seem to be any update for that. I already use CUDA with VS but I was looking for something multiplatform, so maybe Codeblocks or Eclipse are a better option at this moment... :-/Luisnoreply@blogger.comtag:blogger.com,1999:blog-73331669704224959.post-55874583507550536402009-10-28T07:54:43.000-07:002009-10-28T07:54:43.000-07:00Hi Luis,Qt creator would have been ideal as it is ...Hi Luis,<br><br>Qt creator would have been ideal as it is cross platform. My way of coding on the windows machine but compiling on the Linux box is far from ideal but it works.<br><br>Makes debugging on the linux machine rather hard though...<br><br>Let me know if you find any compromise - I would be very interested.<br><br>/BarrettBarretthttp://www.bv2.co.uknoreply@blogger.comtag:blogger.com,1999:blog-73331669704224959.post-67669388266255577842009-10-28T08:11:33.000-07:002009-10-28T08:11:33.000-07:00Yes of course. If I find any solution to it for Qt...Yes of course. If I find any solution to it for Qt Creator I'll post it here, but meanwhile I'll try mixing CUDA, C/C++ and Qt in Codeblocks or Eclipse, which seem to handle with that. I still haven't used them but there is always a first time for everything :-)Luisnoreply@blogger.comtag:blogger.com,1999:blog-73331669704224959.post-85514031966724335712010-03-02T03:46:45.000-08:002010-03-02T03:46:45.000-08:00If you want to compile CUDA and C++ / QT ... whate...If you want to compile CUDA and C++ / QT ... whatever code and use Qt Creator you can use CMake as buildtool ... it works ... http://www.cmake.org/davidnoreply@blogger.comtag:blogger.com,1999:blog-73331669704224959.post-47954231038985430392010-03-02T03:49:22.000-08:002010-03-02T03:49:22.000-08:00I've the same problem with the Syntaxhighlight...I've the same problem with the Syntaxhighlighting ... i want that Qt Creator uses the C++ highlighting for .cu files ... Did somebody know how can can tell Qt Creator to open .cu files with the C++ Editor ?Davidnoreply@blogger.com