Development > Newbie Coding
Meet the Newbie !
Thyranim:
--- Quote from: Mattn on August 22, 2009, 10:20:14 pm ---it's already included in the script - it's just waiting that some windows user opens the mingw shell, run the script and check that everything is where it is supposed to be
--- End quote ---
so what to do? download your codeblocks.zip and than run which script ?
the project-compilation??
Destructavator:
--- Quote from: Mattn on August 22, 2009, 10:20:14 pm ---it's already included in the script - it's just waiting that some windows user opens the mingw shell, run the script and check that everything is where it is supposed to be
it's a nightmare for a linux-only user to prepare a windows-only package that windows users have to test - and rerun this script in case some stuff failed. that's a task a windows user should do.
so we need someone who feel responsible for this... maybe odie? ;)
--- End quote ---
I just got it working (figured it out from the wiki) and I'll try to upload a package soon.
Thyranim, try looking for instructions in the wiki, from the front page navigate to "compile" then "Windows" and then "CodeBlocks." Then look at the bottom of the page for creating a package.
Thyranim:
after downloading mattns codeblocks and openal-package, clean rebuild workspace works now without error
--- Code: ---||=== ufo, windows_debug ===|
D:\_Development\UFOAISVN\ufoai-trunk\src\client\campaign\cp_fightequip_callbacks.c|135|warning: 'AII_GetTechnologyToDisplay' defined but not used|
D:\_Development\UFOAISVN\ufoai-trunk\src\client\renderer\r_error.h|48|warning: 'R_CheckErrorDebug' defined but not used|
||=== uforadiant_model, windows_debug ===|
..\..\src\tools\radiant\libs\autoptr.h||In destructor 'AutoPtr<T>::~AutoPtr() [with T = ArchiveFile]':|
D:\_Development\UFOAISVN\ufoai-trunk\src\tools\radiant\plugins\model\plugin.cpp|117|instantiated from here|
..\..\src\tools\radiant\libs\autoptr.h|9|warning: possible problem detected in invocation of delete operator:|
..\..\src\tools\radiant\libs\autoptr.h|9|warning: invalid use of incomplete type 'struct ArchiveFile'|
..\..\src\tools\radiant\include\iimage.h|47|warning: forward declaration of 'struct ArchiveFile'|
..\..\src\tools\radiant\libs\autoptr.h|9|note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.|
||=== uforadiant, windows_debug ===|
||warning: command line option "-Wno-non-virtual-dtor" is valid for C++/ObjC++ but not for C|
||warning: command line option "-Wno-non-virtual-dtor" is valid for C++/ObjC++ but not for C|
D:\_Development\UFOAISVN\ufoai-trunk\src\tools\radiant\libs\gtkutil\filechooser.cpp|149|warning: 'shortcutFoldersInBaseDir' defined but not used|
D:\_Development\UFOAISVN\ufoai-trunk\src\tools\radiant\radiant\exec.cpp||In function 'void exec_spawn_process(ExecCmd*, void (*)(void*))':|
D:\_Development\UFOAISVN\ufoai-trunk\src\tools\radiant\radiant\exec.cpp|196|warning: statement has no effect|
D:\_Development\UFOAISVN\ufoai-trunk\src\tools\radiant\radiant\exec.cpp||In function 'void exec_run(Exec*)':|
D:\_Development\UFOAISVN\ufoai-trunk\src\tools\radiant\radiant\exec.cpp|396|warning: statement has no effect|
D:\_Development\UFOAISVN\ufoai-trunk\src\tools\radiant\radiant\pathfinding\Routing.h|12|warning: 'routing::m_routingShader' defined but not used|
D:\_Development\UFOAISVN\ufoai-trunk\src\tools\radiant\radiant\server.cpp|204|warning: 'dllexport' attribute ignored|
||=== Build finished: 0 errors, 12 warnings ===|
--- End code ---
but never build installer-package before, so perhaps it's best to wait for odie so he's experienced in this ;)
Mattn:
installer package creation is easy - install nsis ( http://nsis.sf.net ) and right click the src/ports/windows/installer.nsi afterwards to select the compile option - that's all
Thyranim:
Hm, i'll give it a try and leave update ;)
Update:
whoops .... didn't work and i wasn't able to read the words in the error message ...
didn't find pk3-files .... of course, forgot to archive them :D
created and restarted the nsis-script
currently compressing
installpackage created successfully
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version