Re: I'm new and I'm having build issues

2016-12-06 Thread Michael Stahl
On 12/06/2016 05:54 AM, jrattur wrote:
> Thanks for the messages everyone :)
> 
> @slacka thanks, I'll check these forums first in the future and thanks for
> the comment @jan iversen
> 
> *I've tried building again with this configuration:*
> *(--with-windows-sdk=7.1A instead of --with-visual-studio=2015)*
> /$ /cygdrive/e/sources/libo-core/autogen.sh   
> --with-external-tar=/c
>   
> 
> ygdrive/e/sources/lo-externalsrc   
> --with-junit=/cygdrive/e/sources  
>   
>   
> /junit-4.10.jar   
> --with-ant-home=/cygdrive/e/sources/apache-ant-1. 
>   
>   
>  
> 9.5--enable-pch --disable-ccache   
> --disable-active  
>   
>   
> x --disable-atl --with-windows-sdk=7.1A/
> 
> *It failed and this was the output:*
> /[CXX] workdir/UnpackedTarball/librevenge/src/lib/RVNGString.cpp
> [CXX] workdir/UnpackedTarball/librevenge/src/lib/RVNGStringVector.cpp
> E:/sources/libo-core/workdir/UnpackedTarball/boost\boost/type_traits/common_type.hpp(42)
> : fatal error C1001: An internal error has occurred in the compiler.
> (compiler file 'msc1.cpp', line 1325)
> To work around this problem, try simplifying or changing the program near
> the locations listed above.
> Please choose the Technical Support command on the Visual C++
> Help menu, or open the Technical Support help file for more information
> Internal Compiler Error in C:\PROGRA~2\MICROS~2.0\VC\bin\cl.exe.  You will
> be prompted to send an error report to Microsoft later.

that sounds like this bug:
http://lists.boost.org/Archives/boost/2016/02/227695.php

so install the visual studio updates.

although it is claimed the bug only affects MSVC 2013, not 2015 - are
you sure you are using 2015?

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: I'm new and I'm having build issues

2016-12-06 Thread Tor Lillqvist
> The wiki mentions --with-windows-sdk=7.1A and that failed for me above.
>

It does? Does it say that one should always use it? Or that just in some
special circumstances one should? I have never used that. Did you notice
the "If you want your builds to run on Windows XP"? Do you really, why?

The problem with the wiki is that people keep adding interesting details
that might be important for a very small minority, but which then all
newbies read and get confused by.

--tml
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: I'm new and I'm having build issues

2016-12-06 Thread jrattur
Thanks Tor Lillqvist,

The wiki mentions --with-windows-sdk=7.1A and that failed for me above.

Can you tell me the difference between the different options below?
--with-windows-sdk=7.1
--with-visual-studio=2015
--with-visual-studio=2013

I would assume with 2013/2015 etc mean with the microsoft visual c++
compiler bundled with vs2013/2015 and with-windows-sdk=7.1 means the c++
compiler bundled with the sdk, is this one different from what vs2013/2015
use?



--
View this message in context: 
http://nabble.documentfoundation.org/I-m-new-and-I-m-having-build-issues-tp4201824p4201902.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: I'm new and I'm having build issues

2016-12-05 Thread Tor Lillqvist
> It seems like it might be using msvc 2012 which is seemingly too old. Can
> anyone recommend a different one to try?
>

As our wiki surely clearly says, you should use MSVC 2013 or 2015.

--tml
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: I'm new and I'm having build issues

2016-12-05 Thread jrattur
Thanks for the messages everyone :)

@slacka thanks, I'll check these forums first in the future and thanks for
the comment @jan iversen

*I've tried building again with this configuration:*
*(--with-windows-sdk=7.1A instead of --with-visual-studio=2015)*
/$ /cygdrive/e/sources/libo-core/autogen.sh   
--with-external-tar=/c  


ygdrive/e/sources/lo-externalsrc   
--with-junit=/cygdrive/e/sources

  
/junit-4.10.jar   
--with-ant-home=/cygdrive/e/sources/apache-ant-1.   

   
9.5--enable-pch --disable-ccache   
--disable-active

  
x --disable-atl --with-windows-sdk=7.1A/

*It failed and this was the output:*
/[CXX] workdir/UnpackedTarball/librevenge/src/lib/RVNGString.cpp
[CXX] workdir/UnpackedTarball/librevenge/src/lib/RVNGStringVector.cpp
E:/sources/libo-core/workdir/UnpackedTarball/boost\boost/type_traits/common_type.hpp(42)
: fatal error C1001: An internal error has occurred in the compiler.
(compiler file 'msc1.cpp', line 1325)
To work around this problem, try simplifying or changing the program near
the locations listed above.
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
Internal Compiler Error in C:\PROGRA~2\MICROS~2.0\VC\bin\cl.exe.  You will
be prompted to send an error report to Microsoft later.
[CXX] workdir/UnpackedTarball/librevenge/src/lib/RVNGSVGDrawingGenerator.cpp
[EPK] libexttextcat_fingerprint
E:/sources/libo-core/solenv/gbuild/LinkTarget.mk:235: recipe for target
'E:/sources/libo-core/workdir/GenCxxObject/UnpackedTarball/librevenge/src/lib/RVNGPropertyList.o'
failed
make[1]: ***
[E:/sources/libo-core/workdir/GenCxxObject/UnpackedTarball/librevenge/src/lib/RVNGPropertyList.o]
Error 1
make[1]: *** Waiting for unfinished jobs
Makefile:266: recipe for target 'build' failed
make: *** [build] Error 2/

Going off this message: 
http://nabble.documentfoundation.org/Re-Help-on-getting-started-contributing-to-Libreoffice-td4175531.html

  
It seems like it might be using msvc 2012 which is seemingly too old. Can
anyone recommend a different one to try?

@lukebenes see here...
Also a couple of notes, for this last build I turned off the net connection
while building and set my firewall to allow all. On my earlier build, the
firewall was active and was prompting me to allow or block various programs
while it was building. The build failed when I had gone away from the
computer so I'm not sure if that caused it to fail.

I'm also using a roughly 6 months old version of the code as I originally
tried building it about 6 months ago.

P.S. is "@personname" the right way to reference people on here?

Cheers everyone :)



--
View this message in context: 
http://nabble.documentfoundation.org/I-m-new-and-I-m-having-build-issues-tp4201824p4201894.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: I'm new and I'm having build issues

2016-12-05 Thread slacka
> Do I need to delete the failed build before building again?
Not usually. If you do get stuck trying a 'make clean' before asking for
help never hurts.

> Does it need to be connected to the Internet while building? (so that I
> could disconnect the net while disabling my firewall to build)

This question was answered just a few hours before you posted it. 

http://nabble.documentfoundation.org/Build-Problem-with-Lode-tp4201726p4201764.html

Please search the dev list and use google to try to answer your own
questions before asking for help.



--
View this message in context: 
http://nabble.documentfoundation.org/I-m-new-and-I-m-having-build-issues-tp4201824p4201867.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: I'm new and I'm having build issues

2016-12-05 Thread Jan Iversen

> Please search the dev list and use google to try to answer your own
> questions before asking for help.

This is to be read relatively, it is a lot better to ask, than to fight and 
give up !

rgds
jan I.

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: I'm new and I'm having build issues

2016-12-05 Thread jrattur
Thanks very much for the quick responses :) I've got a couple of simple
questions:

Do I need to delete the failed build before building again?

Does it need to be connected to the Internet while building? (so that I
could disconnect the net while disabling my firewall to build)

Cheers
Joel

On Tue, Dec 6, 2016 at 2:46 AM julien2412 [via Document Foundation Mail
Archive]  wrote:

> Hello jrattur,
>
> I don't build on Linux but I think you should give a try to Visual Studio
> 2013 (see
> https://wiki.documentfoundation.org/Development/BuildingOnWindows).
>
> Julien
>
> --
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://nabble.documentfoundation.org/I-m-new-and-I-m-having-build-issues-tp4201824p4201839.html
> To unsubscribe from I'm new and I'm having build issues, click here
> <http://nabble.documentfoundation.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4201824&code=anJhdHR1ckBnbWFpbC5jb218NDIwMTgyNHw0MTQ4MzM1MjU=>
> .
> NAML
> <http://nabble.documentfoundation.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://nabble.documentfoundation.org/I-m-new-and-I-m-having-build-issues-tp4201824p4201856.html
Sent from the Dev mailing list archive at Nabble.com.___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: I'm new and I'm having build issues

2016-12-05 Thread julien2412
Hello jrattur,

I don't build on Linux but I think you should give a try to Visual Studio
2013 (see
https://wiki.documentfoundation.org/Development/BuildingOnWindows).

Julien



--
View this message in context: 
http://nabble.documentfoundation.org/I-m-new-and-I-m-having-build-issues-tp4201824p4201839.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: I'm new and I'm having build issues

2016-12-05 Thread Stephan Bergmann

On 12/05/2016 04:04 PM, jrattur wrote:

I'm building in win7 with cygwin (not using lode) and I added
--with-visual-studio=2015 to the autogen command (I have multiple versions
of visual studio installed). It ran happily for an hour and a half or so and
failed with this output:

/[CXX] workdir/UnpackedTarball/cmis/src/libcmis/onedrive-document.cxx
[CXX] workdir/UnpackedTarball/cmis/src/libcmis/onedrive-folder.cxx
E:/sources/libo-core/sal/qa/osl/process/osl_process.cxx:437:Test_osl_executeProcess::osl_execProc_test_batch
equality assertion failed
- Expected: 0
- Actual  : 4
- osl_createProcess failed

Test_osl_executeProcess::osl_execProc_test_batch finished in: 30427ms
E:/sources/libo-core/sal/qa/osl/process/osl_process.cxx(437) : error :
Assertion
Test name: Test_osl_executeProcess::osl_execProc_test_batch
equality assertion failed
- Expected: 0
- Actual  : 4
- osl_createProcess failed

Failures !!!
Run: 1   Failure total: 1   Failures: 1   Errors: 0

Error: a unit test failed, please do one of:
make CppunitTest_sal_osl_process CPPUNITTRACE=TRUE # which is a shortcut for
the following line
make CppunitTest_sal_osl_process
CPPUNITTRACE="'C:/PROGRA~2/MICROS~3.0/VC//../Common7/IDE/devenv.exe'
/debugexe" # for interactive deb
ugging in Visual Studio


There should be a file workdir/LinkTarget/Executable/batch.bat, and the 
call to osl_executeProcess at line 422 of 
sal/qa/osl/process/osl_process.cxx is trying to execute that, but fails 
with osl_Process_E_Unknown (that's the "4" above, see enum 
oslProcessError in include/osl/process.h).


Hard to tell why something fundamental like that fails for you (best bet 
on Windows is always: anti virus software?).  You can debug it via one 
of the two 'make CppunitTest_sal_osl_process ...' commands given above; 
the code of the failing osl_executeProcess is in sal/osl/w32/procimpl.cxx.

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


I'm new and I'm having build issues

2016-12-05 Thread jrattur
Hi,

I'm not sure how things work here with asking questions so let me know if
this or the irc is a better way to go :)

I'm trying to build libreoffice for the first time. I've had a number of
goes at it and got a bit further each time but I'm stuck now.

I'm building in win7 with cygwin (not using lode) and I added
--with-visual-studio=2015 to the autogen command (I have multiple versions
of visual studio installed). It ran happily for an hour and a half or so and
failed with this output:

/[CXX] workdir/UnpackedTarball/cmis/src/libcmis/onedrive-document.cxx
[CXX] workdir/UnpackedTarball/cmis/src/libcmis/onedrive-folder.cxx
E:/sources/libo-core/sal/qa/osl/process/osl_process.cxx:437:Test_osl_executeProcess::osl_execProc_test_batch
equality assertion failed
- Expected: 0
- Actual  : 4
- osl_createProcess failed

Test_osl_executeProcess::osl_execProc_test_batch finished in: 30427ms
E:/sources/libo-core/sal/qa/osl/process/osl_process.cxx(437) : error :
Assertion
Test name: Test_osl_executeProcess::osl_execProc_test_batch
equality assertion failed
- Expected: 0
- Actual  : 4
- osl_createProcess failed

Failures !!!
Run: 1   Failure total: 1   Failures: 1   Errors: 0

Error: a unit test failed, please do one of:
make CppunitTest_sal_osl_process CPPUNITTRACE=TRUE # which is a shortcut for
the following line
make CppunitTest_sal_osl_process
CPPUNITTRACE="'C:/PROGRA~2/MICROS~3.0/VC//../Common7/IDE/devenv.exe'
/debugexe" # for interactive deb
   
ugging in Visual Studio
make CppunitTest_sal_osl_process CPPUNITTRACE="drmemory -free_max_frames 20"
# for memory checking (install Dr.Memory first, and put i   

t to your PATH)

E:/sources/libo-core/solenv/gbuild/CppunitTest.mk:101: recipe for target
'E:/sources/libo-core/workdir/CppunitTest/sal_osl_process.tes   

t' failed
make[1]: *** [E:/sources/libo-core/workdir/CppunitTest/sal_osl_process.test]
Error 1
make[1]: *** Waiting for unfinished jobs
e:\sources\libo-core\workdir\unpackedtarball\cmis\src\libcmis\document.hxx(50)
: warning C4702: unreachable code
Makefile:266: recipe for target 'build' failed
make: *** [build] Error 2/

Could anyone suggest what may be the cause of this and what I can try next
to get it to work

Cheers



--
View this message in context: 
http://nabble.documentfoundation.org/I-m-new-and-I-m-having-build-issues-tp4201824.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: I'm new

2016-12-01 Thread marius adrian popa
First step is to download LibreOffice and get it build.

We have made a step by step guide on how to proceed:
https://wiki.documentfoundation.org/Development/GetInvolved

On Wed, Nov 30, 2016 at 11:46 AM, Dragos Petrescu <
petrescudragos1...@gmail.com> wrote:

> Hi,
>
> I'm new here and I'd like to get involved. I know C, Java and Android. I
> am computer science student but kind of new to the open source community.
> Can anyone tell me where can i start?
>
> Thanks,
> Dragos Petrescu
>
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice
>
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: I'm new

2016-11-30 Thread julien2412
Hello Dragos,

You can start here:
https://wiki.documentfoundation.org/Development/GetInvolved
The very first step is to retrieve sources and build them, you'll find
explanation and useful links in url quoted above.

Regards,

Julien



--
View this message in context: 
http://nabble.documentfoundation.org/I-m-new-tp4201415p4201423.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


I'm new

2016-11-30 Thread Dragos Petrescu
Hi,

I'm new here and I'd like to get involved. I know C, Java and Android. I am
computer science student but kind of new to the open source community. Can
anyone tell me where can i start?

Thanks,
Dragos Petrescu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice