Very basic help to get started

10 views
Skip to first unread message

DavePfz

unread,
Feb 28, 2019, 8:06:37 AM2/28/19
to SerialPundit

Hi,

Having come from the embedded (no standard OS) arena, I wanted to get started with PC serial communications by reviewing the various examples. However, I have hit a dead end. What I have done is:

     1. Downloaded the GitHub repository and unzipped it to F:\ a USB thumb drive
     2. Installed Eclipse Oxygen
     3. Imported the projects from the F: drive into Eclipse
     4. In the byte-stream-minary-jar-integrate project, I was able to set up the sp-tty, sp-core, and ui libraries.

At this point the program flags that it cannot find the various com.serialpundit components like core.SerialPlatform and serial.SerialComManager. I suspect that I need to set up something in the project properties, but am not sure what or where.

I am using Windows7 in 64-bit mode. To the best of my knowledge, everything is the latest version.

Since I'm new to both Java and the IDE, I'd appreciate some gentle advice. I feel that once I can get one of the examples to tun, I'll be on my way. So, if there's another example that might be a better starting point, please let me know.

Thanks,
Dave

gup...@gmail.com

unread,
Mar 7, 2019, 8:33:10 PM3/7/19
to SerialPundit
Hi Dave,

Attached screenshots of how to import project in Eclipse IDE. After importing you have to delete sp-core.tty, sp-tty.jar and ui.jar from project build path and then add these 3 jars in your path from prebuilt-release folder you downloaded from github.

Regards,
Rishi

DavePfz

unread,
Mar 8, 2019, 7:36:24 AM3/8/19
to SerialPundit
Hi Rishi,

I didn't find the screenshots. (It may be my misunderstanding of how the groups work.) A friend worked with me to get started, but if you can get them to me, they mat still help.

As I explained, I am at the very basic level. What I did wrong (first pass) was that I tried to include the libraries as zip files. Apparently the IDE is OK with this, but the compiler doesn't know how to handle them.

Thanks,
Dave

rishi gupta

unread,
Mar 8, 2019, 7:40:22 AM3/8/19
to DavePfz, SerialPundit
Right now I don't have that PC from which I sent those screenshots but this should help. https://stackoverflow.com/questions/3280353/how-to-import-a-jar-in-eclipse
- Remove jars (they will point to my computer location, sp-tty.jar,sp-core.jar,ui.jar)
- Add jars sp-tty.jar,sp-core.jar,ui.jar

--
You received this message because you are subscribed to the Google Groups "SerialPundit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to SerialPundit...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/SerialPundit/900199cc-47a1-4227-a770-d31f29c95a90%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

DavePfz

unread,
Mar 8, 2019, 8:47:59 AM3/8/19
to SerialPundit
Hi Rishi,

That's a good resource and I'll keep it in  mind as I go along. It appears that I basically had things right. The big problem, as I mentioned earlier, is that I left the files in ZIP form.

Thanks,
Dave

DavePfz

unread,
Mar 8, 2019, 9:43:05 AM3/8/19
to SerialPundit
Hi Rishi,

OK. I got everything resolved so that the program compiles. However, on running I get:

spcomwinx64.dll: Can't find dependent libraries

I followed various postings on Google and found that it needs Microsoft's "Visual C++ Redistributable for Visual Studio". I noted that my system had the x86 version and I'm running x64. So I've installed both for version 2015. (I noted several different versions by year on my system. Is this causing problems?)

What am I missing?

Thanks,
Dave

DavePfz

unread,
Mar 8, 2019, 1:02:54 PM3/8/19
to SerialPundit
Hello again Rishi,

I really hate to bug you, but I'm getting a headache trying to get SerialPundit to a point where it's usable.

After my other replies, I did a Google search for help and came across the thread:


I've tried everything there and have not been able to get anything other than the error. I did verify the list of DLLs. They are all there except that msvcr120.dll is named msvcr120_clr0400.dll.

I have placed the files you attached (spcom-native.zip) in \WIndows\System32 to no avail. (Even after a reboot.) I have also tried placing these in the project area, both at the root and in the src folder.

I am about at my wits end. Any help appreciated.

Thanks,
Dave

On Friday, March 8, 2019 at 7:40:22 AM UTC-5, rishi gupta wrote:
Reply all
Reply to author
Forward
0 new messages