To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 2839
2838  |  2840
Subject: 
Winliblnp problems
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Fri, 6 Sep 2002 15:07:38 GMT
Viewed: 
2164 times
  
Hi all,

I recently downloaded winliblnp, the port by Michael Bunk of liblnp to
windows. Exactly what I needed, thanks Michael.

Unfortunately, I'm rather new to VC++ and I can't get it to compile. First,
I tried compiling it on its own - no joy (unresolved symbol _main - it
wanted to be part of an MFC project). So I start an MFC project and import
the stub.c file and tell the preprocessor where to find the include. Again,
no joy. I get the error message

CamStandDlg.obj : error LNK2001: unresolved external symbol "enum
lnp_init_result  __cdecl lnp_init(char *,unsigned short,unsigned
char,unsigned char,int)" (?lnp_init@@YA?AW4lnp_init_result@@PADGEEH@Z)

Anybody know what I'm missing?

TIA

Tim



Message has 2 Replies:
  Re: Winliblnp problems
 
To my knowledge nobody has been succesful with WinLNP! I gave up after a while and now use LNP under Linux. There was some work that somboby did which allowed the deamon to run on Linux but the LNP program could be run under windows. U could do a (...) (22 years ago, 6-Sep-02, to lugnet.robotics.rcx.legos)
  Re: Winliblnp problems
 
From: "Tim Auton" <tim.lugnet@uton.org> Sent: Friday, September 06, 2002 4:07 PM (...) [snip] (...) I do, it's a namespace problem, down to you working in a C++ project and winliblnp being in C. I suggest a quick and dirty hack of creating a (...) (22 years ago, 10-Sep-02, to lugnet.robotics.rcx.legos)

8 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR