Building Boost.Coroutine [vault]

View: New views
9 Messages — Rating Filter:   Alert me  

Building Boost.Coroutine [vault]

by Thomas Karolski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I'm trying to build Boost.Coroutine, but unfortunately I get the
following output after a call to "bjam coroutine".

------------------------------------------
G:\Programme\boost\boost svn\trunk>bjam coroutine
warning: Graph library does not contain optional GraphML reader.
note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the
note: directories containing the Expat headers and libraries, respectively.
warning: skipping optional Message Passing Interface (MPI) library.
note: to enable MPI support, add "using mpi ;" to user-config.jam.
note: to suppress this message, pass "--without-mpi" to bjam.
note: otherwise, you can safely ignore this message.
Building Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to the Boost.Regex documentation for more information
(don't panic: this is a strictly optional feature).
...found 13 targets...
...updating 3 targets...
compile-c-c++
bin.v2\libs\coroutine\build\msvc-9.0\release\threading-multi\corou
tine.obj

    cl /Zm800 -nologo
@"bin.v2\libs\coroutine\build\msvc-9.0\release\threading-m
ulti\coroutine.obj.rsp"

...failed compile-c-c++
bin.v2\libs\coroutine\build\msvc-9.0\release\threading-m
ulti\coroutine.obj...
...skipped
<pbin.v2\libs\coroutine\build\msvc-9.0\release\threading-multi>boost_
coroutine-vc90-mt-1_35.dll for lack of
<pbin.v2\libs\coroutine\build\msvc-9.0\re
lease\threading-multi>coroutine.obj...
...skipped
<pbin.v2\libs\coroutine\build\msvc-9.0\release\threading-multi>boost_
coroutine-vc90-mt-1_35.lib for lack of
<pbin.v2\libs\coroutine\build\msvc-9.0\re
lease\threading-multi>coroutine.obj...
...failed updating 1 target...
...skipped 2 targets...

G:\Programme\boost\boost svn\trunk>
------------------------------------------

I have no clue as to what went wrong, since I simply can't deduce any
error from this message.
It just says "failed compile-c-c++", but there is no reason specified as
to why that is.
I'm compiling boost directly from the trunk svn. All I did was copy &
paste the Boost.Coroutine library from
the vault into the appropriate folders. I bet I did something wrong, but
alas, I have no clue what.

Would love to get some help on this matter.

Regards,
Thomas K.
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Re: Building Boost.Coroutine [vault]

by Gpderetta :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, May 21, 2008 at 2:37 AM, Thomas Karolski
<thomas.karolski@...> wrote:
> Hi,
> I'm trying to build Boost.Coroutine, but unfortunately I get the
> following output after a call to "bjam coroutine".
>
>
> I have no clue as to what went wrong, since I simply can't deduce any
> error from this message.
> It just says "failed compile-c-c++", but there is no reason specified as
> to why that is.

Me neither!

I think that you can find the error log in the build directory. As
soon as I get home
I'll give you more detailed help.

Trunk does work for me on linux + gcc 4.x. I'have tested it only with VC++ 8.0,
that might be the cause.

> I'm compiling boost directly from the trunk svn. All I did was copy &
> paste the Boost.Coroutine library from
> the vault into the appropriate folders. I bet I did something wrong, but
> alas, I have no clue what.

Ah, ok. Try with the copy in the boost svn sandbox:
sandbox/SOC/2006/coroutine

There might be some diferences.

--
gpd
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Parent Message unknown Re: Building Boost.Coroutine [vault]

by Thomas Karolski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Me neither! I think that you can find the error log in the build
> directory. As soon as I get home I'll give you more detailed help
I seem to be unable to find any relevant log file (did a search for *.log).
>
> Ah, ok. Try with the copy in the boost svn sandbox:
> sandbox/SOC/2006/coroutine
>
> There might be some diferences.
I tried just now with the contents of sandbox/SOC/2006/coroutine/trunk, but still the same error.
No change even if I try with sandbox/SOC/2006/coroutine/tags/final.
However, I got it to compile with gcc-mingw-3.4.5 - so this seems to be an msvc-9.0 issue.

Thanks for pointing me into the right direction!

By the way, I notice you are the original author of the Boost.Coroutine library. Do you have any intention of continuing development on this project, so as to actually get it accepted into boost?

Regards,
Thomas K.

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Re: Building Boost.Coroutine [vault]

by Gpderetta :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, May 21, 2008 at 3:37 PM, Thomas Karolski
<thomas.karolski@...> wrote:

>> Me neither! I think that you can find the error log in the build
>> directory. As soon as I get home I'll give you more detailed help
> I seem to be unable to find any relevant log file (did a search for *.log).
>>
>> Ah, ok. Try with the copy in the boost svn sandbox:
>> sandbox/SOC/2006/coroutine
>>
>> There might be some diferences.
> I tried just now with the contents of sandbox/SOC/2006/coroutine/trunk, but still the same error.
> No change even if I try with sandbox/SOC/2006/coroutine/tags/final.
> However, I got it to compile with gcc-mingw-3.4.5 - so this seems to be an msvc-9.0 issue.

I have never tested it with mingw, and I think that there might be
some problems with exception
handling (not sure, It might depend a lot on what type of exception
handling strategy is being
used by mingw: I know that for a while it has used the unwind table
based approach and now it
has switched back to a windows compatible one).

>
> Thanks for pointing me into the right direction!
>
> By the way, I notice you are the original author of the Boost.Coroutine library. Do you have any intention of continuing development on this project, so as to actually get it accepted into boost?
>

Yes, I'm slowly working on it on a branch. Currently I'm simplifying
the implementation, but hopefully the interface will
remain mostly the same (no symmetric coroutines, though).

I do not have access to a windows platform currently, so I do not know
how soon I can get Boost.Coroutine to compile
on VC++ 9.0. I'll try to set my self up on windows again soon. If you
want to help me in the meantime, you are wellcome :)

--
gpd
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Parent Message unknown Re: Building Boost.Coroutine [vault]

by Thomas Karolski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> I have never tested it with mingw, and I think that there might be
> some problems with exception
> handling (not sure, It might depend a lot on what type of exception
> handling strategy is being
> used by mingw: I know that for a while it has used the unwind table
> based approach and now it
> has switched back to a windows compatible one).
Hmm. Guess I'll try cygwin then.


>
> Yes, I'm slowly working on it on a branch. Currently I'm simplifying
> the implementation, but hopefully the interface will
> remain mostly the same (no symmetric coroutines, though).
>
> I do not have access to a windows platform currently, so I do not know
> how soon I can get Boost.Coroutine to compile
> on VC++ 9.0. I'll try to set my self up on windows again soon. If you
> want to help me in the meantime, you are wellcome
Sounds interesting. What exactly would you need help with?
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Re: Building Boost.Coroutine [vault]

by Gpderetta :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, May 21, 2008 at 8:01 PM, Thomas Karolski
<thomas.karolski@...> wrote:

>
>> I have never tested it with mingw, and I think that there might be
>> some problems with exception
>> handling (not sure, It might depend a lot on what type of exception
>> handling strategy is being
>> used by mingw: I know that for a while it has used the unwind table
>> based approach and now it
>> has switched back to a windows compatible one).
> Hmm. Guess I'll try cygwin then.
>
>
>>
>> Yes, I'm slowly working on it on a branch. Currently I'm simplifying
>> the implementation, but hopefully the interface will
>> remain mostly the same (no symmetric coroutines, though).
>>
>> I do not have access to a windows platform currently, so I do not know
>> how soon I can get Boost.Coroutine to compile
>> on VC++ 9.0. I'll try to set my self up on windows again soon. If you
>> want to help me in the meantime, you are wellcome
> Sounds interesting. What exactly would you need help with?

If you can find out about any compilation error on VC++9
I can try a blind fix.

--
gpd
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Parent Message unknown Re: Building Boost.Coroutine [vault]

by Thomas Karolski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> If you can find out about any compilation error on VC++9
> I can try a blind fix.
<http://lists.boost.org/mailman/listinfo.cgi/boost>Hmm. It seems the
msvc compiler & linker (cl.exe) does not want to do *anything* at all
when executed outside of the Visual Studio 2008 Command Prompt. It does
not even respond to /HELP or /VERSION.
Anyway, compiling the coroutine library from inside the VS08 Command
Prompt worked fine just now.
There should be no need to fix anything.

Regards,
Thomas K.
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Re: Building Boost.Coroutine [vault]

by Johan Torp :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thomas Karolski wrote:
<http://lists.boost.org/mailman/listinfo.cgi/boost>Hmm. It seems the
msvc compiler & linker (cl.exe) does not want to do *anything* at all
when executed outside of the Visual Studio 2008 Command Prompt. It does
not even respond to /HELP or /VERSION.
cl.exe exhibits this behaviour if you try to run it from cygwin. If you run it from cmd you get a message-box which cygwin fails to display. It tells you it can't find some dlls. I think I added "C:\Program Files\Microsoft Visual Studio 8\VC\bin;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE" to the windows PATH environment variable and then restarted cygwin and everything worked. Hope it helps...

Johan

Re: Building Boost.Coroutine [vault]

by Thomas Karolski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Johan Torp wrote:

>
> Thomas Karolski wrote:
>> <http://lists.boost.org/mailman/listinfo.cgi/boost>Hmm. It seems the
>> msvc compiler & linker (cl.exe) does not want to do *anything* at all
>> when executed outside of the Visual Studio 2008 Command Prompt. It does
>> not even respond to /HELP or /VERSION.
>>
>
> cl.exe exhibits this behaviour if you try to run it from cygwin. If you run
> it from cmd you get a message-box which cygwin fails to display. It tells
> you it can't find some dlls. I think I added "C:\Program Files\Microsoft
> Visual Studio 8\VC\bin;C:\Program Files\Microsoft Visual Studio
> 8\Common7\IDE" to the windows PATH environment variable and then restarted
> cygwin and everything worked. Hope it helps...
>
> Johan

Hmm interesting. I didn't know about putting the IDE folder into the
path environment. Though nevertheless, the above mentioned error (which
is to say, no error/output at all) did appear inside the windows command
prompt.
Thanks however, I'll try to set the IDE path and see how this is going
to work out.

Regards,
Thomas K.

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost