<div dir='ltr'><div><font size="3" style="font-size:12pt;" color="#000000">Hi </font><span style="font-size: 12pt;">Clément,</span></div><div><br style="font-size: 12pt;"><font color="#000000" style="font-size: 12pt;">I am using Scilab 6.0.0-beta-2.</font></div><br>PhilAPol<br><div><hr id="stopSpelling">Date: Tue, 19 Jul 2016 06:12:59 -0700<br>From: <a href="/user/SendEmail.jtp?type=node&node=4034382&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a><br>To: <a href="/user/SendEmail.jtp?type=node&node=4034382&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a><br>Subject: Re: Windows 10 VS 2015 example under ilib_build fails pvApiCtx undeclared identifier<br><br>

        Hello PhilAPol,
<br><br>The `pvApiCtx` variable has been introduced to migrate between Scilab 5 and Scilab 6. What Scilab
<br>version are you using ?
<br><br>--
<br>Clément
<br><br>Le jeudi 14 juillet 2016 à 17:37 -0700, PhilAPol a écrit :
<div class="ecxshrinkable-quote"><div class='shrinkable-quote'><br>> I am using Visual Studio Express 2015 with C++ and attempted to build the cpp
<br>> example for a an interface found at page:
<br>> 
<br>> <a href="https://help.scilab.org/docs/5.4.0/fr_FR/ilib_build.html" rel="nofollow" target="_blank" link="external">https://help.scilab.org/docs/5.4.0/fr_FR/ilib_build.html</a><br>> 
<br>> I copied the example and pasted it into SciNotes and saved it into
<br>> cpp_test.sce then executed it. The build produced several errors:
<br>> 
<br>> =========================================
<br>> 
<br>> exec('C:\Users\Admin\Desktop\cpp_test.sce', -1)
<br>>    Generate a gateway file
<br>>    Generate a loader file
<br>>    Generate a Makefile
<br>>    Running the makefile
<br>>    Compilation of ilib_build_cpp.cpp
<br>>    Compilation of ilib_build_cpp.h
<br>>    Compilation of ilib_build_cpp.hxx
<br>>    Compilation of sci_cppfind.cxx
<br>>    Building shared library (be patient)
<br>> 
<br>> !------------- Compile file sci_cppfind.cxx --------------                             
<br>> !
<br>> !                                                                                      
<br>> !
<br>> !        IF NOT EXIST  Release mkdir Release                                                  
<br>> !
<br>> !                                                                                      
<br>> !
<br>> !sci_cppfind.cxx                                                                       
<br>> !
<br>> !                                                                                      
<br>> !
<br>> !sci_cppfind.cxx(27): error C2065: 'pvApiCtx': undeclared identifier                   
<br>> !
<br>> !                                                                                      
<br>> !
<br>> !sci_cppfind.cxx(34): error C2065: 'pvApiCtx': undeclared identifier                   
<br>> !
<br>> !                                                                                      
<br>> !
<br>> !sci_cppfind.cxx(47): error C2065: 'pvApiCtx': undeclared identifier                   
<br>> !
<br>> !                                                                                      
<br>> !
<br>> !sci_cppfind.cxx(54): error C2065: 'pvApiCtx': undeclared identifier                   
<br>> !
<br>> !                                                                                      
<br>> !
<br>> !sci_cppfind.cxx(67): error C2065: 'pvApiCtx': undeclared identifier                   
<br>> !
<br>> !                                                                                      
<br>> !
<br>> !sci_cppfind.cxx(81): error C2065: 'pvApiCtx': undeclared identifier                   
<br>> !
<br>> !                                                                                      
<br>> !
<br>> !sci_cppfind.cxx(95): error C2065: 'pvApiCtx': undeclared identifier                   
<br>> !
<br>> !                                                                                      
<br>> !
<br>> !sci_cppfind.cxx(102): error C2065: 'pvApiCtx': undeclared identifier                  
<br>> !
<br>> !                                                                                      
<br>> !
<br>> !sci_cppfind.cxx(116): warning C4244: '=': conversion from 'unsigned
<br>> __int64' to 'double!
<br>> !', possible loss of data                                                              
<br>> !
<br>> !                                                                                      
<br>> !
<br>> !sci_cppfind.cxx(122): error C2065: 'pvApiCtx': undeclared identifier                  
<br>> !
<br>> !                                                                                      
<br>> !
<br>> !sci_cppfind.cxx(129): error C2065: 'pvApiCtx': undeclared identifier                  
<br>> !
<br>> !                                                                                      
<br>> !
<br>> !NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
<br>> 14.0\VC\BIN!
<br>> !\amd64\cl.EXE"' : return code '0x2'                                                   
<br>> !
<br>> !                                                                                      
<br>> !
<br>> !Stop.                                                                                 
<br>> !
<br>> at line    36 of function dlwCompile   (
<br>> C:\PROGRA~1\SCILAB~1.0-B\modules\dynamic_link\macros\windows\dlwCompile.sci
<br>> line 49 )
<br>> at line    70 of function ilib_compile (
<br>> C:\PROGRA~1\SCILAB~1.0-B\modules\dynamic_link\macros\ilib_compile.sci line
<br>> 86 )
<br>> at line   115 of function ilib_build   (
<br>> C:\PROGRA~1\SCILAB~1.0-B\modules\dynamic_link\macros\ilib_build.sci line 128
<br>> )
<br>> at line   147 of executed file C:\Users\Admin\Desktop\cpp_test.sce
<br>> 
<br>> ilib_compile: Error while executing Makelib.mak.
<br>> 
<br>> ====================================
<br>> 
<br>> I have not configured any environment variables for includes, etc. since I
<br>> it wasn't clear how the environment should be configured - I presumed that
<br>> the SciLab installation with Visual Studio 2015 would set this up properly
<br>> so that the demos would work.
<br>> 
<br>> Please help me find the problem.
<br>> 
<br>> Tnx
<br>> 
<br>> PhilAPol
<br>> 
<br>> 
<br>> 
<br>> 
<br>> 
<br>> --
<br>> View this message in context: <a href="http://mailinglists.scilab.org/Windows-10-VS-2015-example-under-ilib" rel="nofollow" target="_blank" link="external">http://mailinglists.scilab.org/Windows-10-VS-2015-example-under-ilib</a><br>> -build-fails-pvApiCtx-undeclared-identifier-tp4034371.html
<br>> Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
<br>> _______________________________________________
<br>> users mailing list
<br>> <a href="https:///user/SendEmail.jtp?type=node&node=4034380&i=0" rel="nofollow" target="_blank" link="external">[hidden email]</a>
<br>> <a href="http://lists.scilab.org/mailman/listinfo/users" rel="nofollow" target="_blank" link="external">http://lists.scilab.org/mailman/listinfo/users</a></div>_______________________________________________
</div>users mailing list
<br><a href="https:///user/SendEmail.jtp?type=node&node=4034380&i=1" rel="nofollow" target="_blank" link="external">[hidden email]</a>
<br><a href="http://lists.scilab.org/mailman/listinfo/users" rel="nofollow" target="_blank" link="external">http://lists.scilab.org/mailman/listinfo/users</a><br>

        
        
        
        <br>
        <br>
        <hr noshade="noshade" size="1" color="#cccccc">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif;">
                <div style="font-weight:bold;">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://mailinglists.scilab.org/Windows-10-VS-2015-example-under-ilib-build-fails-pvApiCtx-undeclared-identifier-tp4034371p4034380.html" target="_blank" rel="nofollow" link="external">http://mailinglists.scilab.org/Windows-10-VS-2015-example-under-ilib-build-fails-pvApiCtx-undeclared-identifier-tp4034371p4034380.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;line-height:1.5em;">
                
                To unsubscribe from Windows 10 VS 2015 example under ilib_build fails pvApiCtx undeclared identifier, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>
                <a href="http://mailinglists.scilab.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble:email.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble:email.naml-instant_emails%21nabble:email.naml-send_instant_email%21nabble:email.naml" rel="nofollow" style="font:9px serif;" target="_blank" link="external">NAML</a>
        </div></div>                                          </div>


        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://mailinglists.scilab.org/Windows-10-VS-2015-example-under-ilib-build-fails-pvApiCtx-undeclared-identifier-tp4034371p4034382.html">RE: Windows 10 VS 2015 example under ilib_build fails pvApiCtx undeclared identifier</a><br/>
Sent from the <a href="http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html">Scilab users - Mailing Lists Archives mailing list archive</a> at Nabble.com.<br/>