Menu

Building the library, setting up compiler

Help
2010-05-14
2013-04-25
  • Vinayak Narasimhan

    I had followed parts 0 and 1 exactly as mention in the tutorials on the website. But when I run the final build step on the Visual Studio Tutorials: Setting up Visual Studio, I got one error:-
    1>---- Build started: Project: UROP code, Configuration: Debug Win32 ----
    1>Compiling…
    1>uropcode.cpp
    1>Linking…
    1>MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
    1>C:\Users\Vin\Documents\Visual Studio 2008\Projects\UROP code\Debug\UROP code.exe : fatal error LNK1120: 1 unresolved externals
    1>Build log was saved at "file://c:\Users\Vin\Documents\Visual Studio 2008\Projects\UROP code\UROP code\Debug\BuildLog.htm"
    1>UROP code - 2 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    How am I to add the library and header files and set up the compiler correctly?

     
  • angrymop

    angrymop - 2010-05-14

    hi vinayak90

    use this c++ library

    http://www.norgesgade14.dk/
    http://www.norgesgade14.dk/bluetoothlibrary.php

    if you have problems with that library i can help you :-) white the installation.
    write back if something do not run

     
  • Ricardo Homero Rocha Gonzalez

    hi.
    my problem is i cant run the Room Explorer program, the example in the NXT++ page, i did all i know, i solve some problems that my compliler show, i have the visual c++ 2005 express, like in the tutorial but i cant run it, i alredy add the libraries and stuff (.h & .lib files)

     
  • Ricardo Homero Rocha Gonzalez

    I present my error also:

    ========== Generar: 0 correctos, 1 incorrectos, 0 actualizados, 0 omitidos ==========
    1>---- Operación Generar iniciada: proyecto: RoomExplorer VC++ 2005, configuración: Debug Win32 ----
    1>Compilando…
    1>RoomExplorer VC++ 2005 MAIN.cpp
    1>c:\users\ricardo\documents\visual studio 2005\projects\roomexplorer vc++ 2005\roomexplorer vc++ 2005\roomexplorer vc++ 2005 main.cpp(1) : fatal error C1083: No se puede abrir el archivo incluir: 'NXT++.h': No such file or directory
    1>El registro de generación se guardó en el "file://c:\Users\ricardo\Documents\Visual Studio 2005\Projects\RoomExplorer VC++ 2005\RoomExplorer VC++ 2005\Debug\BuildLog.htm"
    1>RoomExplorer VC++ 2005 - 1 errores, 0 advertencias
    ========== Generar: 0 correctos, 1 incorrectos, 0 actualizados, 0 omitidos ==========

    Thanks in advance

     
  • ABG

    ABG - 2011-08-10

    Hi everybody,
    i am new here and with c++. i have a problem building the library. I saw the wiki tutorials and was going step by step . The first point before compiling (C/C++  -> General  -> include) i dont have C/C++ i have only VC++ . . . Still i tried showing the path in VC++, and after compiling i have an error. : Datei "NXT++d.lib" kann nicht geöffnet werden.
    means : The "NXT++d.lib" Folder cant be opened…
    Why?
    What am i missing here.
    i am thankful for every help i can get

     

Log in to post a comment.