How to get the newest Irrlicht Version from SVN?
How to get the newest Irrlicht Version from SVN?
Can someone explain me that?
ive no experiences with SVN and dont really know where to start...
ive no experiences with SVN and dont really know where to start...
My Blog: http://www.freakybytes.org
1. grab svn for your OS here:
http://subversion.tigris.org/
2. Make sure paths are set properly to run SVN anywhere in your system from a command or a shell window (in case you got linux).
3. Open a command line (run CMD in windows or open a shell in linux), CD (change directory) to where you want the checkout to be placed. UPDATE: if you're using Codeblocks as IDE, it expects irrlicht to be in C:\irrlicht in windows, in Linux simply checkout to /home/youraccount/irrlicht.
4.To checkout the trunk version Type:
5.Wait for it to download
6.Compile and be happy
7.Buy milk, cookies, bread, oh no! that's my market shopping list
IMPORTANT EDIT:
To get a specific branch (i.e. 1.6) , try this instead:
http://subversion.tigris.org/
2. Make sure paths are set properly to run SVN anywhere in your system from a command or a shell window (in case you got linux).
3. Open a command line (run CMD in windows or open a shell in linux), CD (change directory) to where you want the checkout to be placed. UPDATE: if you're using Codeblocks as IDE, it expects irrlicht to be in C:\irrlicht in windows, in Linux simply checkout to /home/youraccount/irrlicht.
4.To checkout the trunk version Type:
Code: Select all
svn co https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/trunk irrlicht
6.Compile and be happy
7.Buy milk, cookies, bread, oh no! that's my market shopping list
IMPORTANT EDIT:
To get a specific branch (i.e. 1.6) , try this instead:
Code: Select all
svn co https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/branches/releases/1.6 irrlicht
Last edited by afecelis on Mon Nov 02, 2009 4:20 am, edited 10 times in total.
thanks everything works fine
but you should hurry stores close soon
but you should hurry stores close soon
My Blog: http://www.freakybytes.org
not the donut shop here, that donut shop's in Albuquerquedawasw wrote:Omg thats great I'll have to visit Salt Lake in future.
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Providing patch files with SVN
If you want to provide new features or bug fixes for Irrlicht it's best to do those changes against the latest SVN code. To do this implement and test them based on the SVN code. Don't forget to update the SVN on a regularly basis.
Finally, make a SVN-Diff which generates the patch file to be used by others (and also the developers team to integrate them into the core, if applicable). If your SVN GUI does not support such a method (or you don't use a GUI at all) you can issue 'svn diff >newfile.patch' from the command line, probably best from the source directory. And please choose a useful name instead of newfile
Finally, make a SVN-Diff which generates the patch file to be used by others (and also the developers team to integrate them into the core, if applicable). If your SVN GUI does not support such a method (or you don't use a GUI at all) you can issue 'svn diff >newfile.patch' from the command line, probably best from the source directory. And please choose a useful name instead of newfile
Found this site while googling:
http://ftp.ncnu.edu.tw/MsDownload/directx/
It contains all the directx SDKs from v5 to latest. The one of interest is of course dx8 sdk if you don't have a copy anywhere (it's needed to build the irrlicht).
http://ftp.ncnu.edu.tw/MsDownload/directx/
It contains all the directx SDKs from v5 to latest. The one of interest is of course dx8 sdk if you don't have a copy anywhere (it's needed to build the irrlicht).
It looks like the site is down for me. But to get the build to compile past the dx8 stuff (note this is using the "source/Irrlicht/Irrlicht8.0.sln" build with VS2005 with irrlicht SVN revision 276):sgt_pinky wrote:Great find Lug. Thanks.
1. add in the include path to your directx 9 sdk (I have the october 2006) to the project properties's c/c++->general->additional include directories.
2. add in the library path to directx 9 sdk from number one to the project properties's Linker->General->additional library directories.
3. copy the following 8 files from the "DX81SDK_FULL.exe" (there's no need to install the 8.1 SDK; this is a zip archive so look for the "DXSDK\include" folder inside the archive) to the directx 9 sdk include folder:
d3dx8mesh.h
d3dx8.h
d3dx8tex.h
d3dx8shape.h
d3dx8math.h
d3dx8math.inl
d3dx8effect.h
d3dx8core.h
4. copy the following file from the "DX81SDK_FULL.exe" (look for the "DXSDK\lib" folder inside the archive) to the directx 9 sdk lib folder (lib/x86):
d3dx8.lib
5. remove "SColor.cpp" from the solution explorer (irrlicht->gui impl).
6. now build and it should get past the dx8 errors and build the irrlicht.lib file.
Update:
Hmmm...well, if I build for debug I get the following linker error:
fatal error LNK1104: cannot open file '..\obj\IrrDebug\SColor.obj'
If I build for release, I get the following error:
fatal error C1083: Cannot open source file: '.\SColor.cpp': No such file or directory
why is that I wonder?
Update #2:
Nevermind, looks like it's a known issue (page 8, look at sio2's post):
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=13869
Update #3:
Fixed the post to reflect new info from hybrid (thanks!).
Update #4:
How to build irrlicht .net SVN (rev 276 -- I was successful after many hours researching the forum) with VS 2005:
1. add "msvcmrt.lib" to "Linker->Input->Additional Dependencies" in your project property.
2. perform a search and replace on project for "[Paramflag::Out]" and replace with "[Out]". This should touch the following files (14 places total):
\source\Irrlicht.NET\ISceneCollisionManager.cpp (4 places)
\source\Irrlicht.NET\ISceneCollisionManager.h (4 places)
\source\Irrlicht.NET\Line3D.h (1 places)
\source\Irrlicht.NET\Plane3D.h (5 places)
3. change the following line in "\source\Irrlicht.NET\Irrlicht.NET.cpp":
bool IrrlichtDevice::NativeEventReceiver::OnEvent(irr::SEvent e)
to
bool IrrlichtDevice::NativeEventReceiver::OnEvent(const irr::SEvent &e)
4. change the following line in "\source\Irrlicht.NET\Irrlicht.NET.h":
bool OnEvent(irr::SEvent e);
to
bool OnEvent(const irr::SEvent &e);
5. perform the following changes to "include\ICameraSceneNode.h":
a. add "#include "SViewFrustrum.h".
b. comment out "struct SViewFrustrum".
6. create a folder called "debug" in the "\source" folder.
7. copy over "Irrlicht.lib" from "lib\Win32-visualstudio" (you should have this built already if you follow the non-.net SVN build steps at the top of this post) to the folder created in step 6.
For some reason, the default irrlicht .net is not looking in it's "\source\Irrlicht.NET\Debug" folder but instead looks for "Irrlicht.lib" in the "\source\debug" level. That's why steps 6 and 7 are needed.
8. build and you should have a SVN .NET version of Irrlicht without any errors.
Update #5:
I've packed everything and uploaded to rapidshare so that anyone can take a look at the settings and so forth in the solution/project files if the above instructions weren't clear.
I've removed all the svn/obj/intermediate files to reduce the file size (32 MB to 14 MB) of the archive. I did not build any of the example files. I did build release and debug versions of the .NET and non-.NET win32 .dlls (built using DX8.1 SDK and DX9 August 2006 SDK).
This does not contain any other library builds except for WIN32 (no gcc). All the source files are there. Again, this is not supported and not an official build. Use at your own risk.
Download from the link below:
<<see update 7>>
Update #6:
Sorry, the above link doesn't work. I'll see if I can find another place to upload.
Update #7:
Okay, new download link (removed some left over obj files so now it's 10 MB instead of 14 MB):
http://www.megaupload.com/?d=WYYQCV93
Last edited by lug on Fri Nov 03, 2006 8:37 pm, edited 6 times in total.
FPT url, HTTP transfer protocol??? Make sure you post the...
Declaring a FTP url as an HTTP transfer protocol? Maybe this is why everyone has been getting problems trying to access this site! I tried just ftp.ncnu.edu.tw/MsDownload/directx/ and that worked! Make sure you post the urls correctly next time!lug wrote:Found this site while googling:
http://ftp.ncnu.edu.tw/MsDownload/directx/
It contains all the directx SDKs from v5 to latest. The one of interest is of course dx8 sdk if you don't have a copy anywhere (it's needed to build the irrlicht).