Total servers: 0
Pages: [1] 2 3 ... 6   Go Down

Author Topic: [HowTo] Compiling OLX on Windows for dummies  (Read 41693 times)

DarkCharlie

[HowTo] Compiling OLX on Windows for dummies
« on: August 13, 2007, 05:34:00 pm »
« Last Edit: October 29, 2009, 01:39:20 pm by DarkCharlie »

RuNyoufool

Re: [HowTo] Compiling OLX on Windows for dummies
« Reply #1 on: August 13, 2007, 05:46:44 pm »
Wow, very thorough tutorial! Now everyone can check out the latest versions!
this was posted in the past. everything on forums can be manipulated. don't believe what you see or read.

Griffin

Re: [HowTo] Compiling OLX on Windows for dummies
« Reply #2 on: August 13, 2007, 06:26:07 pm »
A useful piece of information for anyone who wants to compile the SVN source, avoid using any features that were most probably designed by me unless I have said in one of my messages that it is stable or working (even then I would be wary if I were you).

Also for anyone with Visual C++ 6 if you get an error about being unable to open precompiled header game.pch just keep recompiling until it goes away.
« Last Edit: November 11, 2007, 08:49:27 pm by griffin »

Spectro

Re: [HowTo] Compiling OLX on Windows for dummies
« Reply #3 on: August 14, 2007, 10:47:59 pm »
Dear DC,

YOU DA MAN


Sincerely,
Spectro

joni

Re: [HowTo] Compiling OLX on Windows for dummies
« Reply #4 on: August 15, 2007, 05:42:21 pm »
Really thankyou. ;D
Now I can add my little 1337 thing into my server =D
« Last Edit: August 24, 2007, 06:32:00 am by joni »

Rusty023

Re: [HowTo] Compiling OLX on Windows for dummies
« Reply #5 on: December 16, 2007, 09:43:51 am »
The link for the Dev-C++ Dependencies is broken, please fix.
Member of [bio] - Bring It On
Go to www.auslx.tk to support Australian LieroX Gaming.

RuNyoufool

Re: [HowTo] Compiling OLX on Windows for dummies
« Reply #6 on: December 16, 2007, 08:12:52 pm »
The link for the Dev-C++ Dependencies is broken, please fix.

fixed. will break again when i move the forums :-)
this was posted in the past. everything on forums can be manipulated. don't believe what you see or read.

DarkCharlie

Re: [HowTo] Compiling OLX on Windows for dummies
« Reply #7 on: January 09, 2008, 03:11:13 pm »
Update: added tutorial for VC++ 2008, updated the dependencies installers.

Kurko

Re: [HowTo] Compiling OLX on Windows for dummies
« Reply #8 on: January 16, 2009, 09:07:11 pm »
I tried this with Dev-C++ but it didn't make the OpenLieroX.exe. I have only made changes to Menu_Net_Internet.cpp to create the messaging box. Here's the compiler log:

Quote
Compiler: Default compiler
Building Makefile: "C:\Liero\Krääsä\Lähdekoodit\SVN\build\DevCpp\Makefile.win"
Executing  make...
make.exe -f "C:\Liero\Krääsä\Lähdekoodit\SVN\build\DevCpp\Makefile.win" all
g++.exe -c ../../src/common/Unicode.cpp -o objs/Unicode.o -I"D:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"  -I"D:/Dev-Cpp/include/c++/3.4.2/backward"  -I"D:/Dev-Cpp/include/c++/3.4.2/mingw32"  -I"D:/Dev-Cpp/include/c++/3.4.2"  -I"D:/Dev-Cpp/include"  -I"D:/Dev-Cpp/include/SDL"  -I"../../include"  -DUSE_RWOPS -DHAVE_BOOST   -fexceptions -O2

../../src/common/Unicode.cpp: In function `std::string Utf8ToSystemNative(const std::string&)':
../../src/common/Unicode.cpp:1065: error: `WC_NO_BEST_FIT_CHARS' undeclared (first use this function)
../../src/common/Unicode.cpp:1065: error: (Each undeclared identifier is reported only once for each function it appears in.)

make.exe: *** [objs/Unicode.o] Error 1

Execution terminated

DarkCharlie

Re: [HowTo] Compiling OLX on Windows for dummies
« Reply #9 on: January 18, 2009, 03:25:44 pm »
I tried this with Dev-C++ but it didn't make the OpenLieroX.exe. I have only made changes to Menu_Net_Internet.cpp to create the messaging box. Here's the compiler log:

Quote
Compiler: Default compiler
Building Makefile: "C:\Liero\Krääsä\Lähdekoodit\SVN\build\DevCpp\Makefile.win"
Executing  make...
make.exe -f "C:\Liero\Krääsä\Lähdekoodit\SVN\build\DevCpp\Makefile.win" all
g++.exe -c ../../src/common/Unicode.cpp -o objs/Unicode.o -I"D:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"  -I"D:/Dev-Cpp/include/c++/3.4.2/backward"  -I"D:/Dev-Cpp/include/c++/3.4.2/mingw32"  -I"D:/Dev-Cpp/include/c++/3.4.2"  -I"D:/Dev-Cpp/include"  -I"D:/Dev-Cpp/include/SDL"  -I"../../include"  -DUSE_RWOPS -DHAVE_BOOST   -fexceptions -O2

../../src/common/Unicode.cpp: In function `std::string Utf8ToSystemNative(const std::string&)':
../../src/common/Unicode.cpp:1065: error: `WC_NO_BEST_FIT_CHARS' undeclared (first use this function)
../../src/common/Unicode.cpp:1065: error: (Each undeclared identifier is reported only once for each function it appears in.)

make.exe: *** [objs/Unicode.o] Error 1

Execution terminated

Sorry, I forgot to update the Dev-Cpp project. It is fixed now, just update your copy from the OLX Subversion repository.

Kurko

Re: [HowTo] Compiling OLX on Windows for dummies
« Reply #10 on: January 18, 2009, 07:12:34 pm »
Errors again...  ???

Quote
Compiler: Default compiler
Building Makefile: "C:\Liero\Krääsä\Lähdekoodit\SVN\build\DevCpp\Makefile.win"
Executing  make...
make.exe -f "C:\Liero\Krääsä\Lähdekoodit\SVN\build\DevCpp\Makefile.win" all
g++.exe -c ../../src/server/DedicatedControl.cpp -o ../../src/server/DedicatedControl.o -I"D:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"  -I"D:/Dev-Cpp/include/c++/3.4.2/backward"  -I"D:/Dev-Cpp/include/c++/3.4.2/mingw32"  -I"D:/Dev-Cpp/include/c++/3.4.2"  -I"D:/Dev-Cpp/include"  -I"D:/Dev-Cpp/include/SDL"  -I"../../libs/hawknl/include"  -I"../../include"  -I"../../libs/hawknl/src"  -I"../../libs/boost_process"  -I"../../libs/libzip"  -DUSE_RWOPS -DHAVE_BOOST -D_WIN32_WINDOWS=0x0410 -DWINVER=0x500   -fexceptions -O2

In file included from ../../libs/boost_process/boost/process.hpp:25,
                 from ../../src/server/DedicatedControl.cpp:79:
../../libs/boost_process/boost/process/config.hpp:23:28: boost/config.hpp: No such file or directory
In file included from ../../libs/boost_process/boost/process.hpp:30,
                 from ../../src/server/DedicatedControl.cpp:79:
../../libs/boost_process/boost/process/child.hpp:41:28: boost/assert.hpp: No such file or directory
In file included from ../../libs/boost_process/boost/process/detail/file_handle.hpp:39,
                 from ../../libs/boost_process/boost/process/detail/pipe.hpp:38,
                 from ../../libs/boost_process/boost/process/child.hpp:42,

                 from ../../libs/boost_process/boost/process.hpp:30,
                 from ../../src/server/DedicatedControl.cpp:79:
../../libs/boost_process/boost/process/exceptions.hpp: In member function `virtual const char* boost::process::system_error::what() const':
../../libs/boost_process/boost/process/exceptions.hpp:183: error: `BOOST_ASSERT' undeclared (first use this function)
../../libs/boost_process/boost/process/exceptions.hpp:183: error: (Each undeclared identifier is reported only once for each function it appears in.)

In file included from ../../libs/boost_process/boost/process/detail/pipe.hpp:38,
                 from ../../libs/boost_process/boost/process/child.hpp:42,
                 from ../../libs/boost_process/boost/process.hpp:30,
                 from ../../src/server/DedicatedControl.cpp:79:
../../libs/boost_process/boost/process/detail/file_handle.hpp:40:37: boost/throw_exception.hpp: No such file or directory

In file included from ../../libs/boost_process/boost/process/detail/pipe.hpp:38,
                 from ../../libs/boost_process/boost/process/child.hpp:42,
                 from ../../libs/boost_process/boost/process.hpp:30,
                 from ../../src/server/DedicatedControl.cpp:79:
../../libs/boost_process/boost/process/detail/file_handle.hpp: In constructor `boost::process::detail::file_handle::file_handle(void*)':
../../libs/boost_process/boost/process/detail/file_handle.hpp:332: error: `BOOST_ASSERT' undeclared (first use this function)

../../libs/boost_process/boost/process/detail/file_handle.hpp: In member function `void boost::process::detail::file_handle::close()':
../../libs/boost_process/boost/process/detail/file_handle.hpp:381: error: `BOOST_ASSERT' undeclared (first use this function)
../../libs/boost_process/boost/process/detail/file_handle.hpp: In member function `void* boost::process::detail::file_handle::disown()':
../../libs/boost_process/boost/process/detail/file_handle.hpp:398: error: `BOOST_ASSERT' undeclared (first use this function)

../../libs/boost_process/boost/process/detail/file_handle.hpp: In member function `void* boost::process::detail::file_handle::get() const':
../../libs/boost_process/boost/process/detail/file_handle.hpp:412: error: `BOOST_ASSERT' undeclared (first use this function)
../../libs/boost_process/boost/process/detail/file_handle.hpp: In static member function `static boost::process::detail::file_handle boost::process::detail::file_handle::win32_dup(void*, bool)':

../../libs/boost_process/boost/process/detail/file_handle.hpp:470: error: `throw_exception' is not a member of `boost'
../../libs/boost_process/boost/process/detail/file_handle.hpp: In static member function `static boost::process::detail::file_handle boost::process::detail::file_handle::win32_std(DWORD, bool)':
../../libs/boost_process/boost/process/detail/file_handle.hpp:487: error: `BOOST_ASSERT' undeclared (first use this function)
../../libs/boost_process/boost/process/detail/file_handle.hpp:491: error: `throw_exception' is not a member of `boost'
../../libs/boost_process/boost/process/detail/file_handle.hpp: In member function `void boost::process::detail::file_handle::win32_set_inheritable(bool)':
../../libs/boost_process/boost/process/detail/file_handle.hpp:506: error: `BOOST_ASSERT' undeclared (first use this function)
../../libs/boost_process/boost/process/detail/file_handle.hpp:510: error: `throw_exception' is not a member of `boost'

In file included from ../../libs/boost_process/boost/process/child.hpp:42,
                 from ../../libs/boost_process/boost/process.hpp:30,
                 from ../../src/server/DedicatedControl.cpp:79:
../../libs/boost_process/boost/process/detail/pipe.hpp: In constructor `boost::process::detail::pipe::pipe()':
../../libs/boost_process/boost/process/detail/pipe.hpp:134: error: `throw_exception' is not a member of `boost'

In file included from ../../libs/boost_process/boost/process/child.hpp:43,
                 from ../../libs/boost_process/boost/process.hpp:30,
                 from ../../src/server/DedicatedControl.cpp:79:
../../libs/boost_process/boost/process/pistream.hpp:24:33: boost/noncopyable.hpp: No such file or directory

In file included from ../../libs/boost_process/boost/process/pistream.hpp:26,
                 from ../../libs/boost_process/boost/process/child.hpp:43,
                 from ../../libs/boost_process/boost/process.hpp:30,
                 from ../../src/server/DedicatedControl.cpp:79:
../../libs/boost_process/boost/process/detail/systembuf.hpp:41:34: boost/scoped_array.hpp: No such file or directory
In file included from ../../libs/boost_process/boost/process/pistream.hpp:26,
                 from ../../libs/boost_process/boost/process/child.hpp:43,
                 from ../../libs/boost_process/boost/process.hpp:30,
                 from ../../src/server/DedicatedControl.cpp:79:
../../libs/boost_process/boost/process/detail/systembuf.hpp: At global scope:
../../libs/boost_process/boost/process/detail/systembuf.hpp:63: error: expected class-name before '{' token
../../libs/boost_process/boost/process/detail/systembuf.hpp:106: error: using-declaration for non-member at class scope
../../libs/boost_process/boost/process/detail/systembuf.hpp:106: error: expected `;' before '<' token
../../libs/boost_process/boost/process/detail/systembuf.hpp:111: error: using-declaration for non-member at class scope
../../libs/boost_process/boost/process/detail/systembuf.hpp:111: error: expected `;' before '<' token
../../libs/boost_process/boost/process/detail/systembuf.hpp: In constructor `boost::process::detail::systembuf::systembuf(void*, size_t)':
../../libs/boost_process/boost/process/detail/systembuf.hpp:166: error: class `boost::process::detail::systembuf' does not have any field named `m_read_buf'

../../libs/boost_process/boost/process/detail/systembuf.hpp:167: error: class `boost::process::detail::systembuf' does not have any field named `m_write_buf'
../../libs/boost_process/boost/process/detail/systembuf.hpp:170: error: `BOOST_ASSERT' undeclared (first use this function)
../../libs/boost_process/boost/process/detail/systembuf.hpp:176: error: `m_write_buf' undeclared (first use this function)
../../libs/boost_process/boost/process/detail/systembuf.hpp: In member function `virtual int boost::process::detail::systembuf::underflow()':
../../libs/boost_process/boost/process/detail/systembuf.hpp:185: error: `BOOST_ASSERT' undeclared (first use this function)
../../libs/boost_process/boost/process/detail/systembuf.hpp:190: error: `m_read_buf' undeclared (first use this function)
../../libs/boost_process/boost/process/detail/systembuf.hpp: In member function `virtual int boost::process::detail::systembuf::overflow(int)':

../../libs/boost_process/boost/process/detail/systembuf.hpp:211: error: `BOOST_ASSERT' undeclared (first use this function)
In file included from ../../libs/boost_process/boost/process/child.hpp:43,
                 from ../../libs/boost_process/boost/process.hpp:30,
                 from ../../src/server/DedicatedControl.cpp:79:

../../libs/boost_process/boost/process/pistream.hpp: At global scope:
../../libs/boost_process/boost/process/pistream.hpp:61: error: expected class-name before '{' token

In file included from ../../libs/boost_process/boost/process/child.hpp:44,
                 from ../../libs/boost_process/boost/process.hpp:30,
                 from ../../src/server/DedicatedControl.cpp:79:
../../libs/boost_process/boost/process/postream.hpp:61: error: expected class-name before '{' token

In file included from ../../libs/boost_process/boost/process/child.hpp:45,
                 from ../../libs/boost_process/boost/process.hpp:30,
                 from ../../src/server/DedicatedControl.cpp:79:
../../libs/boost_process/boost/process/process.hpp: In member function `void boost::process::process::terminate(bool) const':
../../libs/boost_process/boost/process/process.hpp:156: error: `throw_exception' is not a member of `boost'
../../libs/boost_process/boost/process/process.hpp:160: error: `throw_exception' is not a member of `boost'

In file included from ../../libs/boost_process/boost/process/child.hpp:46,
                 from ../../libs/boost_process/boost/process.hpp:30,
                 from ../../src/server/DedicatedControl.cpp:79:
../../libs/boost_process/boost/process/status.hpp: In member function `int boost::process::status::exit_status() const':
../../libs/boost_process/boost/process/status.hpp:117: error: `BOOST_ASSERT' undeclared (first use this function)

In file included from ../../libs/boost_process/boost/process.hpp:30,
                 from ../../src/server/DedicatedControl.cpp:79:
../../libs/boost_process/boost/process/child.hpp:47:32: boost/shared_ptr.hpp: No such file or directory

In file included from ../../libs/boost_process/boost/process.hpp:30,
                 from ../../src/server/DedicatedControl.cpp:79:
../../libs/boost_process/boost/process/child.hpp: At global scope:
../../libs/boost_process/boost/process/child.hpp:111: error: using-declaration for non-member at class scope
../../libs/boost_process/boost/process/child.hpp:111: error: expected `;' before '<' token
../../libs/boost_process/boost/process/child.hpp:121: error: using-declaration for non-member at class scope
../../libs/boost_process/boost/process/child.hpp:121: error: expected `;' before '<' token
../../libs/boost_process/boost/process/child.hpp:131: error: using-declaration for non-member at class scope
../../libs/boost_process/boost/process/child.hpp:131: error: expected `;' before '<' token
../../libs/boost_process/boost/process/child.hpp: In constructor `boost::process::child::child(DWORD, boost::process::detail::file_handle, boost::process::detail::file_handle, boost::process::detail::file_handle)':
../../libs/boost_process/boost/process/child.hpp:179: error: `m_sstdin' undeclared (first use this function)
../../libs/boost_process/boost/process/child.hpp:181: error: `m_sstdout' undeclared (first use this function)
../../libs/boost_process/boost/process/child.hpp:183: error: `m_sstderr' undeclared (first use this function)
../../libs/boost_process/boost/process/child.hpp: In member function `boost::process::postream& boost::process::child::get_stdin() const':
../../libs/boost_process/boost/process/child.hpp:193: error: `m_sstdin' undeclared (first use this function)
../../libs/boost_process/boost/process/child.hpp:193: error: `BOOST_ASSERT' undeclared (first use this function)
../../libs/boost_process/boost/process/child.hpp: In member function `boost::process::pistream& boost::process::child::get_stdout() const':
../../libs/boost_process/boost/process/child.hpp:204: error: `m_sstdout' undeclared (first use this function)
../../libs/boost_process/boost/process/child.hpp:204: error: `BOOST_ASSERT' undeclared (first use this function)
../../libs/boost_process/boost/process/child.hpp: In member function `boost::process::pistream& boost::process::child::get_stderr() const':
../../libs/boost_process/boost/process/child.hpp:215: error: `m_sstderr' undeclared (first use this function)
../../libs/boost_process/boost/process/child.hpp:215: error: `BOOST_ASSERT' undeclared (first use this function)

../../libs/boost_process/boost/process/child.hpp: In member function `const boost::process::status boost::process::child::wait()':
../../libs/boost_process/boost/process/child.hpp:237: error: `throw_exception' is not a member of `boost'

In file included from ../../libs/boost_process/boost/process/context.hpp:38,
                 from ../../libs/boost_process/boost/process.hpp:31,
                 from ../../src/server/DedicatedControl.cpp:79:
../../libs/boost_process/boost/process/environment.hpp: In function `boost::process::environment boost::process::current_environment()':
../../libs/boost_process/boost/process/environment.hpp:107: error: `throw_exception' is not a member of `boost'

In file included from ../../libs/boost_process/boost/process.hpp:31,
                 from ../../src/server/DedicatedControl.cpp:79:
../../libs/boost_process/boost/process/context.hpp: In constructor `boost::process::basic_work_directory_context<Path>::basic_work_directory_context()':
../../libs/boost_process/boost/process/context.hpp:97: error: `throw_exception' is not a member of `boost'

In file included from ../../libs/boost_process/boost/process/operations.hpp:29,
                 from ../../libs/boost_process/boost/process.hpp:32,
                 from ../../src/server/DedicatedControl.cpp:79:
../../libs/boost_process/boost/process/detail/win32_ops.hpp:41:30: boost/optional.hpp: No such file or directory
In file included from ../../libs/boost_process/boost/process/detail/win32_ops.hpp:44,
                 from ../../libs/boost_process/boost/process/operations.hpp:29,
                 from ../../libs/boost_process/boost/process.hpp:32,
                 from ../../src/server/DedicatedControl.cpp:79:
../../libs/boost_process/boost/process/detail/stream_info.hpp: At global scope:
../../libs/boost_process/boost/process/detail/stream_info.hpp:90: error: using-declaration for non-member at class scope
../../libs/boost_process/boost/process/detail/stream_info.hpp:90: error: expected `;' before '<' token
../../libs/boost_process/boost/process/detail/stream_info.hpp: In constructor `boost::process::detail::stream_info::stream_info(const boost::process::stream_behavior&, bool)':
../../libs/boost_process/boost/process/detail/stream_info.hpp:103: error: `m_pipe' undeclared (first use this function)
../../libs/boost_process/boost/process/detail/stream_info.hpp:140: error: `BOOST_ASSERT' undeclared (first use this function)

../../libs/boost_process/boost/process/detail/win32_ops.hpp:48:32: boost/scoped_ptr.hpp: No such file or directory
../../libs/boost_process/boost/process/detail/win32_ops.hpp:49:34: boost/shared_array.hpp: No such file or directory
In file included from ../../libs/boost_process/boost/process/operations.hpp:29,
                 from ../../libs/boost_process/boost/process.hpp:32,
                 from ../../src/server/DedicatedControl.cpp:79:
../../libs/boost_process/boost/process/detail/win32_ops.hpp: At global scope:
../../libs/boost_process/boost/process/detail/win32_ops.hpp:73: error: expected init-declarator before '<' token
../../libs/boost_process/boost/process/detail/win32_ops.hpp:73: error: expected `;' before '<' token
../../libs/boost_process/boost/process/detail/win32_ops.hpp:123: error: expected init-declarator before '<' token
../../libs/boost_process/boost/process/detail/win32_ops.hpp:123: error: expected `,' or `;' before '<' token
../../libs/boost_process/boost/process/detail/win32_ops.hpp: In function `PROCESS_INFORMATION boost::process::detail::win32_start(const Executable&, const Arguments&, const boost::process::environment&, boost::process::detail::stream_info&, boost::process::detail::stream_info&, boost::process::detail::stream_info&, const boost::process::detail::win32_setup&)':
../../libs/boost_process/boost/process/detail/win32_ops.hpp:228: error: there are no arguments to `BOOST_ASSERT' that depend on a template parameter, so a declaration of `BOOST_ASSERT' must be available
../../libs/boost_process/boost/process/detail/win32_ops.hpp:228: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../../libs/boost_process/boost/process/detail/win32_ops.hpp:229: error: there are no arguments to `BOOST_ASSERT' that depend on a template parameter, so a declaration of `BOOST_ASSERT' must be available
../../libs/boost_process/boost/process/detail/win32_ops.hpp:231: error: `scoped_ptr' is not a member of `boost'
../../libs/boost_process/boost/process/detail/win32_ops.hpp:231: error: expected primary-expression before '>' token
../../libs/boost_process/boost/process/detail/win32_ops.hpp:232: error: there are no arguments to `si' that depend on a template parameter, so a declaration of `si' must be available
../../libs/boost_process/boost/process/detail/win32_ops.hpp:233: error: `si' undeclared (first use this function)
../../libs/boost_process/boost/process/detail/win32_ops.hpp:244: error: `throw_exception' is not a member of `boost'

../../libs/boost_process/boost/process/detail/win32_ops.hpp:252: error: 'struct boost::process::detail::stream_info' has no member named 'm_pipe'
../../libs/boost_process/boost/process/detail/win32_ops.hpp:253: error: 'struct boost::process::detail::stream_info' has no member named 'm_pipe'
../../libs/boost_process/boost/process/detail/win32_ops.hpp:255: error: there are no arguments to `BOOST_ASSERT' that depend on a template parameter, so a declaration of `BOOST_ASSERT' must be available

../../libs/boost_process/boost/process/detail/win32_ops.hpp:266: error: `throw_exception' is not a member of `boost'
../../libs/boost_process/boost/process/detail/win32_ops.hpp:274: error: 'struct boost::process::detail::stream_info' has no member named 'm_pipe'
../../libs/boost_process/boost/process/detail/win32_ops.hpp:275: error: 'struct boost::process::detail::stream_info' has no member named 'm_pipe'
../../libs/boost_process/boost/process/detail/win32_ops.hpp:277: error: there are no arguments to `BOOST_ASSERT' that depend on a template parameter, so a declaration of `BOOST_ASSERT' must be available

../../libs/boost_process/boost/process/detail/win32_ops.hpp:284: error: there are no arguments to `BOOST_ASSERT' that depend on a template parameter, so a declaration of `BOOST_ASSERT' must be available
../../libs/boost_process/boost/process/detail/win32_ops.hpp:292: error: `throw_exception' is not a member of `boost'
../../libs/boost_process/boost/process/detail/win32_ops.hpp:300: error: 'struct boost::process::detail::stream_info' has no member named 'm_pipe'
../../libs/boost_process/boost/process/detail/win32_ops.hpp:301: error: 'struct boost::process::detail::stream_info' has no member named 'm_pipe'
../../libs/boost_process/boost/process/detail/win32_ops.hpp:303: error: there are no arguments to `BOOST_ASSERT' that depend on a template parameter, so a declaration of `BOOST_ASSERT' must be available
../../libs/boost_process/boost/process/detail/win32_ops.hpp:309: error: `shared_array' is not a member of `boost'
../../libs/boost_process/boost/process/detail/win32_ops.hpp:309: error: expected primary-expression before '>' token
../../libs/boost_process/boost/process/detail/win32_ops.hpp:309: error: `cmdline' undeclared (first use this function)
../../libs/boost_process/boost/process/detail/win32_ops.hpp:310: error: `scoped_array' is not a member of `boost'
../../libs/boost_process/boost/process/detail/win32_ops.hpp:310: error: expected primary-expression before '>' token
../../libs/boost_process/boost/process/detail/win32_ops.hpp:311: error: `scoped_array' is not a member of `boost'
../../libs/boost_process/boost/process/detail/win32_ops.hpp:311: error: expected primary-expression before '>' token
../../libs/boost_process/boost/process/detail/win32_ops.hpp:313: error: `shared_array' is not a member of `boost'
../../libs/boost_process/boost/process/detail/win32_ops.hpp:313: error: expected primary-expression before '>' token

../../libs/boost_process/boost/process/detail/win32_ops.hpp:313: error: `envstrs' undeclared (first use this function)
../../libs/boost_process/boost/process/detail/win32_ops.hpp:313: error: there are no arguments to `environment_to_win32_strings' that depend on a template parameter, so a declaration of `environment_to_win32_strings' must be available
../../libs/boost_process/boost/process/detail/win32_ops.hpp:314: error: `executable' undeclared (first use this function)
../../libs/boost_process/boost/process/detail/win32_ops.hpp:315: error: `workdir' undeclared (first use this function)
../../libs/boost_process/boost/process/detail/win32_ops.hpp:317: error: `throw_exception' is not a member of `boost'

In file included from ../../libs/boost_process/boost/process.hpp:32,
                 from ../../src/server/DedicatedControl.cpp:79:
../../libs/boost_process/boost/process/operations.hpp: In function `std::string boost::process::find_executable_in_path(const std::string&, std::string)':
../../libs/boost_process/boost/process/operations.hpp:68: error: `BOOST_ASSERT' undeclared (first use this function)
../../libs/boost_process/boost/process/operations.hpp:112: error: `throw_exception' is not a member of `boost'

../../libs/boost_process/boost/process/operations.hpp: In function `boost::process::child boost::process::launch(const Executable&, const Arguments&, const Context&)':
../../libs/boost_process/boost/process/operations.hpp:220: error: 'struct boost::process::detail::stream_info' has no member named 'm_pipe'
../../libs/boost_process/boost/process/operations.hpp:223: error: 'struct boost::process::detail::stream_info' has no member named 'm_pipe'
../../libs/boost_process/boost/process/operations.hpp:226: error: 'struct boost::process::detail::stream_info' has no member named 'm_pipe'

../../libs/boost_process/boost/process/operations.hpp: In function `boost::process::child boost::process::launch_shell(const std::string&, const Context&)':
../../libs/boost_process/boost/process/operations.hpp:279: error: `throw_exception' is not a member of `boost'
../../libs/boost_process/boost/process/operations.hpp:282: error: there are no arguments to `BOOST_ASSERT' that depend on a template parameter, so a declaration of `BOOST_ASSERT' must be available

../../libs/boost_process/boost/process/operations.hpp: In function `boost::process::children boost::process::launch_pipeline(const Entries&)':

../../libs/boost_process/boost/process/operations.hpp:331: error: `scoped_array' is not a member of `boost'
../../libs/boost_process/boost/process/operations.hpp:331: error: expected primary-expression before '>' token
../../libs/boost_process/boost/process/operations.hpp:479: error: 'struct boost::process::detail::stream_info' has no member named 'm_pipe'
../../libs/boost_process/boost/process/operations.hpp:486: error: `pipes' undeclared (first use this function)
../../libs/boost_process/boost/process/operations.hpp:545: error: 'struct boost::process::detail::stream_info' has no member named 'm_pipe'
../../libs/boost_process/boost/process/operations.hpp:548: error: 'struct boost::process::detail::stream_info' has no member named 'm_pipe'
../../libs/boost_process/boost/process/operations.hpp: In function `const boost::process::status boost::process::wait_children(Children&)':
../../libs/boost_process/boost/process/operations.hpp:603: error: there are no arguments to `BOOST_ASSERT' that depend on a template parameter, so a declaration of `BOOST_ASSERT' must be available

In file included from ../../libs/boost_process/boost/process.hpp:36,
                 from ../../src/server/DedicatedControl.cpp:79:
../../libs/boost_process/boost/process/self.hpp: At global scope:
../../libs/boost_process/boost/process/self.hpp:50: error: expected class-name before '{' token

In file included from ../../libs/boost_process/boost/process.hpp:47,
                 from ../../src/server/DedicatedControl.cpp:79:
../../libs/boost_process/boost/process/win32_operations.hpp: In function `boost::process::win32_child boost::process::win32_launch(const Executable&, const Arguments&, const Win32_Context&)':
../../libs/boost_process/boost/process/win32_operations.hpp:56: error: 'struct boost::process::detail::stream_info' has no member named 'm_pipe'
../../libs/boost_process/boost/process/win32_operations.hpp:59: error: 'struct boost::process::detail::stream_info' has no member named 'm_pipe'
../../libs/boost_process/boost/process/win32_operations.hpp:62: error: 'struct boost::process::detail::stream_info' has no member named 'm_pipe'

../../libs/boost_process/boost/process/context.hpp: In constructor `boost::process::basic_work_directory_context<Path>::basic_work_directory_context() [with Path = std::string]':
../../src/server/DedicatedControl.cpp:94:   instantiated from here
../../libs/boost_process/boost/process/context.hpp:105: error: `BOOST_ASSERT' undeclared (first use this function)
../../libs/boost_process/boost/process/operations.hpp: In function `boost::process::child boost::process::launch(const Executable&, const Arguments&, const Context&) [with Executable = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Arguments = std::vector<std::string, std::allocator<std::string> >, Context = boost::process::context]':
../../src/server/DedicatedControl.cpp:100:   instantiated from here
../../libs/boost_process/boost/process/operations.hpp:173: error: `BOOST_ASSERT' undeclared (first use this function)

../../libs/boost_process/boost/process/detail/win32_ops.hpp: In function `PROCESS_INFORMATION boost::process::detail::win32_start(const Executable&, const Arguments&, const boost::process::environment&, boost::process::detail::stream_info&, boost::process::detail::stream_info&, boost::process::detail::stream_info&, const boost::process::detail::win32_setup&) [with Executable = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Arguments = std::vector<std::string, std::allocator<std::string> >]':
../../libs/boost_process/boost/process/operations.hpp:238:   instantiated from `boost::process::child boost::process::launch(const Executable&, const Arguments&, const Context&) [with Executable = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Arguments = std::vector<std::string, std::allocator<std::string> >, Context = boost::process::context]'
../../src/server/DedicatedControl.cpp:100:   instantiated from here
../../libs/boost_process/boost/process/detail/win32_ops.hpp:228: error: `BOOST_ASSERT' undeclared (first use this function)
../../libs/boost_process/boost/process/detail/win32_ops.hpp:231: error: `si' undeclared (first use this function)

../../libs/boost_process/boost/process/detail/win32_ops.hpp:309: error: `collection_to_win32_cmdline' undeclared (first use this function)
../../libs/boost_process/boost/process/detail/win32_ops.hpp:310: error: `executable' undeclared (first use this function)
../../libs/boost_process/boost/process/detail/win32_ops.hpp:311: error: `workdir' undeclared (first use this function)
../../libs/boost_process/boost/process/detail/win32_ops.hpp:313: error: `environment_to_win32_strings' undeclared (first use this function)

make.exe: *** [../../src/server/DedicatedControl.o] Error 1

Execution terminated

DarkCharlie

Re: [HowTo] Compiling OLX on Windows for dummies
« Reply #11 on: January 18, 2009, 08:10:49 pm »
There are two possible solutions:

1)
You need to install boost. Click Tools -> Check for updates, choose "devpaks.org Community Server", then click on "Check for Updates" . In the list choose boost (version 1.33.1) and click on "Download Selected". It will download Boost and after it is downloaded, it will prompt you with the installation. Just confirm it and then try to compile OLX again.

2)
Disable dedicated server. Press Alt + P to open Project preferences, click on Parameters tab and then remove the line "-DHAVE_BOOST" in the "C++ compiler" field. You will not be able to use dedicated server if you choose this solution.

Kurko

Re: [HowTo] Compiling OLX on Windows for dummies
« Reply #12 on: January 18, 2009, 10:37:20 pm »
Thanks, now it works. Some errors still occur (with or without dedicated server) but at least it creates the Openlierox.exe. It's larger than the original (nearly 6MB) and that messaging mod makes it buggy (sometimes it sends a lot of messages with one click and so on... :P) but it works. Maybe I have some errors in the customized Menu_Net_Internet.cpp...

albert

Re: [HowTo] Compiling OLX on Windows for dummies
« Reply #13 on: May 05, 2009, 05:23:47 pm »
Please update the links to install_deps_vc2005.exe and install_deps_vc2008.exe, they are down (reported by a user). Or even better, upload them at SF.

Tafka

Re: [HowTo] Compiling OLX on Windows for dummies
« Reply #14 on: July 12, 2009, 03:44:12 pm »
Please update the links to install_deps_vc2005.exe and install_deps_vc2008.exe, they are down (reported by a user). Or even better, upload them at SF.
Are they available anywhere now?

DarkCharlie

Re: [HowTo] Compiling OLX on Windows for dummies
« Reply #15 on: July 12, 2009, 08:43:43 pm »
Updated the links, now they're available again (sf.net download).

MissingNo.

Re: [HowTo] Compiling OLX on Windows for dummies
« Reply #16 on: July 13, 2009, 10:39:51 pm »
Got this while compiling the latest SVN
Code: [Select]
Linking...
fatal error C1047: The object or library file '.\obj\release\AuxLib.obj' was created with an older compiler than other objects; rebuild old objects and libraries
LINK : fatal error LNK1257: code generation failed
Build log was saved at "file://g:\Documents and Settings\Mike\Desktop\SVN\build\msvc 2005\Release\BuildLog.htm"

DarkCharlie

Re: [HowTo] Compiling OLX on Windows for dummies
« Reply #17 on: July 13, 2009, 11:00:38 pm »
Visual C++ 2008 project is not working ATM, working on it.

albert

Re: [HowTo] Compiling OLX on Windows for dummies
« Reply #18 on: July 13, 2009, 11:01:51 pm »
Got this while compiling the latest SVN
Code: [Select]
Linking...
fatal error C1047: The object or library file '.\obj\release\AuxLib.obj' was created with an older compiler than other objects; rebuild old objects and libraries
LINK : fatal error LNK1257: code generation failed
Build log was saved at "file://g:\Documents and Settings\Mike\Desktop\SVN\build\msvc 2005\Release\BuildLog.htm"

I think it's probably exactly what the error says: You compiled it with VC2005 and you are using VC2008 now or something like that.

Try to just delete all files in obj\release and rebuild it.

MissingNo.

Re: [HowTo] Compiling OLX on Windows for dummies
« Reply #19 on: July 13, 2009, 11:04:50 pm »
I'm using VC2005 though. But I'll try that.
Pages: [1] 2 3 ... 6   Go Up
 

anything