User forums > Embedded development

Arduino: libraries are missing

<< < (5/5)

stahta01:
Edit: Just noticed your post was from yesterday; so, I was likely too late on my pull request.

I just did a pull request; I have NOT had time to double check the changes; they break 1.0.5 usage.

I had to add an "/src" sub folder to the HID include to get Wizard created project Windows 1.6.9 to build.
(Linux did NOT need the sub folder). Also had to do several other changes that I forget what they were.

Tim S.


--- Quote from: oBFusCATed on June 21, 2016, 07:37:19 am ---
--- Quote from: stahta01 on June 21, 2016, 02:38:11 am ---I still have work to do before submitting a patch.

--- End quote ---
Ether you post a patch today or your work is wasted, because I'm going to work on the wizard tonight.
I plan to do major changes, so merging might be tough.


--- Quote from: stahta01 on June 21, 2016, 02:38:11 am ---Need to add version page 1.0 or 1.5/1.6
Any idea if it should be 1.5 or 1.6? I plan to use 1.6; since I have NOT found an good 1.5 to test on Debian Linux.

--- End quote ---
I see no reason to support 1.0 or 1.5.

--- End quote ---

oBFusCATed:

--- Quote from: stahta01 on June 21, 2016, 07:21:08 pm ---Edit: Just noticed your post was from yesterday; so, I was likely too late on my pull request.

--- End quote ---
It is not too late. Why remove the -x c++ option? What error does it fix?


--- Quote from: stahta01 on June 21, 2016, 07:21:08 pm ---I had to add an "/src" sub folder to the HID include to get Wizard created project Windows 1.6.9 to build.
(Linux did NOT need the sub folder). Also had to do several other changes that I forget what they were.

--- End quote ---
It is required on my linux, too. Don't know why you think it is not.

stahta01:
On windows the C code was having some link errors; that was one of the things I tried to fix the error.
It might or might NOT be needed; feel free to skip it.

In Arduino 1.0.5 and Windows; I had to do "-lc -lm -lc" and that got rid of a weird link error.

Tim S.


--- Quote from: oBFusCATed on June 21, 2016, 10:08:47 pm ---
--- Quote from: stahta01 on June 21, 2016, 07:21:08 pm ---Edit: Just noticed your post was from yesterday; so, I was likely too late on my pull request.

--- End quote ---
It is not too late. Why remove the -x c++ option? What error does it fix?


--- Quote from: stahta01 on June 21, 2016, 07:21:08 pm ---I had to add an "/src" sub folder to the HID include to get Wizard created project Windows 1.6.9 to build.
(Linux did NOT need the sub folder). Also had to do several other changes that I forget what they were.

--- End quote ---
It is required on my linux, too. Don't know why you think it is not.

--- End quote ---

oBFusCATed:
I hope you know that the second -lc is redundant. As far as I can see the wizard adds -lm and the compiler should add -lc automagically, but who knows.

p.s. Why are you top posting in the forum too? In an email I can sort of accept it, but in the forum?

stahta01:

--- Quote from: oBFusCATed on June 22, 2016, 09:21:13 am ---I hope you know that the second -lc is redundant. As far as I can see the wizard adds -lm and the compiler should add -lc automagically, but who knows.

p.s. Why are you top posting in the forum too? In an email I can sort of accept it, but in the forum?

--- End quote ---

Sorry, the other forum I post a lot on requires top posting.

It fixes the linking issue on Windows when using the Arduino 1.0.6 AVR compiler. Found the solution in an internet post.

Tim S.

Navigation

[0] Message Index

[*] Previous page

Go to full version