Giter VIP home page Giter VIP logo

Comments (7)

pythonengineer avatar pythonengineer commented on August 15, 2024

This usually means that Interrogate did not run. Can you please provide the full log of you running CMake?

from libpandadna.

FrizzyDoggenpop52 avatar FrizzyDoggenpop52 commented on August 15, 2024

Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.18363.
The system cannot find the path specified.

Interrogating base

The following command return a non-zero value (1): C:\Panda3D-1.11.0\bin\interrogate -D__inline -DCPPPARSER -DP3_INTERROGATE=1 -D__cplusplus -fnames -string -refcount -assert -S"C:\Panda3D-1.11.0/include/parser-inc" -S"C:\Panda3D-1.11.0/include" -I"C:\Panda3D-1.11.0/include" -I"C:\Users\john\Desktop\toontown\libpandadna\src/base" -I"C:\Users\john\Desktop\toontown\libpandadna\src/suit" -I"C:\Users\john\Desktop\toontown\libpandadna\src/components" -srcdir "C:\Users\john\Desktop\toontown\libpandadna\src/base" -oc "C:\Users\john\Desktop\toontown\libpandadna\src/base_igate.cxx" -od "C:\Users\john\Desktop\toontown\libpandadna\src/base.in" -python-native -DCPPPARSER -D__STDC__=1 -D__cplusplus -D__inline -D_X86_ -DWIN32_VC -DWIN32 -module libpandadna -library base -Dvolatile= config_dna.h dnabase.h DNALoader.h DNAStorage.h

libp3interrogatedb found
libp3pandatoolbase found
Configuring done
CMake Error at CMakeLists.txt:176 (add_library):
Cannot find source file:

src/base_igate.cxx

Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
.hpp .hxx .in .txx

from libpandadna.

pythonengineer avatar pythonengineer commented on August 15, 2024

Judging by the "The system cannot find the path specified," your Panda3D installation is missing the interrogate binary. Make sure that your Panda3D has the interrogate.exe utility.

from libpandadna.

FrizzyDoggenpop52 avatar FrizzyDoggenpop52 commented on August 15, 2024

Just checked and interrogate.exe is present in the bin folder.

from libpandadna.

pythonengineer avatar pythonengineer commented on August 15, 2024

In that case, Interrogate will show the reason why it fails (for example, if it detects a syntax issue in the code it will show that), but the output you pasted does not show that. I'm wondering why there is a path error above "Interrogating base", and so I suggest checking all of the paths that CMake is using to make sure that they are valid, as that is likely relevant to your problem.

from libpandadna.

FrizzyDoggenpop52 avatar FrizzyDoggenpop52 commented on August 15, 2024

after tinkering with it I was able to fix the problem. Now when I build the project in visual studio I get this
Severity Code Description Project File Line Suppression State
Error LNK1112 module machine type 'x64' conflicts with target machine type 'x86' libpandadna C:\Users\john\Desktop\libpanda.lib(libpanda.dll) 1

from libpandadna.

pythonengineer avatar pythonengineer commented on August 15, 2024

Inside of Visual Studio, you can create a new Win64 build mode copied off of the Win32 one. This will allow you to build it (you might have to add WIN64 and _M_X64 flags to your CMake as well) by changing the target machine type. I'm going to close this issue since this was not a bug but a support problem.

from libpandadna.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.