Need help building LibreCAD from source

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Need help building LibreCAD from source

PaulSchrum
I am new to LibreCAD and seek to become a developer (in the Civil Engineering niche).

I am not very good with detailed CS issues like building a project from scratch, so I need some help.

I went to
https://github.com/LibreCAD/LibreCAD/wiki/Becoming-a-developer

and followed the instructions there. I think I got Boost installed as well as Qt, but maybe not.

I am ready to try to build LibreCAD. I don't see instructions that say, "Push this button" or "Enter this at the command Line" or "From VS 2017 open such and such file." With my lack of experience, I need help with this basic thing.

"What have you tried already?" I opened /librecad/librecad.sln with Visual Studio 2017. It failed to open with the message:
C:\cygwin\home\dli\github\LibreCAD\librecad\src\LibreCAD.vcxproj : error  : Project "C:\cygwin\home\dli\github\LibreCAD\librecad\src\LibreCAD.vcxproj" could not be found.

It is looking for the wrong directory. My source code, including LibreCAD.vcxproj, is on my D drive. But I don't even know if opening a .sln is the right approach.

Can someone explain to me what I need to do to get it to build now that (I think) I have followed all the instructions on the Becoming A Developer Page?

- Paul

Reply | Threaded
Open this post in threaded view
|

Re: Need help building LibreCAD from source

perepujal


El 23 de desembre de 2018 20:39:22 CET, "PaulSchrum [via LibreCAD]" <[hidden email]> ha escrit:

>
>
>I am new to LibreCAD and seek to become a developer (in the Civil
>Engineering
>niche).
>
>I am not very good with detailed CS issues like building a project from
>scratch, so I need some help.
>
>I went to
>https://github.com/LibreCAD/LibreCAD/wiki/Becoming-a-developer
>
>and followed the instructions there. I think I got Boost installed as
>well
>as Qt, but maybe not.

Look if you have qtcreator installed, with it you should be able to open the .pro file.


>
>I am ready to try to build LibreCAD. I don't see instructions that say,
>"Push this button" or "Enter this at the command Line" or "From VS 2017
>that
>such and such file." With my lack of experience, I need help with this
>basic thing.
>
>"What have you tried already?" I opened /librecad/librecad.sln with
>Visual Studio 2017. It failed to open it with the message:
>C:\cygwin\home\dli\github\LibreCAD\librecad\src\LibreCAD.vcxproj :
>error  :
>Project
>"C:\cygwin\home\dli\github\LibreCAD\librecad\src\LibreCAD.vcxproj"
>could not be found.
>
>It is looking for the wrong directory. My source code, including
>LibreCAD.vcxproj, is on my D drive. But I don't even know if opening a
>.sln
>is even the right approach.
>
I know nothing about VS, so just speculating here, what about temporary moving the sources to the expected dir?

HTH
Pere


>Can someone explain to me what I need to do to get it to build now that
>(I
>think) I have followed all the instructions on the Becoming A Developer
>Page?
>
>- Paul
>
>
>
>_______________________________________________
>If you reply to this email, your message will be added to the
>discussion below:
>http://forum.librecad.org/Need-help-building-LibreCAD-from-source-tp5716783.html
>
>To unsubscribe from LibreCAD-dev, visit
>
Enviat des del meu dispositiu Android amb el K-9 Mail. Disculpeu la brevetat.
Reply | Threaded
Open this post in threaded view
|

Re: Need help building LibreCAD from source

PaulSchrum
Thank you Perepujal,

I have gotten Librecad to build and I have run it briefly. So I am now able to work.

My mistake was I did not follow all of the steps under the "Qt" heading at "Becoming a developer". I think I was brain locked that day. But it works now.

As for developing with VisualStudio, I can look online to see where other people have attempted to debug a Qt project using VS.

Thank you very much. Question now resolved.

- Paul