Re: [osg-users] compiling osg with intel compiler, windows
Thanks for the tip! I'll try it out. Back with Intel 10, the intel and MS compilers were not compatible at the link level - maybe they were supposed to be, but in practice, with OSG at least, it didnt work well. With Version 11, so far so good. Rupert -- Rupert Brooks rupert.bro...@gmail.com On Tue, Feb 2, 2010 at 13:52, Andrew Cunningham o...@a-cunningham.com wrote: Intel are looking at the bug. When using Visual Studio and Intel integration you can right-click/Properties on any .CPP file and change the compiler to the MS compiler. The Intel and MS compilers are 100% compatible at the link level. You can compile a project with any combination of the two compilers. I compiled OSG and OSGUtil using the Intel compiler - probably worthwhile given the number of vectorization optimizations reported. BTW, the biggest boost you can give to OSG on Windows is to set _SECURE_SCL to 0 for Release builds. This makes a huge difference to performance. This is one #define you must set for all your files, though, as it changes the size of some of the STL classes. Andrew -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=23551#23551 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] compiling osg with intel compiler, windows
Thanks - sorry i tuned out for a while. In the end i was able to build with the Intel compiler, but had to remove the osgWidget plugin from the build for it to work. This did not particularly hurt my work, although its probably not a good long term solution. Ultimately, however, by converting the Visual Studio project for my application, i was able to link against the OSG built with Visual Studio. (With previous versions of intel, this would fail to link.) This is probably a better solution for me for the moment I'd be interested in Intels response to the support request. Regards, Rupert -- Rupert Brooks rupert.bro...@gmail.com On Thu, Jan 21, 2010 at 17:29, Andrew Cunningham o...@a-cunningham.com wrote: I submitted a bug report re this on Intel Premier support. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=23031#23031 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] compiling osg with intel compiler, windows
Intel are looking at the bug. When using Visual Studio and Intel integration you can right-click/Properties on any .CPP file and change the compiler to the MS compiler. The Intel and MS compilers are 100% compatible at the link level. You can compile a project with any combination of the two compilers. I compiled OSG and OSGUtil using the Intel compiler - probably worthwhile given the number of vectorization optimizations reported. BTW, the biggest boost you can give to OSG on Windows is to set _SECURE_SCL to 0 for Release builds. This makes a huge difference to performance. This is one #define you must set for all your files, though, as it changes the size of some of the STL classes. Andrew -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=23551#23551 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] compiling osg with intel compiler, windows
I submitted a bug report re this on Intel Premier support. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=23031#23031 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] compiling osg with intel compiler, windows
Hi Rupert, I had no problem compiling that file with the Intel compiler. Note that I created the VS2008 projects using CMake, then converted to using the Intel compiler manually. 1-- Rebuild All started: Project: osgWidget, Configuration: Debug x64 -- 1Compiling with Intel(R) C++ 11.1.054 [Intel(R) 64]... (Intel C++ Environment) 1Input.cpp 1D:\OSG\OpenSceneGraph-2.8.2-x64\src\osgWidget\Input.cpp(41): remark #869: parameter size was never referenced 1 void Input::_calculateSize(const XYCoord size) { 1^ 1 1D:\OSG\OpenSceneGraph-2.8.2-x64\src\osgWidget\Input.cpp(120): remark #869: parameter key was never referenced 1 bool Input::keyUp(int key, int mask, WindowManager*) { 1^ 1 1D:\OSG\OpenSceneGraph-2.8.2-x64\src\osgWidget\Input.cpp(120): remark #869: parameter mask was never referenced 1 bool Input::keyUp(int key, int mask, WindowManager*) { 1 ^ 1 1D:\OSG\OpenSceneGraph-2.8.2-x64\src\osgWidget\Input.cpp(124): remark #869: parameter mask was never referenced 1 bool Input::keyDown(int key, int mask, WindowManager*) { 1 ^ 1 1Build log was saved at file://D:\OSG\OpenSceneGraph-2.8.2-x64\src\osgWidget\osgWidget.dir\Debug\BuildLog.htm 1osgWidget - 0 error(s), 0 warning(s) == Rebuild All: 1 succeeded, 0 failed, 0 skipped == Andrew -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22712#22712 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] compiling osg with intel compiler, windows
Except, I am a moron and compiled the wrong file... Did you submit a bug report to Intel? 1-- Rebuild All started: Project: Plugins osgwidget, Configuration: Release x64 -- 1Compiling with Intel(R) C++ 11.1.054 [Intel(R) 64]... (Intel C++ Environment) 1Input.cpp 1D:\VAOne2010\OSG\OpenSceneGraph-2.8.2-x64\src\osgPlugins\osgWidget\Input.cpp(10): remark #869: parameter fr was never referenced 1 bool osgWidget_Input_readData(osg::Object /*obj*/, osgDB::Input fr) 1^ 1 1C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\vector(560): internal error: assertion failed: pop_stop_token_stack: wrong number of pops (shared/edgcpfe/lexical.c, line 11491) 1 1 } 1 ^ 1 1compilation aborted for D:\VAOne2010\OSG\OpenSceneGraph-2.8.2-x64\src\osgPlugins\osgWidget\Input.cpp (code 4) 1Build log was saved at file://D:\VAOne2010\OSG\OpenSceneGraph-2.8.2-x64\src\osgPlugins\osgWidget\osgdb_osgwidget.dir\Release\BuildLog.htm 1Plugins osgwidget - 1 error(s), 0 warning(s) == Rebuild All: 0 succeeded, 1 failed, 0 skipped == Andrew -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22713#22713 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] compiling osg with intel compiler, windows
Hi, I was wondering if anyone is compiling OSG with the Intel Compiler on Windows. On Linux, the intel compiler has no problem compiling OSG, but my attempts on Windows have been fruitless so far. Is anyone doing this or wants to do this? Heres where im at: Using the version 11.1 of the Intel compiler, with VS2008 Pro on Windows 7 Enterprise, and using CMake to generate NMake makefiles for OSG (version 2.8.2), my compilation stops at 53% with the following error [ 53%] Building CXX object src/osgPlugins/osgWidget/CMakeFiles/osgdb_osgwidget.d ir/Input.obj Input.cpp c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(560): inter nal error: assertion failed: pop_stop_token_stack: wrong number of pops (shared/ edgcpfe/lexical.c, line 11491) } ^ compilation aborted for C:\Users\brooksr\Neuro\OpenSceneGraph-2.8.2\src\osgPlugi ns\osgWidget\Input.cpp (code 4) NMAKE : fatal error U1077: 'C:\PROGRA~2\Intel\Compiler\11.1\054\bin\intel64\icl. exe' : return code '0x4' Stop. NMAKE : fatal error U1077: 'c:\Program Files (x86)\Microsoft Visual Studio 9.0\ VC\BIN\amd64\nmake.exe' : return code '0x2' Stop. NMAKE : fatal error U1077: 'c:\Program Files (x86)\Microsoft Visual Studio 9.0\ VC\BIN\amd64\nmake.exe' : return code '0x2' Stop. C:\Users\brooksr\Neuro\OSG-intel-build Any help is appreciated Cheers, Rupert ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org