[VS/Win] Snapshot 12.03.2016

Discussion area about developing or extending OGRE, adding plugins for it or building applications on it. No newbie questions please, use the Help forum for that.
Post Reply
User avatar
boyamer
Orc
Posts: 459
Joined: Sat Jan 24, 2009 11:16 am
Location: Italy
x 6

Re: [VS/Win] Snapshot 12.03.2016

Post by boyamer »

Dude, can you add DirectX9 backend to 2.0 release please?
Transporter
Minaton
Posts: 933
Joined: Mon Mar 05, 2012 11:37 am
Location: Germany
x 110

Re: [VS/Win] Snapshot 12.03.2016

Post by Transporter »

boyamer wrote:Dude, can you add DirectX9 backend to 2.0 release please?
DirectX 9.0 has been dropped of Win10/VS2015 because of http://ogre3d.org/forums/viewtopic.php?f=2&t=83944. I don't want to modify the code on each build, so dropping DX9 is much more comfortable. You can find the DX9 renderer in the Win7/VS2013 packages.
User avatar
boyamer
Orc
Posts: 459
Joined: Sat Jan 24, 2009 11:16 am
Location: Italy
x 6

Re: [VS/Win] Snapshot 12.03.2016

Post by boyamer »

Can you update the latest 2.0 SDK to latest one from bitbucket? I have an issue with DefaultSceneQueries that has been fixed on bitbucket but not in your SDK.
Transporter
Minaton
Posts: 933
Joined: Mon Mar 05, 2012 11:37 am
Location: Germany
x 110

Re: [VS/Win] Snapshot 12.03.2016

Post by Transporter »

I'm rebuilding my build infrastructure. After a hdd crash my development data are damaged. I'll need at least two weeks to fix everything. I'll use this accident to change the build scripts. I'll use Jenkins-CI instead of batch files, which allows me to connect multiple computers at once to build ogre etc. This should reduce the build time to one day.
Transporter
Minaton
Posts: 933
Joined: Mon Mar 05, 2012 11:37 am
Location: Germany
x 110

Re: [VS/Win] Snapshot 12.03.2016

Post by Transporter »

I'm finishing my Jenkins CI System. So, I'll create new packages aggain. At the moment there are already 28 libraries in my build stream: assimp, boost, bulletphysics, bzip2, cairo, curl, FreeImage, freetype2, glsl-optimizer, hlsl2glsl, libosmscout, libpng, libxml2, lua, marisa, OGRE-default, OGRE-2.0, OGRE-2.1, OIS, OpenSSL, pixman, poco, protobuf, RapidJSON, SDL2, sqlite3, zlib, zziplib.

A few libraries are not integrated yet, and I'm thinking of dropping the whole 1.9 branch:
  • OGRE-1.9 *
  • btogre
  • OgreAssimp *
  • SkyX *
  • HydraX *
  • OgreAL *
  • libRocket
  • MyGUI
  • HLMSEditor
  • OgreMeshy
  • Ogitor *
  • Ogitor2 *
  • ogre-procedural
* I think dropping this libraries out of my build pipeline.
jenkins.png
User avatar
ScottLanning
Gnoblar
Posts: 4
Joined: Sun Aug 19, 2007 5:51 pm

Re: [VS/Win] Snapshot 12.03.2016

Post by ScottLanning »

VS 2015 link is dead
Transporter
Minaton
Posts: 933
Joined: Mon Mar 05, 2012 11:37 am
Location: Germany
x 110

Re: [VS/Win] Snapshot 12.03.2016

Post by Transporter »

ScottLanning wrote:VS 2015 link is dead
Which files?
User avatar
ScottLanning
Gnoblar
Posts: 4
Joined: Sun Aug 19, 2007 5:51 pm

Re: [VS/Win] Snapshot 12.03.2016

Post by ScottLanning »

Sorry for the imprecision. I mean the 4th link in the first post Dependencies-vc140-x64-12.03.2016.7z gives a 404. Thanks
Transporter
Minaton
Posts: 933
Joined: Mon Mar 05, 2012 11:37 am
Location: Germany
x 110

Re: [VS/Win] Snapshot 12.03.2016

Post by Transporter »

ScottLanning wrote:Sorry for the imprecision. I mean the 4th link in the first post Dependencies-vc140-x64-12.03.2016.7z gives a 404. Thanks
Somebody reported that file to Google. :( I don't know what's wrong, because I didn't receive any message they just lock the file. :evil: I've uploaded the file again, it should work now.
niceguy4704
Gnoblar
Posts: 3
Joined: Sat Apr 29, 2017 4:25 pm

Re: [VS/Win] Snapshot 12.03.2016

Post by niceguy4704 »

I was hoping someone could help a noobie wanting to learn OGRE.


I downloaded all the items on the first page that referred to VC140 x64.

I then followed these installation instructions: http://www.ogre3d.org/tikiwiki/tiki-ind ... e+Ogre+SDK

I got to the part where it says to open the sln file, but there is no sln file in the sdk extracted from the 7z file. Obviously these instruction do not apply to Transporter's downloads.

Can someone direct me to the correct installation directions?

I am running windows 10 and Visual Studios 2015 Enterprise.
Transporter
Minaton
Posts: 933
Joined: Mon Mar 05, 2012 11:37 am
Location: Germany
x 110

Re: [VS/Win] Snapshot 12.03.2016

Post by Transporter »

niceguy4704 wrote:I was hoping someone could help a noobie wanting to learn OGRE.


I downloaded all the items on the first page that referred to VC140 x64.

I then followed these installation instructions: http://www.ogre3d.org/tikiwiki/tiki-ind ... e+Ogre+SDK

I got to the part where it says to open the sln file, but there is no sln file in the sdk extracted from the 7z file. Obviously these instruction do not apply to Transporter's downloads.

Can someone direct me to the correct installation directions?

I am running windows 10 and Visual Studios 2015 Enterprise.
The install instructions are for the ogre 1.8.x SDKs. For 1.9.x, 1.10.x and 2.x.x follow the instructions on http://www.ogre3d.org/tikiwiki/tiki-ind ... ual+Studio
User avatar
Aiden
Halfling
Posts: 54
Joined: Fri Jul 14, 2017 3:16 pm
x 5

Re: [VS/Win] Snapshot 12.03.2016

Post by Aiden »

Hello,
Thanks for your hard work in saving us with prebuilt ogre sdk.
I've been trying to build ogre sdk for visualstudio 2015 (win 8 32bit) with no luck for almost two whole days. Starting from mingw32bit which cited some missing locale_t, I then decided to download visualstudio and directx 2010.

I tried the win10 sdk you released, the app builds fine but cites some missing .dlls which are core to windows 10.
If you can build ogre sdk for win8.1 or win7 as target with visualstudio 2015, or atleast hint at how to get things working I'd really appreciate it alot.

I'm currently at the stage where we have buildsdk.bat generated in some win32 dir. I had to add visualstudio 2015 as vc14 inside the batch file for it to recognize my visualstudio compiler. Not sure it this is necessary to build this stuff again, but i'm building it frome within that folder also as the files have been re-generated just incase it's the sdk I should use.
I don't know why it's so hard to get ogre working, the project maintainers should consider making the project easy integrate by building something like an installer that asks the users for info about their environment,compilers and target sdk, then it should download stuff automatically then generate files for cmake.
I've built android kernels and also tried building alot of stuff and never failed.
The ogre project should be made easy for developers to integrate, otherwise few people will even get to use it.
A great boost would be to add mingw support as many nob's start c++ with it.
User avatar
Aiden
Halfling
Posts: 54
Joined: Fri Jul 14, 2017 3:16 pm
x 5

Re: [VS/Win] Snapshot 12.03.2016

Post by Aiden »

Okay, my build is finished
here is some of the errors generated after sometime while building the project within the following directory when running buildsdk.bat vc14 <I added this vc14 into buildsdk.bat
The original build step completed successfully after disabling building the samples and the files are in ogrebuild.
After running install I get this files within a new directory created called SDK which I believe I should begin building as the other one doesn't work in my apps, the include dependancies are not being found including d3d9....h and some ogre plugins headers.

Code: Select all

/ogre/SDK/Win32
buildsdk.bat
mingw_BuildSamples.bat
mingw_BuildSamples.txt
mingwsdk.bat
readme.txt
removeabsolutepaths.vbs
vc11/
vc14/
within the vc14 dir I get this files from buildsdk.bat vc14

Code: Select all

/ogre/SDK/Win32/vc14
$ ls -w1
ALL_BUILD.vcxproj
ALL_BUILD.vcxproj.filters
api/
bin/
cmake/
cmake_install.cmake
CMakeCache.txt
CMakeFiles/
CMakeLists.txt
Components/
COPYING.txt
CPackConfig.cmake
CPackSourceConfig.cmake
Docs/
html.cfg
include/
inst/
INSTALL.vcxproj
INSTALL.vcxproj.filters
lib/
OGRE.sln
OGRE.VC.db
OgreMain/
PACKAGE.vcxproj
PACKAGE.vcxproj.filters
PlugIns/
RenderSystems/
Samples/
Tools/
version.txt
Win32/

And errors while building the above generated files is so long 97 errors, I've already built boost and it was able to build from the first step of building ogre core dependancies


My

Code: Select all

set 
output is like this

Code: Select all

E:\programming\ogre\ogre\SDK\Win32\vc14>set
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\xxx\AppData\Roaming
BOOST_INCLUDE_DIR=E:\programming\boost_1_55_0
BOOST_ROOT=E:\programming\boost_1_55_0
BUILD_DIR=vc14
CommonProgramFiles=C:\Program Files\Common Files
COMPILER=vc14
COMPUTERNAME=DRAGON
ComSpec=C:\Windows\system32\cmd.exe
DEVENV=devenv
DevEnvDir=C:\Program Files\Microsoft Visual Studio 14.0\Common7\IDE\
DXSDK_DIR=C:\Program Files\Microsoft DirectX SDK (June 2010)\
FP_NO_HOST_CHECK=NO
Framework40Version=v4.0
FrameworkDir=C:\Windows\Microsoft.NET\Framework\
FrameworkDIR32=C:\Windows\Microsoft.NET\Framework\
FrameworkVersion=v4.0.30319
FrameworkVersion32=v4.0.30319
GENERATOR="Visual Studio 14 2015"
HOMEDRIVE=C:
HOMEPATH=\Users\xxx
INCLUDE=C:\Program Files\Microsoft Visual Studio 14.0\VC\INCLUDE;C:\Program F
s\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE;C:\Program Files\Windows Kit
0\include\10.0.10240.0\ucrt;C:\Program Files\Windows Kits\NETFXSDK\4.6.1\incl
\um;C:\Program Files\Windows Kits\8.1\include\\shared;C:\Program Files\Window
its\8.1\include\\um;C:\Program Files\Windows Kits\8.1\include\\winrt;
J2D_D3D=false
KMP_DUPLICATE_LIB_OK=TRUE
LIB=C:\Program Files\Microsoft Visual Studio 14.0\VC\LIB;C:\Program Files\Mic
oft Visual Studio 14.0\VC\ATLMFC\LIB;C:\Program Files\Windows Kits\10\lib\10.
0240.0\ucrt\x86;C:\Program Files\Windows Kits\NETFXSDK\4.6.1\lib\um\x86;C:\Pr
am Files\Windows Kits\8.1\lib\winv6.3\um\x86;
LIBPATH=C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Program Files\Micros
 Visual Studio 14.0\VC\LIB;C:\Program Files\Microsoft Visual Studio 14.0\VC\A
FC\LIB;C:\Program Files\Windows Kits\8.1\References\CommonConfiguration\Neutr
\Microsoft.VCLibs\14.0\References\CommonConfiguration\neutral;
LOCALAPPDATA=C:\Users\xxx\AppData\Local
LOGONSERVER=\\MicrosoftAccount
MKL_SERIAL=YES
NETFXSDKDir=C:\Program Files\Windows Kits\NETFXSDK\4.6.1\
NUMBER_OF_PROCESSORS=1
OGREVERSION=1-10-7
OGRE_DEPENDENCIES_DIR=E:\programming\ogre\ogredeps\build\ogredeps
OGRE_HOME=E:\programming\ogre\sdk
OPENSSL_INCLUDE_DIR=E:\programming\openssl\include
OS=Windows_NT
Path=C:\Program Files\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensio
Microsoft\TestWindow;C:\Program Files\MSBuild\14.0\bin;C:\Program Files\Micro
t Visual Studio 14.0\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 14
VC\BIN;C:\Program Files\Microsoft Visual Studio 14.0\Common7\Tools;C:\Windows
crosoft.NET\Framework\v4.0.30319;C:\Program Files\Microsoft Visual Studio 14.
C\VCPackages;C:\Program Files\HTML Help Workshop;C:\Program Files\Microsoft V
al Studio 14.0\Team Tools\Performance Tools;C:\Program Files\Windows Kits\8.1
n\x86;C:\Program Files\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\;C
rogramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\Sys
32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\PuTTY\;C
rogram Files\Git\cmd;C:\Program Files\MySQL\MySQL Utilities 1.6\;C:\Program F
s\Skype\Phone\;C:\Program Files\doxygen\bin;C:\Program Files\TortoiseHg\;C:\W
ows\system32\config\systemprofile\.dnx\bin;C:\Program Files\Microsoft DNX\Dnv
C:\Program Files\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Fil
Nmap;C:\Program Files\FreeArc\bin;C:\Program Files\Heroku\bin;C:\Python27;C:\
hon27\Scripts;C:\Program Files\7-Zip;C:\Program Files\CMake\bin;C:\Program Fi
\Graphviz2.38\bin;C:\Program Files\Microsoft Visual Studio 14.0\VC\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 13, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0f0d
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\xxx\AppData\Local\Temp
TMP=C:\Users\xxxx\AppData\Local\Temp
UCRTVersion=10.0.10240.0
UniversalCRTSdkDir=C:\Program Files\Windows Kits\10\
USERDOMAIN=DRAGON
USERDOMAIN_ROAMINGPROFILE=DRAGON
USERNAME=xxxx
USERPROFILE=C:\Users\xxx
VCINSTALLDIR=C:\Program Files\Microsoft Visual Studio 14.0\VC\
VisualStudioVersion=14.0
VS140COMNTOOLS=C:\Program Files\Microsoft Visual Studio 14.0\Common7\Tools\
VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio 14.0\
windir=C:\Windows
WindowsLibPath=C:\Program Files\Windows Kits\8.1\References\CommonConfigurati
Neutral
WindowsSdkDir=C:\Program Files\Windows Kits\8.1\
WindowsSDKLibVersion=winv6.3\
WindowsSDKVersion=\
WindowsSDK_ExecutablePath_x86=C:\Program Files\Microsoft SDKs\Windows\v10.0A\
\NETFX 4.6.1 Tools\

Code: Select all

  OgreTrays.obj : error LNK2001: unresolved external symbol ___CxxFrameHandler3
 [E:\programming\ogre\ogre\SDK\Win32\vc14\Components\Bites\OgreBites.vcxproj]
  libboost_system-vc140-mt-1_55.lib(error_code.obj) : error LNK2001: unresolved
 external symbol ___CxxFrameHandler3 [E:\programming\ogre\ogre\SDK\Win32\vc14\C
omponents\Bites\OgreBites.vcxproj]
  msvcprt.lib(locale0_implib.obj) : error LNK2001: unresolved external symbol _
__CxxFrameHandler3 [E:\programming\ogre\ogre\SDK\Win32\vc14\Components\Bites\Og
reBites.vcxproj]
  OgreAdvancedRenderControls.obj : error LNK2001: unresolved external symbol __
_CxxFrameHandler3 [E:\programming\ogre\ogre\SDK\Win32\vc14\Components\Bites\Ogr
eBites.vcxproj]
  OgreApplicationContext.obj : error LNK2001: unresolved external symbol ___Cxx
FrameHandler3 [E:\programming\ogre\ogre\SDK\Win32\vc14\Components\Bites\OgreBit
es.vcxproj]
  OgreBitesConfigDialog.obj : error LNK2001: unresolved external symbol ___CxxF
rameHandler3 [E:\programming\ogre\ogre\SDK\Win32\vc14\Components\Bites\OgreBite
s.vcxproj]
  OgreCameraMan.obj : error LNK2001: unresolved external symbol ___CxxFrameHand
ler3 [E:\programming\ogre\ogre\SDK\Win32\vc14\Components\Bites\OgreBites.vcxpro
j]
  OgreStaticPluginLoader.obj : error LNK2001: unresolved external symbol _memcp
y [E:\programming\ogre\ogre\SDK\Win32\vc14\Components\Bites\OgreBites.vcxproj]
  OgreTrays.obj : error LNK2001: unresolved external symbol _memcpy [E:\program
ming\ogre\ogre\SDK\Win32\vc14\Components\Bites\OgreBites.vcxproj]
  libboost_system-vc140-mt-1_55.lib(error_code.obj) : error LNK2001: unresolved
 external symbol _memcpy [E:\programming\ogre\ogre\SDK\Win32\vc14\Components\Bi
tes\OgreBites.vcxproj]
  OgreAdvancedRenderControls.obj : error LNK2001: unresolved external symbol _m
emcpy [E:\programming\ogre\ogre\SDK\Win32\vc14\Components\Bites\OgreBites.vcxpr
oj]
  OgreApplicationContext.obj : error LNK2001: unresolved external symbol _memcp
y [E:\programming\ogre\ogre\SDK\Win32\vc14\Components\Bites\OgreBites.vcxproj]
  OgreCameraMan.obj : error LNK2001: unresolved external symbol _memcpy [E:\pro
gramming\ogre\ogre\SDK\Win32\vc14\Components\Bites\OgreBites.vcxproj]
  OgreSGTechniqueResolverListener.obj : error LNK2001: unresolved external symb
ol _memcpy [E:\programming\ogre\ogre\SDK\Win32\vc14\Components\Bites\OgreBites.
vcxproj]
  OgreApplicationContext.obj : error LNK2001: unresolved external symbol __pure
call [E:\programming\ogre\ogre\SDK\Win32\vc14\Components\Bites\OgreBites.vcxpro
j]
  OgreSGTechniqueResolverListener.obj : error LNK2001: unresolved external symb
ol __purecall [E:\programming\ogre\ogre\SDK\Win32\vc14\Components\Bites\OgreBit
es.vcxproj]
  OgreTrays.obj : error LNK2001: unresolved external symbol __purecall [E:\prog
ramming\ogre\ogre\SDK\Win32\vc14\Components\Bites\OgreBites.vcxproj]
  libboost_system-vc140-mt-1_55.lib(error_code.obj) : error LNK2001: unresolved
 external symbol __purecall [E:\programming\ogre\ogre\SDK\Win32\vc14\Components
\Bites\OgreBites.vcxproj]
  OgreApplicationContext.obj : error LNK2019: unresolved external symbol __imp_
__invalid_parameter_noinfo referenced in function _memcpy_s [E:\programming\ogr
e\ogre\SDK\Win32\vc14\Components\Bites\OgreBites.vcxproj]
  OgreApplicationContext.obj : error LNK2019: unresolved external symbol __imp_
__errno referenced in function _memcpy_s [E:\programming\ogre\ogre\SDK\Win32\vc
14\Components\Bites\OgreBites.vcxproj]
  OgreApplicationContext.obj : error LNK2019: unresolved external symbol __imp_
__get_stream_buffer_pointers referenced in function "protected: void __thiscall
 std::basic_filebuf<char,struct std::char_traits<char> >::_Init(struct _iobuf *
,enum std::basic_filebuf<char,struct std::char_traits<char> >::_Initfl)" (?_Ini
t@?$basic_filebuf@DU?$char_traits@D@std@@@std@@IAEXPAU_iobuf@@W4_Initfl@12@@Z)
[E:\programming\ogre\ogre\SDK\Win32\vc14\Components\Bites\OgreBites.vcxproj]
  OgreApplicationContext.obj : error LNK2019: unresolved external symbol __imp_
_fclose referenced in function "public: class std::basic_filebuf<char,struct st
d::char_traits<char> > * __thiscall std::basic_filebuf<char,struct std::char_tr
aits<char> >::close(void)" (?close@?$basic_filebuf@DU?$char_traits@D@std@@@std@
@QAEPAV12@XZ) [E:\programming\ogre\ogre\SDK\Win32\vc14\Components\Bites\OgreBit
es.vcxproj]
  OgreApplicationContext.obj : error LNK2019: unresolved external symbol __imp_
_fflush referenced in function "protected: virtual int __thiscall std::basic_fi
lebuf<char,struct std::char_traits<char> >::sync(void)" (?sync@?$basic_filebuf@
DU?$char_traits@D@std@@@std@@MAEHXZ) [E:\programming\ogre\ogre\SDK\Win32\vc14\C
omponents\Bites\OgreBites.vcxproj]
  OgreApplicationContext.obj : error LNK2019: unresolved external symbol __imp_
_fgetc referenced in function "protected: virtual int __thiscall std::basic_fil
ebuf<char,struct std::char_traits<char> >::uflow(void)" (?uflow@?$basic_filebuf
@DU?$char_traits@D@std@@@std@@MAEHXZ) [E:\programming\ogre\ogre\SDK\Win32\vc14\
Components\Bites\OgreBites.vcxproj]
  OgreApplicationContext.obj : error LNK2019: unresolved external symbol __imp_
_fgetpos referenced in function "protected: virtual class std::fpos<struct _Mbs
tatet> __thiscall std::basic_filebuf<char,struct std::char_traits<char> >::seek
off(__int64,int,int)" (?seekoff@?$basic_filebuf@DU?$char_traits@D@std@@@std@@MA
E?AV?$fpos@U_Mbstatet@@@2@_JHH@Z) [E:\programming\ogre\ogre\SDK\Win32\vc14\Comp
onents\Bites\OgreBites.vcxproj]
  OgreApplicationContext.obj : error LNK2019: unresolved external symbol __imp_
_fputc referenced in function "protected: virtual int __thiscall std::basic_fil
ebuf<char,struct std::char_traits<char> >::overflow(int)" (?overflow@?$basic_fi


EDIT
I've realized the problem occurs only when building ogrebites
User avatar
Aiden
Halfling
Posts: 54
Joined: Fri Jul 14, 2017 3:16 pm
x 5

Re: [VS/Win] Snapshot 12.03.2016

Post by Aiden »

After some researching,I think it maybe a similar issue to this https://software.intel.com/en-us/forums ... pic/558566
User avatar
Aiden
Halfling
Posts: 54
Joined: Fri Jul 14, 2017 3:16 pm
x 5

Re: [VS/Win] Snapshot 12.03.2016

Post by Aiden »

Okay, when I build ogre staticly it works, but then sample browse cannot load zip files.
User avatar
Aiden
Halfling
Posts: 54
Joined: Fri Jul 14, 2017 3:16 pm
x 5

Re: [VS/Win] Snapshot 12.03.2016

Post by Aiden »

I finally succeeded getting it to work ! :D
After three long days and nights of trying to get things to work. It turns out the problem lies mainly in the dependencies, after downloading your version I re-compiled ogre from a fresh directory and this time it built everything except for 1 error in debug version.
The samples and sample browser weren't being built after the initial build, I remembered that my version of dependencies could generate the visualstudio project files, maybe a problem with some more missing dependencies. I copied my dependencies ontop of yours without overwriting and rebuilt.
This time it successfully compliled.
Watchout when u add dependencies to your ogre libs, I haven't faced even a single error while compiling and yet mine didn't work.
Post Reply