SVN
- zuzuf
- Administrateur - Site Admin
- Posts: 3281
- Joined: Mon Oct 30, 2006 8:49 pm
- Location: Toulouse, France
- Contact:
Re: SVN
install mingw32, msys and cmake (the ones from doors's package work just fine). Then run msys, from msys run cmake in ta3d/trunk, it should autodetect environment variables and create the set of makefiles, then just run make. All required libraries for win32 platforms are in the source tree so you should not need anything else.
PS: I'll see the SVN right problem with milipili.
PS: I'll see the SVN right problem with milipili.
=>;-D Penguin Powered
- zuzuf
- Administrateur - Site Admin
- Posts: 3281
- Joined: Mon Oct 30, 2006 8:49 pm
- Location: Toulouse, France
- Contact:
Re: SVN
did you run cmake with the right generator ?
you can follow the 0.6 howto on the trac:
http://trac.ta3d.org/wiki/Install%200.6.x
You can also run the cmake_mingw32.sh script that should run cmake with the correct parameters.
Don't forget to delete the CMakeCache.txt file every time you change the parameters!
you can follow the 0.6 howto on the trac:
http://trac.ta3d.org/wiki/Install%200.6.x
You can also run the cmake_mingw32.sh script that should run cmake with the correct parameters.
Don't forget to delete the CMakeCache.txt file every time you change the parameters!
=>;-D Penguin Powered
Re: SVN
There is no need for MSys.
cmake . -G "MinGW Makefiles" just works fine.
cmake . -G "MinGW Makefiles" just works fine.
Damien Gerard
Ta3d & Yuni Developer
Ta3d & Yuni Developer
Re: SVN
As soon as TA3D uses libyuni, I will try to make it work with Visual Studio.
Damien Gerard
Ta3d & Yuni Developer
Ta3d & Yuni Developer
Re: SVN
Will cmake show help when success?
This is my makefile
http://pastebin.com/f66a07aa9
I config by GUI cmake,it warn 4 times,first is "OpenGL"&"glu32",then "TA3Dsrc not a working copy"&"CMP0010 not set" 3times.That's ok,i got the makefileAdministrator@WWW-1549834AB28 ~/ta3dsrc
$ cmake_mingw32.sh
cmake version 2.6-patch 3
Usage
cmake [options] <path-to-source>
cmake [options] <path-to-existing-build>
Options
-C <initial-cache> = Pre-load a script to populate the cache.
-D <var>:<type>=<value> = Create a cmake cache entry.
-U <globbing_expr> = Remove matching entries from CMake cache.
-G <generator-name> = Specify a makefile generator.
-Wno-dev = Suppress developer warnings.
-Wdev = Enable developer warnings.
-E = CMake command mode.
-i = Run in wizard mode.
-L[A][H] = List non-advanced cached variables.
-N = View mode only.
-P <file> = Process script mode.
--graphviz=[file] = Generate graphviz of dependencies.
--system-information [file] = Dump information about this system.
--debug-trycompile = Do not delete the try compile directories..
--debug-output = Put cmake in a debug mode.
--trace = Put cmake in trace mode.
--help-command cmd [file] = Print help for a single command and exit.
--help-command-list [file] = List available listfile commands and exit.
--help-commands [file] = Print help for all commands and exit.
--help-compatcommands [file]= Print help for compatibility commands.
--help-module module [file] = Print help for a single module and exit.
--help-module-list [file] = List available modules and exit.
--help-modules [file] = Print help for all modules and exit.
--help-custom-modules [file]= Print help for all custom modules and exit.
--help-policy cmp [file] = Print help for a single policy and exit.
--help-policies [file] = Print help for all policies and exit.
--help-property prop [file] = Print help for a single property and exit.
--help-property-list [file] = List available properties and exit.
--help-properties [file] = Print help for all properties and exit.
--help-variable var [file] = Print help for a single variable and exit.
--help-variable-list [file] = List documented variables and exit.
--help-variables [file] = Print help for all variables and exit.
--copyright [file] = Print the CMake copyright and exit.
--help = Print usage information and exit.
--help-full [file] = Print full help and exit.
--help-html [file] = Print full help in HTML format.
--help-man [file] = Print full help as a UNIX man page and exit.
--version [file] = Show program name/version banner and exit.
Generators
The following generators are available on this platform:
Borland Makefiles = Generates Borland makefiles.
MSYS Makefiles = Generates MSYS makefiles.
MinGW Makefiles = Generates a make file for use with
mingw32-make.
NMake Makefiles = Generates NMake makefiles.
Unix Makefiles = Generates standard UNIX makefiles.
Visual Studio 6 = Generates Visual Studio 6 project files.
Visual Studio 7 = Generates Visual Studio .NET 2002 project
files.
Visual Studio 7 .NET 2003 = Generates Visual Studio .NET 2003 project
files.
Visual Studio 8 2005 = Generates Visual Studio .NET 2005 project
files.
Visual Studio 8 2005 Win64 = Generates Visual Studio .NET 2005 Win64
project files.
Visual Studio 9 2008 = Generates Visual Studio 9 2008 project files.
Visual Studio 9 2008 Win64 = Generates Visual Studio 9 2008 Win64 project
files.
Watcom WMake = Generates Watcom WMake makefiles.
CodeBlocks - MinGW Makefiles= Generates CodeBlocks project files.
CodeBlocks - Unix Makefiles = Generates CodeBlocks project files.
Eclipse CDT4 - MinGW Makefiles
= Generates Eclipse CDT 4.0 project files.
Eclipse CDT4 - NMake Makefiles
= Generates Eclipse CDT 4.0 project files.
Eclipse CDT4 - Unix Makefiles
= Generates Eclipse CDT 4.0 project files.
Administrator@WWW-1549834AB28 ~/ta3dsrc
$ cmake -DCMAKE_TOOLCHAIN_FILE=toolchain-mingw32.cmake ./
cmake version 2.6-patch 3
Usage
cmake [options] <path-to-source>
cmake [options] <path-to-existing-build>
Options
-C <initial-cache> = Pre-load a script to populate the cache.
-D <var>:<type>=<value> = Create a cmake cache entry.
-U <globbing_expr> = Remove matching entries from CMake cache.
-G <generator-name> = Specify a makefile generator.
-Wno-dev = Suppress developer warnings.
-Wdev = Enable developer warnings.
-E = CMake command mode.
-i = Run in wizard mode.
-L[A][H] = List non-advanced cached variables.
-N = View mode only.
-P <file> = Process script mode.
--graphviz=[file] = Generate graphviz of dependencies.
--system-information [file] = Dump information about this system.
--debug-trycompile = Do not delete the try compile directories..
--debug-output = Put cmake in a debug mode.
--trace = Put cmake in trace mode.
--help-command cmd [file] = Print help for a single command and exit.
--help-command-list [file] = List available listfile commands and exit.
--help-commands [file] = Print help for all commands and exit.
--help-compatcommands [file]= Print help for compatibility commands.
--help-module module [file] = Print help for a single module and exit.
--help-module-list [file] = List available modules and exit.
--help-modules [file] = Print help for all modules and exit.
--help-custom-modules [file]= Print help for all custom modules and exit.
--help-policy cmp [file] = Print help for a single policy and exit.
--help-policies [file] = Print help for all policies and exit.
--help-property prop [file] = Print help for a single property and exit.
--help-property-list [file] = List available properties and exit.
--help-properties [file] = Print help for all properties and exit.
--help-variable var [file] = Print help for a single variable and exit.
--help-variable-list [file] = List documented variables and exit.
--help-variables [file] = Print help for all variables and exit.
--copyright [file] = Print the CMake copyright and exit.
--help = Print usage information and exit.
--help-full [file] = Print full help and exit.
--help-html [file] = Print full help in HTML format.
--help-man [file] = Print full help as a UNIX man page and exit.
--version [file] = Show program name/version banner and exit.
Generators
The following generators are available on this platform:
Borland Makefiles = Generates Borland makefiles.
MSYS Makefiles = Generates MSYS makefiles.
MinGW Makefiles = Generates a make file for use with
mingw32-make.
NMake Makefiles = Generates NMake makefiles.
Unix Makefiles = Generates standard UNIX makefiles.
Visual Studio 6 = Generates Visual Studio 6 project files.
Visual Studio 7 = Generates Visual Studio .NET 2002 project
files.
Visual Studio 7 .NET 2003 = Generates Visual Studio .NET 2003 project
files.
Visual Studio 8 2005 = Generates Visual Studio .NET 2005 project
files.
Visual Studio 8 2005 Win64 = Generates Visual Studio .NET 2005 Win64
project files.
Visual Studio 9 2008 = Generates Visual Studio 9 2008 project files.
Visual Studio 9 2008 Win64 = Generates Visual Studio 9 2008 Win64 project
files.
Watcom WMake = Generates Watcom WMake makefiles.
CodeBlocks - MinGW Makefiles= Generates CodeBlocks project files.
CodeBlocks - Unix Makefiles = Generates CodeBlocks project files.
Eclipse CDT4 - MinGW Makefiles
= Generates Eclipse CDT 4.0 project files.
Eclipse CDT4 - NMake Makefiles
= Generates Eclipse CDT 4.0 project files.
Eclipse CDT4 - Unix Makefiles
= Generates Eclipse CDT 4.0 project files.
I had check base.cpp,but wtf?!Allright but make fucking tell me errno.[ 1%] Building CXX object src/gfx/gui/CMakeFiles/gui.dir/base.cpp.obj
In file included from f:/mingwF/home/Administrator/TA3Dsrc/src/gfx/gui/../../stdafx.h:33,
from f:/mingwF/home/Administrator/TA3Dsrc/src/gfx/gui/base.cpp:17:
f:/mingwF/home/Administrator/TA3Dsrc/src/gfx/gui/../../../config.h:27: error: missing terminating " character
make[2]: *** [src/gfx/gui/CMakeFiles/gui.dir/base.cpp.obj] Error 1
make[1]: *** [src/gfx/gui/CMakeFiles/gui.dir/all] Error 2
make: *** [all] Error 2
This is my makefile
http://pastebin.com/f66a07aa9
Re: SVN
For my part, a simple
cmake . -G "MinGW Makefiles"
In the trunk of ta3d is enough to configure.
Then mingw32-make to compile ta3d binaries.
cmake . -G "MinGW Makefiles"
In the trunk of ta3d is enough to configure.
Then mingw32-make to compile ta3d binaries.
Damien Gerard
Ta3d & Yuni Developer
Ta3d & Yuni Developer
Re: SVN
I Decompression mingw32 with FMOD.Download msys and installed,then copy all msys file to mingw32f floden.
And then,copy all FMOD lib to minggw32f\include
after that,i installed cmake,and copy all file to mingw32f\
Next src copy to mingw32f\home\xpoy\ta3dsrc
Run msys and cd ta3dsrc
cmake -G "MSYS Makefiles" ./
Cmake show me <help>
I made makefils by GUI Cmake,then cd msys to ta3dsrc,and make
I find this
Change to
Then all ok,wtf
I made a translater video by 0.6svn,beatiful
Some the keys images
ta3d 2009-05-01 20-48-36-29.mp4
And then,copy all FMOD lib to minggw32f\include
after that,i installed cmake,and copy all file to mingw32f\
Next src copy to mingw32f\home\xpoy\ta3dsrc
Run msys and cd ta3dsrc
cmake -G "MSYS Makefiles" ./
Cmake show me <help>
I made makefils by GUI Cmake,then cd msys to ta3dsrc,and make
Open the config.h:/mingwF/home/Administrator/TA3Dsrc/src/gfx/gui/../../../config.h:27: error: missing terminating " character
make[2]: *** [src/gfx/gui/CMakeFiles/gui.dir/base.cpp.obj] Error 1
make[1]: *** [src/gfx/gui/CMakeFiles/gui.dir/all] Error 2
I find this
Code: Select all
"# define TA3D_CURRENT_REVISION "SubWCRev : 'F:\mingwF\home\Administrator\TA3Dsrc' is not a working copy
"
Code: Select all
"# define TA3D_CURRENT_REVISION "SubWCRev : 'F:\mingwF\home\Administrator\TA3Dsrc' is not a working copy"
I made a translater video by 0.6svn,beatiful
Some the keys images
ta3d 2009-05-01 20-48-36-29.mp4
Re: SVN
Oh no.
The video is really great,I reupload video.
This time will work:
http://cid-dd761cec1c1d3498.skydrive.li ... -36-29.mp4
The video is really great,I reupload video.
This time will work:
http://cid-dd761cec1c1d3498.skydrive.li ... -36-29.mp4
Re: SVN
Yeah ^^
please zuzuf open a ftp to put all those videos !
please zuzuf open a ftp to put all those videos !
Damien Gerard
Ta3d & Yuni Developer
Ta3d & Yuni Developer
Re: SVN
~_~
I delete a lots screenshots .
But there are some thing still alive in here:
http://bbs.taclub.net/taclub/newTA/forum-49-1.html
Google translate
http://translate.google.cn/translate?u= ... N&ie=UTF-8
I delete a lots screenshots .
But there are some thing still alive in here:
http://bbs.taclub.net/taclub/newTA/forum-49-1.html
Google translate
http://translate.google.cn/translate?u= ... N&ie=UTF-8
Last edited by xpoy on Sun May 03, 2009 10:18 pm, edited 1 time in total.
Re: SVN
The newest Svn ta3d src doesn't contains SDL includes
Or it doesn't included.I don't know what's wrong.
what's this?
This is" make" view:
http://pastebin.com/f68e43373
Or it doesn't included.I don't know what's wrong.
what's this?
Code: Select all
f:/mingw/home/Owner/trunk/src/ta3d/src/stdafx.h:45:24: yuni/yuni.h: No such file or directory
http://pastebin.com/f68e43373
- zuzuf
- Administrateur - Site Admin
- Posts: 3281
- Joined: Mon Oct 30, 2006 8:49 pm
- Location: Toulouse, France
- Contact:
Re: SVN
Since last week, TA3D uses Yuni which you can find in the trunk folder. You probably ran cmake/make from trunk/src/ta3d/ which isn't any more the correct way to do things.
First clean all your CMakeCache.txt files, then run cmake from trunk/src, then make (from the same folder). This should work, I haven't tested it on windows yet ... but it should do it if there is no problem with Yuni (milipili knows Yuni better than I, so if you run into Yuni problems you should see that with him).
First clean all your CMakeCache.txt files, then run cmake from trunk/src, then make (from the same folder). This should work, I haven't tested it on windows yet ... but it should do it if there is no problem with Yuni (milipili knows Yuni better than I, so if you run into Yuni problems you should see that with him).
=>;-D Penguin Powered
Re: SVN
You also needs to fetch externals with Subversion, since TA3D directly uses the repository of Yuni in its sources (/trunk/src/libs/yuni, see http://trac.ta3d.org/browser/trunk/src/libs and http://svnbook.red-bean.com/en/1.0/ch07s03.html for more informations). TortoiseSVN automatically does that with the default settings.
Like zuzuf said, the good root folder for CMake is now /trunk/src, which will in a near future compile all applications at once (Ta3D, 3DMeditor2...).
I am currently making a patch to libyuni for mingw. It will be available tonight.
Like zuzuf said, the good root folder for CMake is now /trunk/src, which will in a near future compile all applications at once (Ta3D, 3DMeditor2...).
I am currently making a patch to libyuni for mingw. It will be available tonight.
Damien Gerard
Ta3d & Yuni Developer
Ta3d & Yuni Developer
Re: SVN
I got it,it was a hide lib!
After put yuni into libs
The cmake first time tell me wrong,then try again with cache it worked.
Make throw some code errors.
return (void *) YUNI_DYNLIB_DLSYM(h, name);
Sleep(seconds);
No idea in usleep undefined
There are a lot scope error in yuni now.I going to sleep,it was 5:00 am,~_~
See next svn version
After put yuni into libs
The cmake first time tell me wrong,then try again with cache it worked.
Make throw some code errors.
Code: Select all
f:/mingw/home/Owner/trunk/src/libs/yuni/src/yuni/toolbox/dynamiclibrary/file.cpp: In static member function `static void* Yuni::DynamicLibrary::File::wrapperDlSym(HINSTANCE__*, const char*)':
f:/mingw/home/Owner/trunk/src/libs/yuni/src/yuni/toolbox/dynamiclibrary/file.cpp:50: error: invalid conversion from `int (*)()' to `void*'
make[2]: *** [libs/yuni/src/yuni/CMakeFiles/yuni-static-core.dir/toolbox/dynamiclibrary/file.cpp.obj] Error 1
make[1]: *** [libs/yuni/src/yuni/CMakeFiles/yuni-static-core.dir/all] Error 2
make: *** [all] Error 2
Code: Select all
f:/mingw/home/Owner/trunk/src/libs/yuni/src/yuni/toolbox/system/sleep.cpp: In function `void Yuni::Sleep(Yuni::uint32)':
f:/mingw/home/Owner/trunk/src/libs/yuni/src/yuni/toolbox/system/sleep.cpp:19: error: `sleep' was not declared in this scope
f:/mingw/home/Owner/trunk/src/libs/yuni/src/yuni/toolbox/system/sleep.cpp: In function `void Yuni::SleepMilliSeconds(Yuni::uint32)':
f:/mingw/home/Owner/trunk/src/libs/yuni/src/yuni/toolbox/system/sleep.cpp:29: error: `usleep' was not declared in this scope
make[2]: *** [libs/yuni/src/yuni/CMakeFiles/yuni-static-core.dir/toolbox/system/sleep.cpp.obj] Error 1
make[1]: *** [libs/yuni/src/yuni/CMakeFiles/yuni-static-core.dir/all] Error 2
No idea in usleep undefined
There are a lot scope error in yuni now.I going to sleep,it was 5:00 am,~_~
See next svn version
Re: SVN
You can update your local copy. I made Ta3d compile on WIndows using MinGW.
Using those two commands :
Using those two commands :
Code: Select all
cmake . -G "MinGW Makefiles"
mingw32-make
Damien Gerard
Ta3d & Yuni Developer
Ta3d & Yuni Developer
Re: SVN
About the sleep routine, the define was a bit too restrictive
Damien Gerard
Ta3d & Yuni Developer
Ta3d & Yuni Developer
Re: SVN
By the way, zuzuf could you check that the cross-compil still works ?
Damien Gerard
Ta3d & Yuni Developer
Ta3d & Yuni Developer
Re: SVN
I got errno because no vc and in win32
Sucking
Add
# define YUNI_OS_WINDOWS
into yuni.h
Then it go further...
But wrong again in sleep.cpp
Is that should a vc?
No idea in
cmake MinGW should used cmd shell,but it include linux path format,thus cmd couldn't made it,Confused~_~
Help!
Sucking
Code: Select all
cmake -G "MSYS Makefiles" ./
mingw32-make
# define YUNI_OS_WINDOWS
into yuni.h
Then it go further...
But wrong again in sleep.cpp
Is that should a vc?
No idea in
Code: Select all
cmake . -G "MinGW Makefiles"
mingw32-make
Help!
Re: SVN
Windows has a compatibility mode for paths. It compiles well with MinGW but I have not tryied with MSYS.
May be libyuni lacks of detection with MSYS, which is an hybrid system. Contrary to the most frameworks, the operating system detection is provided by the headers. This way, headers are the same and work in the same way for each platform. Please try with cmd in a first time.
When you have some error, please post the output of your console (or a screenshot) in the same time. It would be easier to help you, or to make a patch to fix the error you encountered.
May be libyuni lacks of detection with MSYS, which is an hybrid system. Contrary to the most frameworks, the operating system detection is provided by the headers. This way, headers are the same and work in the same way for each platform. Please try with cmd in a first time.
When you have some error, please post the output of your console (or a screenshot) in the same time. It would be easier to help you, or to make a patch to fix the error you encountered.
Damien Gerard
Ta3d & Yuni Developer
Ta3d & Yuni Developer
Re: SVN
http://translate.google.cn/translate?u= ... N&ie=UTF-8
This is my all file download.
I must prepare for my groudfather birthday,It will cast all time,but i just had time to write AI.
I used XP SP2,no any updata.
This is my all file download.
I must prepare for my groudfather birthday,It will cast all time,but i just had time to write AI.
I used XP SP2,no any updata.
Who is online
Users browsing this forum: No registered users and 31 guests